/* elternklar – Thema und Hero-Motiv. Gerüst: /shared/app-page.css */
@font-face { font-family: "Rubik"; src: url("/elternklar/fonts/Rubik-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/elternklar/fonts/Rubik-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("/elternklar/fonts/Rubik-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* „Morgen zu dritt“: Creme, Koralle (Elternteil 1), Salbei (Elternteil 2), Sonnengelb (das Kind) – wie in der App. */
:root {
  --bg: #fff7ef; --surface: #fffcf8; --sunken: #fbeee2;
  --ink: #3a2a25; --ink-soft: #7a665e; --ink-faint: #b5a49c; --line: #f0e2d6;
  --accent: #b0412a; --on-accent: #ffffff; --accent-strong: #8a2f1c;
  --panel: #3a2a25; --panel-ink: #fff7ef; --panel-ink-soft: #f0d9cc; --panel-line: #55403a;
  --good: #4f8a6e; --signal: #c8372d; --soon: #c0861c; --credit: #b0412a;
  --basis: #d9573b; --plus: #e6a537; --bonus: #5c8f78; --mutter: #a983b4; --empty: #f3e5da;
  --display: "Rubik", system-ui, sans-serif; --ui: "Rubik", system-ui, sans-serif;
  --display-weight: 700; --display-tracking: -0.02em;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1513; --surface: #281f1c; --sunken: #211a17;
    --ink: #f6eae3; --ink-soft: #c9b6ad; --ink-faint: #85736b; --line: #3d302b;
    --accent: #ff9e85; --on-accent: #1c1513; --accent-strong: #ff9e85;
    --panel: #4a2a21; --panel-line: #5e3a2f; --empty: #33282c;
  }
}
h1, h2, h3 { font-weight: 700; }
.duo { display: block; width: 150px; height: 100px; margin: 0 0 8px; }

/* Monatsraster: zwei Spalten, eine pro Elternteil */
.grid { display: grid; grid-template-columns: 46px 1fr 1fr; gap: 6px 8px; max-width: 420px; margin: 20px 0 8px; font-size: 13px; }
.grid .h { font-weight: 650; color: var(--ink-soft); text-align: center; }
.grid .lm { color: var(--ink-soft); font-weight: 600; align-self: center; }
.grid i { display: block; height: 30px; border-radius: 15px; background: var(--empty); font-style: normal; color: #fff; font-weight: 650; text-align: center; line-height: 30px; animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.grid i.m { background: var(--mutter); } .grid i.b { background: var(--basis); } .grid i.p { background: var(--plus); } .grid i.x { background: var(--bonus); }
@keyframes rise { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 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(58, 42, 37, 0.45); }
.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: 560px; }
.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: 17px; color: var(--ink); white-space: nowrap; }
.planned { border-left: 4px solid var(--soon); padding: 10px 14px; background: var(--surface); border-radius: 12px; max-width: 640px; }

@media (prefers-reduced-motion: reduce) { .grid i { animation: none; } }
