:root {
  --cream: #F7F2EC;
  --card: #FCFAF7;
  --line: #E6DED3;
  --forest: #141F1A;
  --ink: #2A2420;
  --muted: #8A8078;
  --gold: #C4A06B;
  --tan: #A98862;
  --tan-soft: #E9DCCB;
  --sage: #E4E7DF;
  --ok: #DCEFD9; --ok-ink: #3D6B3F;
  --danger: #9C3D2E;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--cream); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { font-size: 17px; line-height: 1.45; -webkit-text-size-adjust: 100%; }
#app { min-height: 100%; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- Navigation (hell, wie die Vorlage) ------------------------------------ */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(247,242,236,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: calc(env(safe-area-inset-top) + 8px) 16px 8px; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; min-height: 56px; }
.nav .back { font-size: 26px; line-height: 1; padding: 6px 10px; border-radius: 10px; justify-self: start; }
.nav .title { text-align: center; font-weight: 600; font-size: 19px; }
.nav .menu { font-size: 24px; padding: 6px 10px; border-radius: 10px; justify-self: end; }
.nav .menu.txt { font-size: 15px; color: var(--muted); }
.nav .logo { display: flex; align-items: center; gap: 10px; justify-content: center; }
.nav .logo svg { height: 30px; width: auto; }
.nav .logo span { font-family: var(--serif); font-size: 18px; letter-spacing: .08em; }

/* ---- Knöpfe ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--tan-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
.btn-tan { background: var(--tan); color: #fff; }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-line { background: transparent; border: 1px solid var(--line); font-weight: 500; }
.btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; font-size: 18px; border-radius: 18px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* ---- Seiten ----------------------------------------------------------------- */
.page { width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 20px calc(env(safe-area-inset-bottom) + 48px); flex: 1; }
.page.wide { max-width: 900px; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }
h1 { font-size: 28px; line-height: 1.15; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.card { background: var(--card); border-radius: var(--r); padding: 16px 18px; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 24px); transform: translateX(-50%); background: var(--forest); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: 15px; box-shadow: 0 8px 30px rgba(0,0,0,.18); z-index: 20; max-width: 90vw; }
.toast.err { background: var(--danger); }
.empty { padding: 36px 12px; text-align: center; color: var(--muted); }

/* ---- Login ------------------------------------------------------------------ */
.login { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
.login form { width: 100%; max-width: 380px; text-align: center; }
.login .wordmark { width: 230px; height: auto; margin: 0 auto; display: block; }
.login .sub { font-size: 12px; letter-spacing: .2em; color: var(--muted); margin: 10px 0 34px; }
.login input { width: 100%; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 18px; text-align: center; }
.login .err { color: var(--danger); margin-top: 12px; min-height: 22px; }

/* ---- Kundenliste ------------------------------------------------------------ */
.search { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 16px; margin: 6px 0 18px; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 0; font-size: 17px; -webkit-appearance: none; }
.search input:focus { outline: none; }
.list { display: grid; gap: 10px; }
.crow { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 12px 16px; }
.crow .av { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--tan-soft); }
.crow .av svg { width: 100%; height: 100%; display: block; }
.crow .nm { font-weight: 600; font-size: 18px; }
.crow .mt { color: var(--muted); font-size: 14px; }
.crow .nr { color: var(--muted); font-size: 13px; text-align: right; }
.crow .nr b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; background: var(--sage); color: var(--forest); }
.badge.ok { background: var(--ok); color: var(--ok-ink); }

/* ---- Kundenprofil (Vorlage) ------------------------------------------------- */
.phead { display: grid; grid-template-columns: 124px 1fr; gap: 20px; align-items: center; padding: 10px 0 18px; }
.phead .avatar { width: 124px; height: 124px; border-radius: 50%; overflow: hidden; background: var(--tan-soft); }
.phead .avatar svg { width: 100%; height: 100%; display: block; }
.phead .pn { font-size: 26px; font-weight: 600; line-height: 1.15; }
.phead .pm { color: var(--muted); font-size: 15px; margin-top: 4px; line-height: 1.5; }
.phead .btn { margin-top: 12px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 6px 0 20px; overflow-x: auto; }
.tabs button { padding: 12px 14px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--tan); background: var(--card); border-radius: 12px 12px 0 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 12px; padding: 4px 0; }
.kv .k { color: var(--muted); }
.kv .v { color: var(--ink); word-break: break-word; }
.blk { margin-top: 22px; }
.blk h3 { margin-bottom: 6px; }
.notes { display: grid; gap: 10px; }
.notes .n { background: var(--card); border-radius: var(--r); padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.notes .n .d { color: var(--muted); font-size: 13px; margin-top: 4px; }
.notes .n button { color: var(--muted); font-size: 18px; padding: 0 4px; }
.addbtn { margin-top: 18px; }
.sheet { background: var(--card); border-radius: var(--r); padding: 18px; margin-top: 14px; }

/* Bearbeiten */
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 17px; -webkit-appearance: none; }
.field textarea { min-height: 96px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

/* Behandlungsverlauf */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 7px; top: 24px; bottom: 24px; width: 2px; background: var(--tan-soft); }
.tl .t { position: relative; display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; align-items: center; padding: 10px 0 10px 8px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.tl .t::before { content: ''; position: absolute; left: -26px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--card); border: 2px solid var(--tan); transform: translateY(-50%); }
.tl .t .th { width: 86px; height: 86px; border-radius: 12px; overflow: hidden; background: var(--tan-soft); display: grid; place-items: center; }
.tl .t .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl .t .th svg { width: 64px; height: 64px; color: var(--tan); stroke-width: 1.5; }
.tl .t .d { color: var(--muted); font-size: 14px; }
.tl .t .n { font-weight: 600; font-size: 17px; }
.tl .t .s { color: var(--muted); font-size: 14px; }
.tl .t .chev { color: var(--muted); font-size: 22px; padding: 6px; }

/* Behandlungsdokumentation (Formular) */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.areas button { display: grid; justify-items: center; gap: 6px; font-size: 13.5px; color: var(--ink); }
.areas button .c { width: 72px; height: 72px; border-radius: 50%; background: var(--card); border: 2px solid transparent; display: grid; place-items: center; }
.areas button .c svg { width: 58px; height: 58px; color: var(--tan); stroke-width: 1.5; }
.areas button.on .c { border-color: var(--tan); background: var(--tan-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.chip.on { background: var(--tan-soft); border-color: var(--tan); }

/* Fotos */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos .p { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--tan-soft); }
.photos .p img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos .p .d { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); text-align: left; }
.viewer { position: fixed; inset: 0; background: rgba(20,31,26,.96); z-index: 30; display: grid; grid-template-rows: auto 1fr auto; }
.viewer img { max-width: 100%; max-height: 100%; margin: auto; display: block; object-fit: contain; }
.viewer .vb { display: flex; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top) + 12px) 18px 12px; color: var(--cream); }
.viewer .vf { padding: 12px 18px calc(env(safe-area-inset-bottom) + 16px); display: flex; justify-content: center; gap: 12px; }
.viewer .btn-line { color: var(--cream); border-color: rgba(255,255,255,.35); }
.viewer video { max-width: 100%; max-height: 100%; width: 100%; margin: auto; display: block; background: #000; }
.viewer .novidbig { margin: auto; color: var(--cream); font-size: 17px; text-align: center; padding: 24px; }
/* Video-Kacheln im Foto-Raster: Poster oder dunkle Fläche, Abspielzeichen, Dauer */
.photos .p .novid { display: block; width: 100%; height: 100%; background: #2B3B33; }
.photos .p.vid .play { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 16px; display: grid; place-items: center; padding-left: 3px; pointer-events: none; }
.photos .p.vid .len { position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 11.5px; font-variant-numeric: tabular-nums; pointer-events: none; }

/* Dokumente */
.docs { display: grid; gap: 10px; }
.docs .doc { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 14px 16px; width: 100%; text-align: left; }
.docs .doc .di { width: 40px; height: 44px; color: var(--tan); }
.docs .doc .t { font-weight: 600; }
.docs .doc .m { color: var(--muted); font-size: 14px; }

/* Formularauswahl */
.choose { display: grid; gap: 10px; }
.choose button { text-align: left; padding: 16px 18px; background: var(--card); border-radius: var(--r); display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; width: 100%; }
.choose button svg { width: 40px; height: 40px; color: var(--tan); }
.choose button .ct { font-weight: 600; font-size: 17px; }
.choose button .ck { font-size: 13.5px; color: var(--muted); }
.choose button .chev { color: var(--muted); font-size: 22px; }

/* ---- Kundinnen-Modus (Formular ausfüllen) ----------------------------------- */
.cmode { font-size: 18px; }
.cmode .page { max-width: 760px; padding-bottom: 140px; }
.page.mit-leiste { padding-bottom: calc(env(safe-area-inset-bottom) + 140px); } /* Platz für die feste Leiste unten (P31 Stufe 5: Bögen wählen) */
.cmode .intro { margin: 10px 0 26px; }
.cmode .intro h1 { font-family: var(--serif); font-weight: 500; font-size: 32px; }
.cmode .intro .claim { font-family: var(--serif); font-style: italic; color: var(--muted); }
.sec { margin-top: 36px; }
.sec h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 2px; }
.rule-gold { height: 1px; background: var(--gold); opacity: .8; margin: 8px 0 18px; }
.q { padding: 16px 0; border-bottom: 1px solid var(--line); }
.q .ql { display: block; margin-bottom: 10px; }
.q input[type=text], .q input[type=email], .q input[type=tel], .q input[type=date], .q textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 18px; -webkit-appearance: none; }
.q .prefix { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; }
.q .prefix span { padding: 13px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--sage); }
.seg { display: inline-flex; border: 1px solid var(--forest); border-radius: 999px; overflow: hidden; }
.seg button { min-width: 96px; min-height: 48px; padding: 0 18px; font-weight: 600; }
.seg button + button { border-left: 1px solid var(--forest); }
.seg button.on { background: var(--forest); color: var(--cream); }
.q .detail { margin-top: 12px; }
.q .chips .chip { border: 1px solid var(--forest); background: transparent; border-radius: 999px; }
.q .chips .chip.on { background: var(--forest); color: var(--cream); }
.info ul { margin: 6px 0 0; padding-left: 22px; }
.info li { margin: 6px 0; }
.info p { margin: 8px 0; }
.info h4 { margin: 12px 0 2px; font-size: 16px; }
.consent { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 14px 0; }
.consent .box { width: 28px; height: 28px; border: 2px solid var(--forest); border-radius: 7px; margin-top: 2px; display: grid; place-items: center; background: #fff; }
.consent.on .box { background: var(--gold); border-color: var(--gold); }
.consent .box svg { width: 18px; height: 18px; opacity: 0; }
.consent.on .box svg { opacity: 1; }
.consent .req { color: var(--muted); font-size: 14px; display: block; margin-top: 4px; }
.sigwrap { border: 1px solid var(--line); border-radius: 12px; background: #fff; position: relative; }
.sigwrap canvas { display: block; width: 100%; height: 220px; touch-action: none; border-radius: 12px; }
.sigwrap .baseline { position: absolute; left: 32px; right: 32px; bottom: 46px; border-top: 1px dashed var(--line); pointer-events: none; }
.sigwrap .hint { position: absolute; left: 32px; bottom: 18px; color: var(--muted); font-size: 14px; pointer-events: none; }
.sigwrap .clear { position: absolute; right: 12px; top: 12px; }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(247,242,236,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 14px 20px calc(env(safe-area-inset-bottom) + 14px); display: flex; justify-content: center; gap: 12px; z-index: 6; }
.actionbar .btn { min-width: 200px; }
/* Handy: zwei Knöpfe passen nebeneinander – sie teilen sich die Breite, der Text darf umbrechen (nichts wird abgeschnitten) */
@media (max-width: 480px) { .actionbar { padding-left: 16px; padding-right: 16px; } .actionbar .btn { min-width: 0; flex: 1 1 0; white-space: normal; text-align: center; line-height: 1.2; padding: 8px 14px; } .actionbar .btn-line { flex: 0 0 auto; } }
.problems { background: #fff; border: 1px solid var(--danger); border-radius: 12px; padding: 12px 16px; color: var(--danger); margin: 18px 0; }
.done { flex: 1; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.done h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; }
.done .heart { color: var(--gold); font-size: 30px; }
.lock { flex: 1; display: grid; place-items: center; background: var(--forest); color: var(--cream); padding: 40px 20px; }
.lock form { width: 100%; max-width: 360px; text-align: center; }
.lock input { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: var(--cream); font-size: 18px; text-align: center; }
.lock .btn { margin-top: 14px; }
.lock .btn-line { color: var(--cream); border-color: rgba(255,255,255,.35); } /* auf dunklem Grund lesbar (z. B. „Abmelden“ beim Warten auf Freigabe) */
.lock .err { color: #F0B8AC; margin-top: 10px; min-height: 22px; }

/* ---- Menü, Kalender, Termine ---------------------------------------------- */
.nav .home { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--tan); }
.nav .home svg { width: 30px; height: 30px; stroke-width: 1.6; }
.menu-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { background: var(--card); border-radius: 18px; padding: 26px 20px 22px; display: grid; justify-items: center; gap: 4px; text-align: center; min-height: 170px; }
.tile svg { width: 56px; height: 56px; color: var(--tan); stroke-width: 1.4; margin-bottom: 8px; }
.tile .tt { font-weight: 600; font-size: 19px; }
.tile .ts { color: var(--muted); font-size: 14px; }
.appts { display: grid; gap: 8px; }
.appt { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 12px 14px; }
.appt .tm { font-weight: 600; font-size: 17px; line-height: 1.2; }
.appt .du { color: var(--muted); font-size: 13px; font-weight: 500; }
.appt .nm { font-weight: 600; }
.appt .s { color: var(--muted); font-size: 14px; }
.appt .chev { color: var(--muted); font-size: 22px; padding: 6px; }
.week { display: grid; grid-template-columns: 32px repeat(7, 1fr) 32px; gap: 4px; align-items: center; }
.wnav { text-align: center; font-size: 24px; color: var(--muted); }
.wd { display: grid; justify-items: center; gap: 2px; padding: 10px 0 8px; border-radius: 14px; position: relative; }
.wd .wn { font-size: 12px; color: var(--muted); }
.wd .wdd { font-weight: 600; font-size: 18px; }
.wd.today .wdd { color: var(--tan); }
.wd.on { background: var(--forest); color: var(--cream); }
.wd.on .wn, .wd.on .wdd { color: var(--cream); }
.wd .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tan); margin-top: 2px; }
.wd.on .dot { background: var(--gold); }
.cresults { display: grid; gap: 6px; margin-top: 8px; }
.cresults button { text-align: left; background: var(--card); border-radius: 12px; padding: 12px 14px; }
.crow.has-appt .mt b { color: var(--ink); }
.photos .p { display: grid; }
.photos .p .pv { width: 100%; height: 100%; display: block; position: relative; }
.photos .p .px { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; background: rgba(20,31,26,.55); color: #fff; font-size: 14px; display: grid; place-items: center; }

/* Farben der Mitarbeiterinnen */
.dot-c { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; }
.wd .dots { display: inline-flex; gap: 3px; margin-top: 3px; }
.wd .dots .dot { width: 7px; height: 7px; margin: 0; }
.wd.on .dots .dot { opacity: .9; }
.swatches { display: inline-flex; gap: 6px; margin-right: 6px; }
.sw { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset; }
.sw.on { border-color: var(--ink); }

/* Kalender: Modus, Woche, Monat */
.modebar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 16px; }
.seg2 { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg2 a { padding: 8px 18px; border-radius: 999px; font-weight: 500; color: var(--muted); }
.seg2 a.on { background: var(--forest); color: var(--cream); font-weight: 600; }
.wd.we .wn { color: var(--tan); }
.wgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wcol { background: var(--card); border-radius: 12px; padding: 8px 6px 6px; min-height: 260px; display: flex; flex-direction: column; gap: 6px; }
.wcol.we { background: #F1E7DA; }
.wcol.today { outline: 2px solid var(--tan); }
.wh { display: block; text-align: center; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.wh .wn { display: block; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.wcol.we .wh .wn { color: var(--tan); font-weight: 600; }
.wh .wdd { display: block; font-weight: 600; font-size: 15px; }
.wcol.today .wh .wdd { color: var(--tan); }
.mini { display: block; background: #fff; border-radius: 8px; padding: 6px 7px; font-size: 12.5px; line-height: 1.3; }
.mini b { font-weight: 600; }
.mini span { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wempty { flex: 1; }
.wadd { margin-top: auto; text-align: center; color: var(--muted); font-size: 20px; line-height: 1; padding: 6px 0 2px; border-radius: 8px; }
.wadd:active { background: var(--tan-soft); }
.mgrid { display: grid; grid-template-columns: 34px repeat(7, 1fr); gap: 4px; }
.mh { text-align: center; font-size: 12.5px; color: var(--muted); padding: 4px 0; }
.mh.we { color: var(--tan); font-weight: 600; }
.kw { font-size: 11.5px; color: var(--muted); text-align: center; align-self: center; }
.kw.kwh { font-weight: 600; }
.mday { display: block; background: var(--card); border-radius: 10px; min-height: 78px; padding: 6px 6px; text-align: left; }
.mday.we { background: #F1E7DA; }
.mday.out { opacity: .35; }
.mday.today { outline: 2px solid var(--tan); }
.mday .mn { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.mday .mi { display: block; color: #fff; font-size: 11px; border-radius: 5px; padding: 1px 5px; margin-top: 3px; }
.mday .more { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
@media (max-width: 700px) { .wgrid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; } .wcol { padding: 6px 3px; min-height: 200px; } .mini { font-size: 11px; padding: 4px 4px; } .mini span { display: none; } .mday { min-height: 60px; padding: 4px; } .mday .mi { font-size: 10px; } }

/* Ampel und Warnungen */
.st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; margin-right: 8px; vertical-align: middle; }
.st-ok { background: #DCEFD9; color: #2F5F32; }
.st-warn { background: #F8ECC2; color: #7A5A00; }
.st-bad { background: #F4D6D0; color: #8E2F1F; }
.mini.st-ok { background: #EAF5E8; } .mini.st-warn { background: #FBF3D6; } .mini.st-bad { background: #F9E4E0; }
.ampel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amp { min-height: 46px; border-radius: 12px; font-weight: 600; border: 2px solid transparent; opacity: .55; }
.amp.on { opacity: 1; border-color: currentColor; }
.badge.bad { background: #F4D6D0; color: #8E2F1F; }
.badge.warn { background: #F8ECC2; color: #7A5A00; }
.badge.vor { background: var(--tan-soft); color: #7A5A00; }
.tl .t .n .badge { font-weight: 600; white-space: nowrap; }
.phead.warn { background: #FBEDEA; border-radius: 16px; padding: 12px 14px; margin: 4px -14px 14px; }
.crow.warn { background: #FBEDEA; }
.chev .st { margin-right: 6px; }

.hint { background: #FBF3D6; border: 1px solid #E8D48A; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; font-size: 15px; }

.photos .p .d b { display: block; font-weight: 600; }
.photos .p .d { line-height: 1.25; padding: 6px 8px 5px; }

footer.powered { text-align: center; font-size: 11.5px; letter-spacing: .06em; color: var(--muted); opacity: .7; padding: 8px 16px calc(env(safe-area-inset-bottom) + 12px); margin-top: auto; }
.cmode footer.powered, .lock ~ footer.powered, .done ~ footer.powered { display: none; }

/* Kalender: eigene / Kolleginnen */
.calsec { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15px; margin: 22px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.calsec.fremd { color: var(--muted); }
.wgrid.fremd .wcol, .mgrid.fremd .mday { background: #F3EEE7; }
.wgrid.fremd .wcol.we, .mgrid.fremd .mday.we { background: #EBE1D3; }
.mini.fremd, .appt.fremd { opacity: .85; }
.appt.fremd .nm { font-weight: 500; }
/* Demo-Banner: nach Anmeldung nach oben schieben */
.demo-banner { transition: transform .45s ease, opacity .45s ease; }
body.angemeldet .demo-banner { transform: translateY(-100%); opacity: 0; pointer-events: none; }
body.angemeldet { padding-top: 0 !important; }
body.angemeldet .nav { top: 0 !important; }
.field label.btn { font-size: 17px; color: var(--ink); }
.field label.btn-tan { color: #fff; font-size: 18px; }

.choose button.locked { opacity: .45; filter: grayscale(1); cursor: not-allowed; }
.choose button .badge { vertical-align: middle; margin-left: 6px; }

/* Preisliste */
.prow { display: grid; grid-template-columns: 22px minmax(150px, 1fr) 112px 70px 60px 66px 34px 28px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.prow input, .prow select { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }
.prow .px2 { color: var(--muted); font-size: 18px; text-align: center; }
.prow.ph { font-size: 13px; color: var(--muted); }
.prow.ro { padding: 10px 0; }
.prow.ro svg { width: 26px; height: 26px; vertical-align: middle; margin-right: 8px; color: var(--tan); }
.prow.ro b { text-align: right; }
.chart { width: 100%; height: auto; display: block; }
.q.dep-off { opacity: .4; pointer-events: none; }

/* PIN-Sperrbildschirm */
.pindots { display: flex; justify-content: center; gap: 18px; margin: 10px 0 26px; }
.pindots span { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); }
.pindots span.on { background: var(--gold); border-color: var(--gold); }
.pinpad { display: grid; grid-template-columns: repeat(3, 84px); gap: 14px; justify-content: center; }
.pinpad button { width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--cream); font-size: 30px; font-weight: 500; }
.pinpad button:active { background: rgba(255,255,255,.25); }

.pinfield { -webkit-text-security: disc; letter-spacing: .3em; font-size: 22px; }

.langbar { margin: 0; } .langbar .chip { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.cmode .langbar { margin: 0 0 14px; justify-content: flex-end; }

.syncbar { display: flex; justify-content: center; margin: -4px 0 6px; }
.syncpill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 3px 10px; border-radius: 999px; background: var(--card); }
.syncpill .dot-c { width: 8px; height: 8px; margin: 0; }
.syncpill.on .dot-c { background: #7A9E7E; } .syncpill.wait .dot-c { background: #C4A06B; } .syncpill.off .dot-c { background: #9C3D2E; }
.syncpill.off { color: var(--danger); font-weight: 600; }

/* Auswahl-Overlay (Behandlung, PIN) */
.picker { position: fixed; inset: 0; background: rgba(20,31,26,.55); display: grid; place-items: center; z-index: 40; padding: 20px; }
.pbox { background: var(--cream); border-radius: 18px; width: 100%; max-width: 460px; max-height: 80vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.pbox.dark { background: var(--forest); padding: 20px; }
.phead2 { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.phead2 b { text-align: center; font-size: 17px; }
.plist { overflow-y: auto; padding: 10px 12px 16px; display: grid; gap: 8px; }
.choose-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; text-align: left; background: var(--card); border-radius: 12px; padding: 12px 14px; width: 100%; }
.choose-row svg { width: 34px; height: 34px; color: var(--tan); }
.choose-row .ct { font-weight: 600; }
.choose-row .ck { font-size: 13px; color: var(--muted); }
.choose-row .chev { color: var(--muted); font-size: 20px; }
.pick { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 17px; text-align: left; min-height: 48px; }
.pick .chev { color: var(--muted); font-size: 20px; }
.docs .doc { grid-template-columns: 44px 1fr auto; }
.docs .doc .x2 { color: var(--muted); font-size: 17px; padding: 4px 8px; margin-left: 10px; }
.docs .doc > span:last-of-type { display: inline-flex; align-items: center; }

/* Mehrere Behandlungen im Termin */
.behchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.behchips .bchip { display: inline-flex; align-items: center; gap: 6px; background: var(--tan-soft); border-radius: 999px; padding: 6px 8px 6px 10px; font-size: 15px; }
.behchips .bchip svg { width: 22px; height: 22px; color: var(--tan); }
.behchips .bchip button { color: var(--muted); font-size: 15px; padding: 0 4px; }
.choose-row.gewaehlt { outline: 2px solid var(--tan); }

.lsec { font-size: 17px; margin: 18px 0 8px; display: flex; align-items: baseline; gap: 8px; }
.lsec:first-of-type { margin-top: 4px; }

.telrow { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 8px; }
.telrow select, .telrow input { width: 100%; }
.q .prefix select { padding: 13px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--sage); font-size: 17px; max-width: 46vw; }

/* Preisliste: Bereiche und Verschieben */
.pgrp { margin: 18px 0 6px; }
.pgh { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--tan-soft); }
.pgh svg { width: 26px; height: 26px; color: var(--tan); }
.pgrp.zusatz { background: #F2F4EF; border-radius: 14px; padding: 12px 12px 6px; }
.pgrp.zusatz .pgh { border-bottom-color: #C9D2C4; }
.pgrp.zusatz .pgh svg { color: #7A9E7E; }
.pgrp.zusatz .prow:not(.ph) { background: rgba(255,255,255,.5); border-radius: 10px; }
.prow .grip { color: var(--muted); cursor: grab; text-align: center; font-size: 15px; }
.prow[data-row] { touch-action: pan-y; }
.prow.drag { touch-action: none; }
.prow.drag { opacity: .5; }
.prow.over { outline: 2px dashed var(--tan); outline-offset: 2px; }
.prow.ro { grid-template-columns: 1fr 80px 90px; }
@media (max-width: 640px) { .prow { grid-template-columns: 16px minmax(96px, 1fr) 76px 52px 44px 52px 28px 20px; gap: 5px; } .prow.ro { grid-template-columns: 1fr 64px 76px; } }

.pgh .grow { flex: 1; }
.pgh .btn { font-size: 13px; min-height: 30px; padding: 0 12px; }
.pbox .field label { font-size: 14px; color: var(--muted); }
.pbox .field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 17px; }

.pbox .seg { width: 100%; }
.pbox .seg button { flex: 1; min-width: 0; }

/* Pflicht-Nachfrage nach dem Termin */
.picker.pflicht { background: rgba(20,31,26,.72); z-index: 60; }
.picker.pflicht .ampel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.picker.pflicht .amp { min-height: 56px; font-size: 15px; }

.fotoknoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fotoknoepfe .btn { justify-content: center; }

/* Update-Hinweis */
.picker.update { z-index: 70; }
.upnotes { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
/* Zeitraster (Tag/Woche): Zeitachse links, Termine als Blöcke nach Dauer, Lücken dazwischen sichtbar */
.tkopf { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); gap: 0 3px; margin-top: 10px; }
.tkopf .wh { grid-column: span 1; border-bottom: 0; margin: 0; padding: 4px 0 6px; }
.tkopf .wh:first-child { grid-column: 2; }
.tkopf .wh.today .wdd { color: var(--tan); } .tkopf .wh.we .wn { color: var(--tan); font-weight: 600; }
.traster { display: grid; grid-template-columns: 44px repeat(7, minmax(0, 1fr)); gap: 0 3px; align-items: start; margin-bottom: 14px; }
.traster.tag { grid-template-columns: 48px 1fr; }
.tachse { position: relative; }
.tachse .tl { position: absolute; right: 6px; transform: translateY(-50%); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tachse .tl.half { font-size: 10.5px; opacity: .8; } .tachse .tl.ende { opacity: .7; }
.tcol { position: relative; background: var(--card); border-radius: 10px; overflow: hidden; cursor: pointer; }
.tcol.we { background: #F1E7DA; } .tcol.today { outline: 2px solid var(--tan); outline-offset: -2px; }
.tcol .tline { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid rgba(0,0,0,.08); pointer-events: none; }
.tcol .tline.half { border-top-style: dashed; border-top-color: rgba(0,0,0,.05); }
.tb { position: absolute; display: block; box-sizing: border-box; background: #fff; border-radius: 7px; border-left: 4px solid var(--tan); padding: 3px 4px 3px 5px; font-size: 11.5px; line-height: 1.25; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tb b { font-weight: 700; font-size: 11px; } .tb .nm { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb .s { display: block; color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb.kurz { padding-top: 2px; } .tb.kurz .nm { display: inline; }
.traster:not(.tag) .tb:not(.kurz) .nm { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.15; word-break: break-word; } /* schmale Wochenspalten: Name darf zweizeilig umbrechen statt „Cl…“ */
.tb.fremd { opacity: .8; background: #FBF8F3; } .tb .st { position: absolute; right: 4px; top: 3px; }
.tb.st-ok { background: #EAF5E8; } .tb.st-warn { background: #FBF3D6; } .tb.st-bad { background: #F9E4E0; }
.traster.tag .tb { font-size: 14px; padding: 6px 10px; border-left-width: 5px; } .traster.tag .tb b { font-size: 14px; } .traster.tag .tb .s { font-size: 12.5px; }
.tcol .gap { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.tcol .gap span { font-size: 10px; color: var(--muted); background: rgba(255,255,255,.55); padding: 1px 6px; border-radius: 999px; white-space: nowrap; }
.traster.tag .gap span { font-size: 12.5px; padding: 3px 10px; }
.tcol .now { position: absolute; left: 0; right: 0; height: 0; border-top: 2px solid #C0392B; pointer-events: none; z-index: 2; }
.tcol .now::before { content: ''; position: absolute; left: -1px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: #C0392B; }
/* Bereichsfarben: Preisliste (Gruppenkopf) und Farbwahl im Bereichsdialog; im Kalender der Streifen links am Termin */
.pgrp[style*="--bf"] .pgh { border-left: 6px solid var(--bf); padding-left: 10px; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--bf) 45%, transparent), transparent 70%); }
.bfdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.08); }
.farben { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fchip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border-radius: 999px; border: 1.5px solid var(--tan-soft); background: #fff; font-size: 14px; cursor: pointer; }
.fchip span { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); } .fchip.on { border-color: var(--forest, #22312A); box-shadow: 0 0 0 2px rgba(34,49,42,.15); } .fchip.belegt { opacity: .45; cursor: not-allowed; } .fchip small { color: var(--muted); }
.tb .mdot { position: absolute; right: 5px; bottom: 5px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
/* Bereiche verschieben: Griff im Kopf, gezogener Bereich halbtransparent, Ziel gestrichelt umrandet */
.pgh .ggrip { color: var(--muted); cursor: grab; font-size: 17px; padding: 4px 2px; touch-action: none; }
.pgh[data-grpkopf] { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pgrp.drag { opacity: .5; }
.pgrp.over { outline: 2px dashed var(--tan); outline-offset: 4px; border-radius: 10px; }
body.bzieht { touch-action: none; }

/* Info-Knopf je Behandlung und Info-Fenster (Kurze Info, Was ist …?, Vor/Nach der Behandlung) */
.pinfo { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--tan); background: #fff; color: var(--tan); font: italic 700 15px Georgia, 'Times New Roman', serif; display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.pinfo.voll { background: var(--tan); color: #fff; }
.prow.ro .pinfo { width: 24px; height: 24px; font-size: 13px; margin-left: 6px; vertical-align: middle; }
.ibox { max-width: 640px; }
.ikachel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; }
.ikachel label { display: block; font-weight: 600; margin: 0 0 6px; }
.ikachel textarea { width: 100%; border: 0; padding: 0; font: inherit; font-size: 16px; background: transparent; resize: vertical; min-height: 2.6em; outline: none; }
.ikachel .itext { white-space: pre-wrap; line-height: 1.45; }
/* Info-Fenster: Überschrift (Frage) änderbar, Auswahl gemerkter Fragen */
.ikopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.ikopf label { margin: 0; }
.qbtn { background: none; border: 0; color: var(--tan); font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; padding: 4px 0; }
.qpanel { background: var(--cream, #FBF7F2); border: 1px dashed var(--tan-soft); border-radius: 12px; padding: 10px; margin: 0 0 10px; }
.qpanel input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; background: #fff; }
.qchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qchip { display: inline-flex; align-items: center; border: 1px solid var(--tan-soft); border-radius: 999px; background: #fff; font-size: 13.5px; overflow: hidden; }
.qchip > button, button.qchip { background: none; border: 0; padding: 6px 10px; cursor: pointer; font: inherit; color: inherit; }
button.qchip.std small { color: var(--muted); margin-left: 4px; }
.qchip .qdel { padding: 6px 9px 6px 2px; color: var(--muted); }
/* Kacheln entfernen */
.ikopf-r { display: inline-flex; align-items: center; gap: 10px; }
.kdel { background: none; border: 0; color: var(--muted); font-size: 16px; cursor: pointer; padding: 4px 2px; line-height: 1; }
.kdel:hover { color: #A0392B; }
/* Kalender: Umschalter Meine/Alle Termine unter Tag/Woche/Monat */
.modebar.ansichtbar { margin-top: -6px; }
.modebar.ansichtbar .seg2 a { min-width: 128px; }
/* Team: Gruppen (Läden) und Auswahl von Gruppe/Rolle je Person */
.glist { display: flex; flex-direction: column; gap: 8px; }
.grow2 { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; flex-wrap: wrap; }
.grow2 .grow { flex: 1; }
.tsel { margin-top: 8px; gap: 8px; flex-wrap: wrap; }
.tsel select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14.5px; max-width: 100%; }
.kalgruppe { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; margin-left: 8px; }
#gNeu { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; }
/* Paket (aus der Admin-Console) auf der Team-Seite */
.paketkarte .pnutz { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.paketkarte.ueber { border: 1.5px solid #D9A441; }
/* Warnung Paket/Speicher auf der Startseite (Hauptinhaberin) */
.paketwarn { display: flex; gap: 12px; align-items: flex-start; background: #FFF6DA; border: 1.5px solid #E8C25A; color: #5A4500; border-radius: 16px; padding: 12px 14px; margin: 0 0 16px; text-decoration: none; line-height: 1.4; }
.paketwarn .pw-i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #F2C230; color: #3A2C00; font-weight: 800; display: grid; place-items: center; }
/* Online-Shop-Einstellungen */
.ozeile { display: grid; grid-template-columns: 130px 1fr; gap: 6px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ozeit.zwei { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 2px; } /* 2. Zeit (optional) unter der ersten – nicht mehr gequetscht */
.ozeit.zwei input { font-size: 14px; padding: 6px; }
.ozeile:last-child { border-bottom: 0; }
.otag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.otag input { width: 20px; height: 20px; accent-color: var(--forest, #22312A); }
.ozeit { display: inline-flex; align-items: center; gap: 6px; } .ozeit input { padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; }
.ozeit.klein input { font-size: 14px; padding: 6px; }
@media (max-width: 640px) { .ozeile { grid-template-columns: 1fr; } .ozeit.zwei { grid-column: 1; } }
.zurow { display: grid; grid-template-columns: 1fr auto 1fr 1.4fr 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.zurow input { padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 15px; min-width: 0; }
@media (max-width: 640px) { .zurow { grid-template-columns: 1fr auto 1fr 32px; } .zurow [data-grund] { grid-column: 1 / 4; } }
.shlogo { display: inline-flex; align-items: center; justify-content: center; min-width: 80px; height: 56px; padding: 4px 8px; border: 1px dashed var(--line); border-radius: 10px; background: #fff; }
.shlogo img { max-height: 48px; max-width: 160px; }
.tb .onl { font-size: 10px; margin-left: 3px; }
.onlneu { border: 1.5px solid #D9C3A0; }
.onlneu .appt { grid-template-columns: auto 1fr auto; gap: 18px; } /* „Fr, 16.10.2026 – 10:00“ in einer Zeile, Name rückt nach rechts */
.onlneu .appt .tm { white-space: nowrap; font-size: 15px; line-height: 1.25; }
/* Produktbild-Kachel im Info-Fenster der Preisliste */
.pbkachel { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin: 0 0 14px; background: #fff; }
.pbv { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #f4ece6; }
.pbv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pbstd { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(59, 44, 39, .55); }
.pbstd svg { width: 48px; height: 48px; }
/* Bereich bearbeiten: Bild im Online-Shop (Symbol oder Foto) */
.brbild { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.brvor { width: 72px; height: 72px; border-radius: 12px; background: #F4E6DD; color: #A0634F; display: grid; place-items: center; overflow: hidden; }
.brvor svg { width: 46px; height: 46px; } .brvor img { width: 100%; height: 100%; object-fit: cover; }
.brsym { display: flex; flex-wrap: wrap; gap: 6px; }
.brs { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: #A0634F; display: grid; place-items: center; padding: 0; font-size: 11px; font-weight: 600; }
.brs svg { width: 28px; height: 28px; }
.brs.on { border-color: var(--forest, #22312A); box-shadow: 0 0 0 1.5px var(--forest, #22312A) inset; background: #F4E6DD; }

/* Elemente mit hidden-Attribut immer ausblenden (auch wenn eine Klasse display setzt) */
[hidden] { display: none !important; }
/* Zeit blocken: geblockte Zeiten im Kalender (schraffiert) */
.blockbtn { margin-top: 10px; }
.tblk { position: absolute; left: 0; right: 0; z-index: 1; border: 1px dashed #B9AFA7; border-radius: 8px; padding: 4px 8px; text-align: left; color: #6E625B; font-size: 12px; line-height: 1.25; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(185, 175, 167, .18) 0 7px, rgba(185, 175, 167, .06) 7px 14px), #F4F1EE; cursor: pointer; }
.tblk { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.tblk b { display: block; font-weight: 600; color: #5A4F49; } .tblk span { display: block; } .tblk .wer { font-style: italic; padding: 0; border: 0; border-radius: 0; background: none; cursor: inherit; } /* nicht wie der Knopf .wer der Personenwahl */
.tblk.ganz { opacity: .9; } .tblk.fremd { opacity: .7; }
.mi.blk { background: #DCD5CF !important; color: #5A4F49; }
/* stornierte Termine */
.st-storno { opacity: .55; } .tb.st-storno b, .tb.st-storno .nm, .mini.st-storno { text-decoration: line-through; }
.storno-info { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: #F4F1EE; border: 1px dashed #B9AFA7; color: #5A4F49; }

/* Anmeldeseite: Name des Studios */
.wordmark-text { font-family: Georgia, "Times New Roman", serif; font-size: 34px; color: #324d2a; text-align: center; margin: 10px 0 4px; letter-spacing: .02em; }
/* Produkte & Lager */
.lgrow { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "bild tx best" "akt akt akt"; gap: 6px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.lgrow:first-of-type { border-top: 0; }
.lgbild { grid-area: bild; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: #F4E6DD; color: #A0634F; display: grid; place-items: center; }
.lgbild img { width: 100%; height: 100%; object-fit: cover; } .lgbild svg { width: 32px; height: 32px; }
.lgtx { grid-area: tx; min-width: 0; } .lgtx b { display: block; } .lgtx small { color: var(--muted, #8a8580); }
.lgbest { grid-area: best; text-align: right; } .lgbest b { display: block; font-size: 22px; line-height: 1; } .lgbest small { color: var(--muted, #8a8580); font-size: 11px; }
.lgrow.knapp .lgbest b, .lgrow.knapp .lgbest small { color: var(--danger, #b3261e); }
.lgakt { grid-area: akt; display: flex; gap: 6px; flex-wrap: wrap; }
.lgv { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.lgv:first-of-type { border-top: 0; } .lgv .plus { color: #2e7d32; } .lgv .minus { color: #8a3b2e; }
.paketwarn.info .pw-i { background: #F4E6DD; }

/* Menü: große Kacheln über beide Spalten */
.tile.breit { grid-column: 1 / -1; }

/* Kachel für nicht gebuchte Zusätze (z. B. Online-Shop) */
.tile.aus { opacity: .55; filter: grayscale(1); cursor: not-allowed; }
.tile.aus .ts { font-weight: 600; }
/* Online-Shop: Prüfliste vor dem Freischalten; Kachel gedimmt, solange der Shop nicht freigeschaltet ist (bleibt öffnbar) */
.pruefliste { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 4px; }
.pz { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #FBF3EC; border: 1px solid #F0D9C7; font-size: 14px; }
.pz.ok { background: #F3F7F1; border-color: #D9E6D3; color: var(--muted, #6d6760); }
.pz .pzi { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #F0D9C7; color: #8a3b2e; flex: none; }
.pz.ok .pzi { background: #D9E6D3; color: #2e7d32; }
.pz .btn { margin-left: auto; }
.tile.grau { opacity: .6; }
.tile.grau .ts { font-weight: 600; }
.seg button:disabled { opacity: .4; }

/* Lager: Bestand je Geschäft */
.lgtx .lgorte { display: block; margin-top: 3px; } .lgtx .lgorte span { white-space: nowrap; } .lgtx .lgorte b { display: inline; color: var(--text, #2b2420); } .lgtx .lgorte .knapp, .lgtx .lgorte .knapp b { color: var(--danger, #b3261e); }

/* Kundinnen-Import: Vorschau */
.tablewrap { overflow-x: auto; }
.kitab { width: 100%; border-collapse: collapse; font-size: 13px; } .kitab th, .kitab td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; } .kitab th { color: var(--muted); font-weight: 600; }

/* Leistungsliste: Wer bietet das an? */
.pwer { font-size: 12px; font-weight: 600; padding: 6px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pwer.teil { background: #F3ECE4; border-color: #D9C3A0; color: var(--text, #2b2420); }
.pwpunkt { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; }
.pwalle { font-weight: 700; }

/* Hilfe & Erste Schritte */
.ersteschritte { display: flex; align-items: center; gap: 12px; border: 1.5px solid #D9C3A0; margin-bottom: 14px; }
.ersteschritte .es-l { flex: 1; display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; min-width: 0; }
.es-balken { display: block; height: 6px; border-radius: 99px; background: #EFE6DC; overflow: hidden; margin-top: 4px; } .es-balken span { display: block; height: 100%; background: var(--tan, #A9845C); border-radius: 99px; }
details.hilfe { border-top: 1px solid var(--line); padding: 10px 0; } details.hilfe:first-of-type { border-top: 0; }
details.hilfe summary { font-weight: 600; cursor: pointer; list-style: none; } details.hilfe summary::after { content: '›'; float: right; color: var(--muted); transition: transform .2s; } details.hilfe[open] summary::after { transform: rotate(90deg); }
details.hilfe p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
#fbText { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; resize: vertical; }

/* Dokumente & Fragebögen */
.flist { display: flex; flex-direction: column; } .frow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); } .frow:first-child { border-top: 0; } .frow.aus { opacity: .55; }
.fsec .fsec-titel { flex: 1; font-weight: 700; font-size: 17px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.fed { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.fed-kopf { display: flex; align-items: center; gap: 10px; } .fed select, .fed input[type=text], .fed textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.fed-kopf select { width: auto; } .fed .px2 { font-size: 16px; }

/* Produkt-Kategorien in der Produkt- & Lagerliste */
.lgkatsym { width: 34px; height: 34px; border-radius: 10px; background: #F4E6DD; color: #A0634F; display: grid; place-items: center; flex: none; overflow: hidden; } .lgkatsym svg { width: 22px; height: 22px; } .lgkatsym img { width: 100%; height: 100%; object-fit: cover; }
/* Bestellte Ware: Selbstabholer und Lieferungen */
details.bw { border-top: 1px solid var(--line); padding: 10px 0 4px; margin-top: 8px; } details.bw summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-size: 16px; }
details.bw summary::after { content: '›'; margin-left: auto; color: var(--muted); transition: transform .2s; } details.bw[open] summary::after { transform: rotate(90deg); }
.bwz { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: #EFE6DC; font-size: 13px; font-weight: 700; } .bwz.warnbg { background: #F2C94C; color: #4a3500; }
details.bw .sheet.abhol { margin-top: 10px; box-shadow: none; border: 1px solid var(--line); }
/* Kachel: gelbes Warndreieck mit Zahl */
.tile { position: relative; } .warnzahl { position: absolute; top: 10px; right: 12px; width: 34px; height: 31px; display: grid; place-items: center; }
.warnzahl svg { position: absolute; inset: 0; width: 100%; height: 100%; } .warnzahl svg path { fill: #F2C94C; stroke: #B8860B; stroke-width: 1.2; stroke-linejoin: round; }
.warnzahl b { position: relative; top: 4px; font-size: 13px; color: #3d2d00; }
/* Produktfrage am Terminende, Kalendermarke, Käufe in der Akte */
.prodfrage { border: 1.5px solid #D9C3A0; } .prodmark { color: #8a5a2b !important; }
.kaeufe { display: flex; flex-direction: column; } .kauf { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); align-items: start; } .kauf:first-child { border-top: 0; }

/* ---- Online-Shop: Bezahlung und Versand (1.23.0) ---- */
.seg.seg3 button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1.15; padding-top: 8px; padding-bottom: 8px; }
.seg.seg3 button b { font-weight: 600; }
.seg.seg3 button span { font-size: 12px; opacity: .72; }
.seg button.aus { opacity: .45; }
.zmErkl { margin-top: 10px; font-size: 14px; line-height: 1.45; animation: zmAuf .28s ease; }
@keyframes zmAuf { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .zmErkl { animation: none; } }
.zanb { margin-top: 10px; }
.gedimmt { opacity: .55; }
.seg.seg3 button b { font-size: 13.5px; }
.seg.seg3 button span { font-size: 11.5px; }
.picker [data-ef] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; white-space: normal; height: auto; min-height: 50px; padding: 10px 14px; line-height: 1.25; text-align: center; }
.picker [data-ef] .small { font-weight: 400; opacity: .85; }
/* Hinweis: neue Adresse des Kundenbuchs */
.sheet.umzug { border: 1.5px solid #C4A06B; background: #FFF9EF; margin-bottom: 16px; }

/* Online-Shop: Adresse oben im Status */
.shadr { padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); } .shadr a { color: inherit; } details.shcode { margin-top: 10px; } details.shcode summary { cursor: pointer; color: var(--muted); }

/* Anmeldeseite: Kundenbuch-Logo, darunter „Dein Kundenbuch – <Studio>“ */
.login-logo { display: block; width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 26px; }
.login-titel { font-family: var(--serif, Georgia, serif); font-size: 30px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink, #1f2a1d); text-align: center; }
.login .sub { min-height: 1.4em; }

/* Kopfzeile: Kundenbuch-Logo */
.nav .logo .nav-logo { width: 26px; height: 26px; border-radius: 7px; vertical-align: middle; margin-right: 6px; }

/* Erste Schritte: ganze Zeile antippbar; Hinführen mit Umrandung (orange = fehlt noch, grün = erledigt) */
.pz.pz-link { cursor: pointer; }
.pz .pz-pfeil { margin-left: auto; font-size: 22px; line-height: 1; color: var(--muted, #8a7f78); padding: 0 4px; }
.markiert-offen, .markiert-ok { outline: 3px solid #F5A524; outline-offset: 5px; border-radius: 14px; animation: markPuls 1.1s ease-in-out 3; transition: outline-color .6s ease; }
.markiert-ok { outline-color: #46a758; animation-name: markPulsOk; }
@keyframes markPuls { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0); } 50% { box-shadow: 0 0 0 8px rgba(245, 165, 36, .22); } }
@keyframes markPulsOk { 0%, 100% { box-shadow: 0 0 0 0 rgba(70, 167, 88, 0); } 50% { box-shadow: 0 0 0 8px rgba(70, 167, 88, .2); } }
@media (prefers-reduced-motion: reduce) { .markiert-offen, .markiert-ok { animation: none; } }


/* ===== Handy: nichts ragt mehr seitlich aus dem Bild ===== */
@media (max-width: 640px) {
  /* Leistungs- & Paketliste zweizeilig: oben Behandlung und ✕, darunter Bereich, Preis, Zeit, Wer? und i */
  .prow:not(.ro) { grid-template-columns: 16px minmax(0, 1fr) 54px 46px 54px 30px; grid-template-areas: "grip name name name name weg" ". ber preis zeit wer info"; gap: 6px; }
  .prow:not(.ro) > :nth-child(1) { grid-area: grip; }
  .prow:not(.ro) > :nth-child(2) { grid-area: name; }
  .prow:not(.ro) > :nth-child(3) { grid-area: ber; }
  .prow:not(.ro) > :nth-child(4) { grid-area: preis; }
  .prow:not(.ro) > :nth-child(5) { grid-area: zeit; }
  .prow:not(.ro) > :nth-child(6) { grid-area: wer; }
  .prow:not(.ro) > :nth-child(7) { grid-area: info; }
  .prow:not(.ro) > :nth-child(8) { grid-area: weg; }
  .prow:not(.ro) input, .prow:not(.ro) select { min-width: 0; padding-left: 8px; padding-right: 8px; }
  .prow.ph { row-gap: 0; }
  /* Team: Farben und Knöpfe unter dem Namen statt daneben */
  .crow.tm { grid-template-columns: 1fr !important; }
  .crow.tm > .row { flex-wrap: wrap; justify-content: flex-start; }
  .crow.tm .swatches { flex-wrap: wrap; }
  /* Kalender: Ansicht-Schalter und Geschäftsauswahl brechen um */
  .modebar.ansichtbar { flex-wrap: wrap; }
  .kalgruppe { margin-left: 0; max-width: 100%; }
}
/* lange Knopftexte (z. B. „… als Produkt übernehmen“) umbrechen statt über den Rand zu laufen */
.hint .btn { white-space: normal; height: auto; text-align: left; max-width: 100%; }
/* Terminblöcke im Kalender schneiden ihren Text ab, statt über den Rand zu ragen */
.tb { overflow: hidden; }

/* ===== Tablet/Computer: Seiten über die ganze Breite – Anordnung wie auf dem Handy, nur breiter ===== */
@media (min-width: 700px) {
  .page, .page.wide { max-width: 1400px; padding-left: 28px; padding-right: 28px; }
  .cmode .page { max-width: 760px; } /* Formulare, die Kundinnen ausfüllen, bleiben gut lesbar schmal */
}

/* Anmeldung: „oder“ und „Mit Passkey anmelden“ */
.login-oder { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--muted); font-size: 13px; }
.login-oder::before, .login-oder::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pk-login { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pk-login svg { width: 24px; height: 24px; flex: none; }

/* Zurückwischen: eine Kopie der Seite folgt dem Finger, darunter die vorige Seite */
.wisch-unter, .wisch-kopie { position: fixed !important; inset: 0; overflow: hidden; pointer-events: none; will-change: transform; background: var(--cream); }
.wisch-unter { z-index: 9990; }
.wisch-dunkel { position: fixed; inset: 0; z-index: 9991; background: #000; pointer-events: none; will-change: opacity; }
.wisch-kopie { z-index: 9992; box-shadow: -12px 0 32px rgba(40, 25, 15, .18); }
.wisch-unter.app-ebene > *, .wisch-kopie.app-ebene > * { flex: none; }
.wisch-unter.app-ebene, .wisch-kopie.app-ebene { display: flex; flex-direction: column; }

/* Foto zuschneiden: Ausschnitt im Rahmen wählen */
.picker.zuschnitt { z-index: 80; }
.zs-flaeche { display: grid; place-items: center; padding: 18px; background: #2B2420; }
.zs-rahmen { position: relative; overflow: hidden; border-radius: 14px; touch-action: none; cursor: grab; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); -webkit-user-select: none; user-select: none; }
.zs-rahmen:active { cursor: grabbing; }
.zs-rahmen img { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; pointer-events: none; }
.zs-unten { padding: 12px 16px 16px; }
.zs-zoom { width: 100%; accent-color: var(--tan, #A9875F); }
.zs-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* Kalender: Blättern per Wischen */
.kalwisch { touch-action: pan-y; }
.kalwisch.rein-rechts { animation: kalRechts .22s cubic-bezier(.2, .75, .3, 1); }
.kalwisch.rein-links { animation: kalLinks .22s cubic-bezier(.2, .75, .3, 1); }
@keyframes kalRechts { from { transform: translateX(30%); opacity: 0; } }
@keyframes kalLinks { from { transform: translateX(-30%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kalwisch.rein-rechts, .kalwisch.rein-links { animation: none; } }
/* Neuer Termin: erst wählen, wer kommt */
.stack.wahl-offen > :not(#aWerFeld) { display: none !important; }
.werwahl { display: grid; gap: 10px; }
.wer { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; color: inherit; cursor: pointer; }
.wer b { font-size: 17px; } .wer span { font-size: 14px; color: var(--muted); }
.wer.on { border-color: var(--forest, #1F3B31); box-shadow: 0 0 0 1px var(--forest, #1F3B31) inset; background: #F4F8F5; }
.stack:not(.wahl-offen) .werwahl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack:not(.wahl-offen) .wer { padding: 10px 12px; } .stack:not(.wahl-offen) .wer span { display: none; } .stack:not(.wahl-offen) .wer b { font-size: 15px; }
/* „Bei wem?“ im Terminformular (P31): ganze Zeile antippbar, mindestens 44 Punkte hoch */
label.radio { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; }
label.radio input { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin: 0; padding: 0; flex: none; border: 2px solid var(--line); border-radius: 50%; background: #fff; }
label.radio input:checked { border: 7px solid var(--forest); }
label.radio input:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
label.radio:has(input:checked) { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
#aBeiWem #aGrund { margin-top: 8px; }
[data-werfeld] { margin-top: 10px; }
.hint.lauf { margin-bottom: 14px; }
.wer { white-space: normal; min-width: 0; } .wer b { white-space: normal; overflow-wrap: anywhere; hyphens: manual; line-height: 1.2; }


/* Varianten: Bausteine unter der Behandlung (↳), nur Beschreibung, Preis und Zeit */
.pkind { display: grid; grid-template-columns: 26px minmax(0, 1fr) 86px 72px 36px; grid-template-areas: "pf tx pr zt x"; gap: 8px; align-items: center; margin: 8px 0 6px 30px; padding: 8px 8px 8px 4px; border-left: 3px solid var(--bf, #D9C3B0); background: rgba(255, 255, 255, .6); border-radius: 0 12px 12px 0; }
.pkind .pkpf { grid-area: pf; text-align: center; color: var(--muted); font-size: 19px; line-height: 1; } .pkind .pktx { grid-area: tx; min-width: 0; } .pkind .pkpr { grid-area: pr; min-width: 0; } .pkind .pkzt { grid-area: zt; min-width: 0; } .pkind .pkx { grid-area: x; }
.pkind.ro { grid-template-columns: 26px minmax(0, 1fr) auto auto; grid-template-areas: none; padding: 8px 10px 8px 4px; }
.pkind.ro > * { grid-area: auto; }
.pvarneu { display: inline-flex; align-items: center; margin: -2px 0 10px 32px; border: 0; background: none; color: var(--tan, #A9875F); font: inherit; font-size: 14px; font-weight: 600; padding: 4px 6px; cursor: pointer; }
.pvarneu:active { opacity: .6; }
.pab { font-size: 15px; color: var(--muted); padding: 0 6px; white-space: nowrap; align-self: center; }
@media (max-width: 600px) { .pkind { grid-template-columns: 22px minmax(0, 1fr) 76px 64px 32px; grid-template-areas: "pf tx tx tx x" "pf . pr zt ."; margin-left: 16px; } }
.pkind + .pkind { margin-top: 0; } /* erste Variante mit Abstand unter dem Trennstrich, die weiteren dicht darunter */
.pkind input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 16px; font-family: inherit; color: inherit; }
.pkind input:focus { outline: none; border-color: var(--tan, #A9875F); box-shadow: 0 0 0 3px rgba(169, 135, 95, .15); }

/* Flüssiger: Ladebalken, sanftes Einblenden neuer Seiten, Kachel drückt sich beim Öffnen ein */
#ladebalken { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; opacity: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--tan, #A9875F), #D2B48C); }
#ladebalken.an { opacity: 1; animation: balkenLauf 2.4s cubic-bezier(.2, .7, .3, 1) forwards; }
#ladebalken.an.fertig { animation: none; transform: scaleX(1); opacity: 0; transition: transform .18s ease-out, opacity .25s ease .08s; }
@keyframes balkenLauf { 0% { transform: scaleX(0); } 30% { transform: scaleX(.45); } 100% { transform: scaleX(.9); } }
#app.neu-seite > main { animation: seiteRein .2s ease-out both; }
@keyframes seiteRein { from { opacity: .35; transform: translateY(6px); } }
.tile { transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.tile:active, .tile.oeffnet { transform: scale(.97); box-shadow: 0 2px 8px rgba(40, 25, 15, .08) inset; }
.tile.oeffnet { opacity: .82; }
@media (prefers-reduced-motion: reduce) { #app.neu-seite > main { animation: none; } #ladebalken.an { animation: none; transform: scaleX(.7); } .tile, .tile:active, .tile.oeffnet { transition: none; transform: none; } }

/* Ladebildschirm: das Dein-Kundenbuch-Logo steht, dreht sich schnell einmal ganz herum, wartet kurz – und wieder */
@keyframes logoDreh { 0%, 50% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); } 100% { transform: rotate(360deg); } }
@keyframes logoAtmen { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.startlader { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
.ladelogo { display: block; width: 76px; height: 76px; background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjEzOS4xIDEzOC44IDk3NS43IDk3NS43IiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJnRCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIzMDEiIHkxPSIwIiB4Mj0iMTA4NiIgeTI9IjAiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzJBMzYyRCIvPjxzdG9wIG9mZnNldD0iMC41IiBzdG9wLWNvbG9yPSIjMUYyQzI0Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMkYzRDMzIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImdTdGFtbSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25V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I5IDU5MyA4ODUuODggNTkyLjY0IEM4OTIuNDUgNTkxLjcgOTAyLjM2IDU4Ni43MSA5MDQuODggNTgwLjM4IEM5MDMuNDUgNTc5LjkzIDg4NS42NiA1OTEuOTMgODY4LjI4IDU3NS4zNCBDODY0LjQ0IDU3MS42OCA4NjMuMjEgNTY2LjUgODYwLjM4IDU2My4zOFoiLz48L2c+PC9zdmc+") center / contain no-repeat; animation: logoDreh 1.4s infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .ladelogo { animation: logoAtmen 1.8s ease-in-out infinite; } }

/* Leistungsliste: Knopfleiste oben (läuft unter der Kopfzeile mit), Kachel „Neu hinzufügen“, Einheiten € und min. in den Feldern */
.pl-leiste { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 0; margin: 0 0 12px; background: rgba(247,242,236,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.pl-leiste .grow { flex: 1; }
.pl-leiste #pSave { padding-left: 22px; padding-right: 22px; }
.pgrp.pneu { background: #fff; border: 1.5px dashed var(--tan); border-radius: 16px; padding: 12px 12px 6px; margin-bottom: 16px; }
.pgrp.pneu .pgh { margin-top: 0; }
.prow.neu .grip { visibility: hidden; }
.einh { position: relative; display: block; min-width: 0; }
.einh > input { width: 100%; padding-right: 24px !important; }
.einh[data-e="min."] > input { padding-right: 36px !important; }
.einh::after { content: attr(data-e); position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--muted); pointer-events: none; }
.prow { grid-template-columns: 22px minmax(150px, 1fr) 112px 84px 80px 66px 34px 28px; }
.pkind { grid-template-columns: 26px minmax(0, 1fr) 90px 82px 36px; }
@media (max-width: 640px) {
  .prow:not(.ro) { grid-template-columns: 16px minmax(0, 1fr) 58px 64px 46px 28px; }
  .prow.neu:not(.ro) { grid-template-columns: 0 minmax(0, 1fr) 58px 64px 46px 28px; }
  .prow.neu .grip { display: none; }
  .pgrp.pneu { padding: 10px 8px 4px; }
  .einh > input { padding-right: 18px !important; padding-left: 6px !important; }
  .einh[data-e="min."] > input { padding-right: 30px !important; }
  .pl-leiste { gap: 6px; }
  .pl-leiste #pSave { padding-left: 16px; padding-right: 16px; }
  .einh::after { right: 6px; font-size: 12px; }
  .pab { font-size: 13px; white-space: normal; line-height: 1.15; padding: 0 2px; }
  .pkind { grid-template-columns: 22px minmax(0, 1fr) 80px 74px 32px; }
}
@media (max-width: 420px) { .nur-breit { display: none; } }

/* Offener Widerruf (Startseite der Hauptinhaberin) – bleibt, bis er als erledigt markiert ist */
.widerrufkarte { background: #FCEDEA; border: 1.5px solid #E3A194; color: #4F1D13; border-radius: 16px; padding: 12px 14px; margin: 0 0 16px; }
.widerrufkarte .wk-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.widerrufkarte .wk-kopf .pw-i { background: #C2533F; color: #fff; }
.widerrufkarte .wk-zeit { margin-left: auto; font-size: 13px; opacity: .8; }
.widerrufkarte p { margin: 8px 0 0; }
.widerrufkarte .wk-vertrag { background: rgba(255,255,255,.6); border-radius: 10px; padding: 8px 10px; }
.widerrufkarte .wk-tipp { font-size: 14px; opacity: .9; }
.widerrufkarte .wk-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.widerrufkarte a { color: inherit; }
.widerrufkarte .wk-kopf .pw-i { flex: none; width: 26px; height: 26px; border-radius: 50%; font-weight: 800; display: grid; place-items: center; }

/* Meine Firmen-Dokumente */
.fdoku-kachel { border: 1.5px solid var(--tan); }
.fordner .fo-kopf { display: flex; align-items: center; gap: 8px; }
.fordner .fo-sym { font-size: 20px; }
.fordner .fo-name { font-size: 17px; overflow-wrap: anywhere; }
.fordner .grow { flex: 1; }
.fordner .fo-pfeil { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 16px; color: var(--ink); }
.fordner .fo-pfeil:disabled { opacity: .3; }
.fordner .fo-frei { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; font-size: 14px; }
.fordner .fo-frei input { width: 20px; height: 20px; accent-color: var(--tan); }
.fdatei { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "typ name akt" "typ meta akt"; column-gap: 10px; row-gap: 2px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.fdatei .fd-typ { grid-area: typ; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-align: center; border-radius: 9px; padding: 11px 0; background: #EFE6DA; color: #6B4F2A; }
.fdatei .fd-pdf { background: #F5DDD7; color: #8A2F1E; }
.fdatei .fd-docx { background: #DDE6F5; color: #1F3F7A; }
.fdatei .fd-xlsx { background: #DCEFE1; color: #1F5E35; }
.fdatei .fd-name { grid-area: name; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.fdatei .fd-meta { grid-area: meta; font-size: 12.5px; color: var(--muted); }
.fdatei .fd-akt { grid-area: akt; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.fdatei .fd-weg { color: var(--muted); font-size: 18px; width: 32px; height: 32px; }
.fordner .fo-unten { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
@media (max-width: 640px) { .fdatei { grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "typ name" "typ meta" "akt akt"; } .fdatei .fd-akt { justify-content: flex-start; margin-top: 6px; } }

/* „Ausführen“ unten in der Kachel „Neu hinzufügen“ */
.pgrp.pneu .pn-ausfuehren { margin-top: 14px; }
.pgrp.pneu .pn-hinweis { text-align: center; margin: 6px 0 4px; }

/* „Ausführen“ ausgegraut, solange unter „Neu hinzufügen“ nichts steht */
.pgrp.pneu .pn-ausfuehren:disabled { background: #DDD6CE; border-color: #DDD6CE; color: #FFFFFF; opacity: 1; box-shadow: none; cursor: not-allowed; pointer-events: none; }

/* Produkt- & Lagerliste: Marke, Lieferant, EK, VK – auf dem Handy als Zeile unter dem Namen, ab 900 px als eigene Spalten */
.lggliederung { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
.lggliederung .seg button { min-width: 88px; }
.lgrow { grid-template-areas: "bild tx best" ". daten daten" "akt akt akt"; }
.lgdaten { grid-area: daten; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--text, #2b2420); }
.lgdaten > span::before { content: attr(data-l) " "; color: var(--muted, #8a8580); }
.lgdaten i { font-style: normal; color: var(--muted, #8a8580); }
.lgdaten .lgvk { font-weight: 600; }
.lgkopf { display: none; }
@media (min-width: 900px) {
  .lgblatt .lgrow, .lgblatt .lgkopf { grid-template-columns: 48px minmax(170px, 2fr) minmax(90px, 1fr) minmax(90px, 1fr) 90px 72px; grid-template-areas: "bild tx marke lief vk best" "akt akt akt akt akt akt"; }
  .lgblatt.mit-ek .lgrow, .lgblatt.mit-ek .lgkopf { grid-template-columns: 48px minmax(170px, 2fr) minmax(90px, 1fr) minmax(90px, 1fr) 84px 84px 72px; grid-template-areas: "bild tx marke lief ek vk best" "akt akt akt akt akt akt akt"; }
  .lgdaten { display: contents; font-size: 14px; }
  .lgdaten > span::before { content: none; }
  .lgmarke { grid-area: marke; } .lglief { grid-area: lief; } .lgek { grid-area: ek; text-align: right; } .lgvk { grid-area: vk; text-align: right; }
  .lgmarke, .lglief { overflow-wrap: anywhere; font-size: 14px; }
  .lgkopf { display: grid; gap: 6px 12px; padding: 4px 0 6px; font-size: 12px; color: var(--muted, #8a8580); border-bottom: 1px solid var(--line); }
  .lgkopf span:nth-child(5), .lgkopf span:nth-child(6), .lgkopf span:nth-child(7) { text-align: right; }
  .lgblatt .lgrow:first-of-type { border-top: 0; }
}
.lgkopf + .lgrow { border-top: 0; }
@media (max-width: 899px) { .lgdaten .lgmarke, .lgdaten .lglief { flex-basis: 100%; } } /* Handy: Marke und Lieferant je eine Zeile, Preise zusammen darunter */
/* P31 Stufe 2: Zugangscode einlösen, Code anzeigen, PIN der Studio-Geräte, Kalender auf dem Handy der Mitarbeiterin – Tippflächen ab 44 Punkten */
.login-code { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; color: var(--muted); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.login-hinweis { margin: 14px 0 0; }
.code-schritt { width: 100%; max-width: 380px; text-align: center; }
.code-schritt form { width: 100%; }
.code-woerter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 4px; }
.code-woerter span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.code-schritte { text-align: left; margin: 8px 0 12px; padding-left: 20px; }
.code-schritte li { margin: 4px 0; }
.code-hilfe { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 14px; font-size: 15px; line-height: 1.4; }
.code-hilfe .code-schritte { margin: 8px 0 6px; }
.code-hilfe p { margin: 0; }
.studiopin-box { width: 100%; max-width: 340px; text-align: center; }
.studiopin-box h2 { color: var(--cream); margin: 0 0 6px; }
.studiopin-box p { opacity: .8; margin: 0 0 18px; }
.studiopin-weg { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; color: var(--cream); opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.handy { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(28px + env(safe-area-inset-bottom, 0px)); }
.handy-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.handy-ich { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; max-width: 70%; }
.handy-ava { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; }
.handy-titel { font-family: var(--serif, Georgia, serif); font-weight: 500; font-size: 32px; margin: 18px 0 4px; }
.handy-tag { margin: 18px 2px 8px; font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.handy-termin { display: grid; grid-template-columns: 62px 1fr; gap: 12px; align-items: center; min-height: 64px; padding: 12px 16px; margin-bottom: 8px; background: var(--card); border-radius: 14px; }
.handy-zeit { font-size: 17px; }
.handy-wer { font-weight: 600; font-size: 17px; }
.handy-was { color: var(--muted); font-size: 14px; }
.handy-leer { margin-top: 14px; padding: 18px 16px; background: var(--card); border-radius: 14px; color: var(--muted); }
.handy-liste { margin-top: 18px; background: var(--card); border-radius: 14px; overflow: hidden; }
.handy-liste a, .handy-liste button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 16px; text-align: left; text-decoration: none; }
.handy-liste > :first-child { border-top: 0; }
.handy-liste .chev { color: var(--muted); font-size: 20px; }
.handy-zeile { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-top: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.handy-liste > .handy-zeile:first-child { border-top: 0; }
/* P31 Stufe 3: Studio-Gerät einrichten (QR-Code), „Wer arbeitet gerade?“, PIN, Leiste oben, Startseite am Studio-iPad (Entwurf design/entwurf-p31) */
.geraet-einrichten { padding: calc(30px + env(safe-area-inset-top, 0px)) 20px calc(30px + env(safe-area-inset-bottom, 0px)); }
.ge-box { width: 100%; max-width: 520px; text-align: center; }
.ge-marke { font-family: var(--serif, Georgia, serif); letter-spacing: .12em; font-size: 14px; color: var(--gold); margin-bottom: 10px; }
.ge-box h1 { font-family: var(--serif, Georgia, serif); font-weight: 500; font-size: 32px; color: var(--cream); margin: 0 0 8px; }
.ge-sub { opacity: .85; margin: 0 0 18px; }
.ge-qr { display: block; width: 260px; height: 260px; margin: 0 auto 18px; background: #fff; border-radius: 18px; padding: 10px; image-rendering: pixelated; }
.ge-schritte { text-align: left; max-width: 420px; margin: 0 auto 14px; padding-left: 22px; }
.ge-schritte li { margin: 6px 0; }
.ge-klein { font-size: 14px; opacity: .78; max-width: 440px; margin: 10px auto 0; }
.ge-code { color: var(--cream); letter-spacing: .02em; }
.ge-warn { opacity: 1; color: #F0D9A8; }
.studio-namen { flex: 1; display: flex; flex-direction: column; padding: calc(16px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
.studio-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.studio-marke { font-family: var(--serif, Georgia, serif); letter-spacing: .08em; font-size: 15px; color: var(--muted); text-transform: uppercase; }
.studio-mitte { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 980px; margin: 0 auto; }
.studio-titel { font-family: var(--serif, Georgia, serif); font-weight: 500; font-size: 34px; margin: 18px 0 6px; }
.studio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.studio-name { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 210px; padding: 28px 12px 24px; border: 1px solid transparent; border-radius: 24px; background: var(--card); color: var(--ink); font: inherit; text-align: center; cursor: pointer; }
.studio-name b { font-size: 19px; }
.studio-name span:last-child { color: var(--muted); font-size: 15px; }
.studio-name.grau { opacity: .55; }
.studio-name:active { border-color: var(--line); }
.studio-ava { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 36px; flex: none; }
.studio-ava.gross { width: 88px; height: 88px; font-size: 30px; margin: 0 auto 12px; }
.studio-ava.klein { width: 30px; height: 30px; font-size: 14px; }
.studio-fuss { text-align: center; margin: 24px 0 0; }
.studioleiste { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; background: var(--forest); color: var(--cream); }
.studio-ich { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 6px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 600; }
.studio-hinweis { font-size: 14px; opacity: .75; text-align: center; }
.studio-ab { min-height: 44px; color: var(--cream); background: transparent; border: 1px solid rgba(255,255,255,.35); }
@media (max-width: 600px) { .studio-hinweis { display: none; } .studio-grid { grid-template-columns: repeat(2, 1fr); } .studio-name { min-height: 170px; } .studio-ava { width: 72px; height: 72px; font-size: 28px; } }
.studio-termine { display: grid; gap: 8px; }
.studio-termin { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; min-height: 64px; padding: 12px 16px; border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; }
.studio-termin .chev { color: var(--muted); font-size: 20px; }
.studio-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.studio-kachel { display: grid; align-content: center; gap: 4px; min-height: 110px; padding: 20px 18px; border-radius: 18px; background: var(--card); color: var(--ink); text-decoration: none; }
.studio-kachel b { font-size: 19px; }
.studio-kachel span { color: var(--muted); font-size: 14px; }
.studio-kachel.aus { opacity: .5; }
/* Studio-Geräte: Übersicht (10.10 Nr. 3) und Bestätigung am Handy (10.10 Nr. 1) */
.sg-summe { margin: 0 0 10px; font-weight: 600; }
.sg-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--card); border-radius: var(--r); padding: 12px 16px; }
.sg-zeile .sg-text { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.sg-zeile .nm { font-weight: 600; font-size: 18px; }
.sg-zeile .mt { color: var(--muted); font-size: 14px; }
.sg-zeile .sg-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-zeile .sg-knoepfe .btn { min-height: 44px; padding: 0 16px; }
.ge-achtung { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 15px; }
.ge-netz { font-size: 19px; font-weight: 600; }
/* P31 Stufe 4: Vertretung mit Zeitraum (Entwurf handy-2-vertretung) und Übernahme einer Kundin */
.handy-wert { margin-left: auto; margin-right: 8px; color: var(--muted); font-size: 15px; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-weiteres { max-width: 720px; }
.vt-zurueck { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--muted); }
.vt-kopftext { margin: 0 0 6px; }
.vt-abschnitt { margin: 18px 2px 8px; font-weight: 600; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.vt-liste { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.vertretung .sheet .vt-liste { background: #fff; }
.vt-zeile { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 16px; border-top: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.vt-liste > :first-child { border-top: 0; }
.vt-zeile input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.vt-zeile:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; }
.vt-ava { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; }
.vt-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 17px; }
.vt-haken { visibility: hidden; font-size: 18px; font-weight: 700; }
.vt-zeile input:checked ~ .vt-haken { visibility: visible; }
.vt-daten { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.vt-daten .field { margin: 0; min-width: 0; }
.vt-daten input[type="date"] { width: 100%; min-height: 48px; }
.vt-info { margin: 12px 2px 14px; }
.vt-karten { display: grid; gap: 8px; }
.vt-karte { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.vertretung .sheet .vt-karte { background: #fff; }
.vt-karte .vt-text { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.vt-karte .btn { min-height: 44px; padding: 0 16px; }
.uebernahme { border-left: 4px solid var(--tan, #C4A06B); margin-bottom: 16px; }
.uebernahme .btn { min-height: 44px; }

/* P31 Stufe 5: Formular-Modus – Bögen auswählen (Haken), Fortschritt, angefangene Bögen in der Akte */
.choose button.fm-wahl { grid-template-columns: 44px 1fr 30px; }
.choose button.fm-wahl.sel { box-shadow: inset 0 0 0 2px var(--tan); }
.fm-haken { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); position: relative; justify-self: end; }
.choose button.sel .fm-haken { background: var(--tan); border-color: var(--tan); }
.choose button.sel .fm-haken::after { content: ''; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.choose button.fm-wahl[disabled] { cursor: default; }
.choose button.fm-wahl[disabled] .fm-haken { opacity: .55; }
.fm-schritt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tan); margin: 0 0 6px; }
.docs .doc.entwurf { cursor: default; grid-template-columns: 44px 1fr; align-items: start; }
.docs .doc.entwurf > span:last-of-type { display: block; } /* Titel, Datum – darunter die Knöpfe (nicht nebeneinander wie bei den PDFs) */
.entwurf-knoepfe { gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.entwurf-knoepfe .btn { min-height: 44px; }
/* unbestätigte Online-Anfragen im Kalender (1.60.0) */
.tblk.tres { background: repeating-linear-gradient(135deg, #F4F1EE, #F4F1EE 6px, #ECE7E2 6px, #ECE7E2 12px); border-color: #A79C94; }
.tblk.tres.offen { opacity: .65; }
/* P31 Stufe 6: Warte auf Freigabe, Freigaben, drei Wörter am iPad */
.wf-box { width: 100%; max-width: 420px; text-align: center; }
.wf-box h1 { font-family: var(--serif, Georgia, serif); font-weight: 500; font-size: 30px; color: var(--cream); margin: 6px 0 10px; }
.wf-box p { margin: 0 0 10px; opacity: .9; }
.wf-symbol { font-size: 44px; }
.wf-klein { font-size: 14px; opacity: .78; }
.fg-karte { background: var(--card); border-radius: var(--r); padding: 12px 16px; margin: 0 0 10px; }
.fg-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fg-knoepfe .btn { min-height: 44px; }
.ge-woerter { margin: 6px 0 14px; }
.ge-woerter span { color: var(--forest); font-size: 30px; padding: 12px 20px; }

/* ===== P31 Stufe 9 (10.8 Nr. 11): volle Ansicht auf dem Handy und dem kleinen iPhone SE =====
   Tippflächen mindestens 44 × 44 Punkte (Apples Regel): Knöpfe mit Text werden 44 Punkte hoch; kleine Zeichen-Knöpfe (✕ ↑ ↓ i) behalten
   ihr Aussehen und bekommen eine unsichtbar größere Tippfläche; aufklappbare Zeilen und Auswahlfelder werden 44 Punkte hoch.
   Kopfzeile: lange Namen werden mit „…“ gekürzt, statt „Abmelden“ oder das Haus-Symbol zu überdecken. */
.btn-sm, .pgh .btn, .langbar .chip { min-height: 44px; }
.nav { grid-template-columns: minmax(56px, auto) minmax(0, 1fr) minmax(56px, auto); column-gap: 6px; }
.nav .back, .nav .menu, .nav .home { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.nav .title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav .logo { min-width: 0; }
.nav .logo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details > summary { padding-top: 10px; padding-bottom: 10px; }
.prow select, .prow:not(.ro) select, .kalgruppe, .fed select, select[data-ugr], select[data-urole] { -webkit-appearance: none; appearance: none; min-height: 44px; padding-right: 28px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23857a70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 12px 8px; }
.px2 { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.pwer { min-height: 44px; }
.pinfo { width: 44px; height: 44px; border: 0; background: transparent; position: relative; isolation: isolate; }
.pinfo::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid var(--tan); background: #fff; z-index: -1; }
.pinfo.voll { background: transparent; } .pinfo.voll::before { background: var(--tan); }
.prow.ro .pinfo { width: 44px; height: 44px; margin-left: 0; } .prow.ro .pinfo::before { inset: 10px; }
.fordner .fo-pfeil, .fdatei .fd-weg { width: 44px; height: 44px; }
.photos .p .px::after { content: ''; position: absolute; inset: -7px; }
.fed-kopf { flex-wrap: wrap; }
.fed label { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 44px; height: 44px; padding: 9px; border: 0; border-radius: 50%; background-clip: content-box !important; box-shadow: none; position: relative; flex: none; }
.sw::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset; }
.sw.on::after { border-color: var(--ink); box-shadow: none; }
.swatches { gap: 0; flex-wrap: wrap; }
.behchips .bchip button { position: relative; } .behchips .bchip button::after { content: ''; position: absolute; inset: -11px -14px; }
.pvarneu { position: relative; } .pvarneu::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.fordner .fo-pfeil { flex: none; }
@media (max-width: 640px) {
  .prow:not(.ro) { grid-template-columns: 16px minmax(0, 1fr) 58px 64px 46px 44px; }
  .crow.tm .swatches { max-width: 176px; } /* 4 Farben je Reihe */
  .frow { flex-wrap: wrap; } .frow > .row { flex-wrap: wrap; } /* Befund 7: Knöpfe brechen um statt hinauszuragen */
  .prow.neu:not(.ro) { grid-template-columns: 0 minmax(0, 1fr) 58px 64px 46px 44px; }
}
