/* pflegeklar – Thema und Hero-Motiv. Gerüst: /shared/app-page.css */
@font-face { font-family: "Fraunces"; src: url("/pflegeklar/fonts/Fraunces.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/pflegeklar/fonts/DMSans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --bg: #f8f6f1; --surface: #fffefb; --sunken: #efebe2;
  --ink: #1c2523; --ink-soft: #55615e; --ink-faint: #8a9592; --line: #e6e1d6;
  --accent: #2b6b67; --on-accent: #ffffff; --accent-strong: #1b4845;
  --panel: #1b4845; --panel-ink: #f4f1ea; --panel-ink-soft: #b9d3c8; --panel-line: #2f5e5a;
  --good: #4f7f6a; --signal: #d9542b; --soon: #c98a00; --credit: #2b6b67;
  --sage: #dde9e3;
  --display: "Fraunces", Georgia, serif; --ui: "DM Sans", system-ui, sans-serif;
  --display-weight: 600; --display-tracking: -0.015em;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111615; --surface: #1a2120; --sunken: #141a19;
    --ink: #e6ecea; --ink-soft: #a7b4b1; --ink-faint: #6f7c79; --line: #2c3634;
    --accent: #8fcfc8; --on-accent: #111615; --accent-strong: #8fcfc8;
    --panel: #183836; --panel-line: #24504c; --sage: #24413e; --signal: #ef7350; --soon: #e0a72a;
  }
}
h1, h2, h3 { font-variation-settings: "SOFT" 100, "opsz" 72; }

/* Gestapelte Töpfe – dieselben Karten wie in der App */
.pots { display: grid; gap: 14px; margin: 22px 0 8px; max-width: 420px; }
.pot {
  display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px 16px;
  box-shadow: 0 18px 40px -26px rgba(27, 72, 69, 0.45);
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pot:nth-child(1) { transform: rotate(-1.2deg); }
.pot:nth-child(2) { transform: rotate(0.8deg) translateX(18px); animation-delay: 0.08s; }
.pot:nth-child(3) { transform: rotate(-0.4deg) translateX(6px); animation-delay: 0.16s; }
.pot .ico { width: 42px; height: 42px; border-radius: 13px; background: var(--sage); display: grid; place-items: center; color: var(--accent-strong); }
.pot .ico svg { width: 22px; height: 22px; }
.pot b { font-family: var(--ui); font-weight: 600; color: var(--ink); font-size: 15px; display: block; }
.pot small { color: var(--ink-soft); font-size: 13px; }
.pot .amt { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--accent); font-variant-numeric: tabular-nums lining-nums; }
.pot .bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--sage); overflow: hidden; }
.pot .bar i { display: block; height: 100%; border-radius: 8px; background: var(--accent); width: var(--used); animation: fill 1.1s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes fill { from { width: 0; } }

/* Handy mit Screenshot */
.phone { width: min(340px, 100%); margin: 0 auto; padding: 10px; border-radius: 44px; background: var(--panel); border: 1px solid var(--panel-line); box-shadow: 0 30px 60px -28px rgba(27, 72, 69, 0.55); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }

/* Fristen-Liste */
.deadlines { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 8px 20px; max-width: 520px; }
.deadline { display: grid; grid-template-columns: 5px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.deadline:last-child { border-bottom: 0; }
.deadline::before { content: ""; width: 5px; height: 38px; border-radius: 3px; background: var(--c); }
.deadline span { display: block; color: var(--c); font-weight: 650; font-size: 13px; }
.deadline b { font-weight: 600; color: var(--ink); }
.deadline em { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); }
.draft { display: inline-block; padding: 2px 9px; border-radius: 8px; background: rgba(138, 92, 184, 0.12); color: #8a5cb8; font-size: 13px; font-weight: 650; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) { .pot, .pot .bar i { animation: none; } }
@media (max-width: 760px) { .pot:nth-child(2) { transform: rotate(0.8deg) translateX(8px); } }
