/* ablaufklar – Thema und Hero-Motiv. Gerüst: /shared/app-page.css */
@font-face { font-family: "Archivo"; src: url("/ablaufklar/fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/ablaufklar/fonts/PublicSans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* „Amtsstube & Plakette“: Aubergine wie Stempelfarbe, Plakettengelb als Signal, Aktenpapier. */
:root {
  --bg: #f5f2eb; --surface: #fffdf8; --sunken: #ece7dd;
  --ink: #1f1a1e; --ink-soft: #615a60; --ink-faint: #9a9298; --line: #e4ddd2;
  --accent: #4a2140; --on-accent: #ffffff; --accent-strong: #2e1328;
  --panel: #4a2140; --panel-ink: #f7eef4; --panel-ink-soft: #f2c230; --panel-line: #5c2c50;
  --good: #2e7d5b; --signal: #c4501a; --soon: #a87400; --overdue: #b3261e; --credit: #4a2140;
  --sage: #fff3cc; --plakette: #f2c230;
  --display: "Archivo", "Arial Narrow", sans-serif; --ui: "Public Sans", system-ui, sans-serif;
  --display-weight: 750; --display-tracking: -0.01em;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141015; --surface: #211a20; --sunken: #1a1419;
    --ink: #f1eaef; --ink-soft: #bdb2ba; --ink-faint: #7d727a; --line: #3a3038;
    --accent: #e7b9da; --on-accent: #2e1328; --accent-strong: #e7b9da;
    --panel: #3b2136; --panel-line: #553248; --sage: #4a3a16;
    --good: #7fd3a8; --signal: #ffab76; --soon: #f2c230; --overdue: #ff8a80;
  }
}
h1, h2, h3 { font-stretch: 118%; }

/* 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(46, 19, 40, 0.5); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }

/* Fristen-Liste wie in der App */
.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: 19px; color: var(--ink); text-align: right; }

/* Ampel-Pillen im Hero */
.lights { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; padding: 0; list-style: none; }
.lights li { padding: 5px 12px; border-radius: 20px; font-weight: 650; font-size: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }

/* Tabelle Führerschein-Stichtage */
table.rules { border-collapse: collapse; width: 100%; max-width: 560px; margin: 10px 0 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
table.rules th, table.rules td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.rules th { color: var(--ink-soft); font-weight: 650; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
table.rules td:last-child { font-variant-numeric: tabular-nums; font-weight: 700; font-family: var(--display); font-stretch: 112%; }
table.rules tr:last-child td { border-bottom: 0; }
