/* =========================================================================
   MOMENTE — Design-System
   Konzept: "gesammeltes Licht". Warm, würdevoll, nie mahnend.
   Signatur: ein Jahres-Raster, das sich mit jedem Moment auffüllt.
   ========================================================================= */

:root {
  /* Farbe — bewusst weg vom KI-Standard-Creme, wärmer und blumiger */
  --paper:      #FBF6F0;   /* warmes Blush-Papier */
  --paper-deep: #F4EAE0;   /* leichte Vertiefung */
  --card:       #FFFDFB;   /* gehobene Fläche */
  --ink:        #3B2B33;   /* tiefe Pflaumen-Tinte statt Schwarz */
  --ink-soft:   #7B6A70;   /* ruhiger Nebentext */
  --ink-faint:  #B4A6A8;   /* zart */
  --line:       #ECDFD5;   /* weiche Linie */

  /* Akzent — das gesammelte Licht */
  --gold:       #E5A03C;
  --gold-warm:  #F2B65A;
  --gold-deep:  #CE7F22;
  --coral:      #E58E7A;
  --coral-deep: #D06B54;

  /* Gedenken — gedeckt, würdevoll */
  --mauve:      #9A8894;
  --mauve-bg:   #EEE8EC;

  /* Maße */
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-soft: 0 12px 34px -18px rgba(80, 44, 30, 0.35);
  --shadow-lift: 0 20px 50px -20px rgba(80, 44, 30, 0.45);

  --serif: "Iowan Old Style", "Palatino Linotype", "Palatino", "Charter", "Noto Serif", "Georgia", serif;
  --sans: system-ui, -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background:
    radial-gradient(120% 80% at 50% -10%, #FCEFDD 0%, rgba(252,239,221,0) 55%),
    var(--paper-deep);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
}

/* ---- Telefonrahmen ---------------------------------------------------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  max-height: 932px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@media (min-width: 480px) {
  .phone {
    height: 92dvh;
    border-radius: 40px;
    box-shadow: var(--shadow-lift), 0 0 0 10px #efe4d8, 0 0 0 11px #e3d3c4;
  }
}

/* ---- Views ------------------------------------------------------------ */
.view { display: none; flex: 1; min-height: 0; }
.view.is-active { display: flex; flex-direction: column; }
.view-scroll { overflow: hidden; }
.view-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 22px 130px;
  -webkit-overflow-scrolling: touch;
}

/* ---- Topbar ----------------------------------------------------------- */
.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: max(22px, env(safe-area-inset-top)) 22px 10px;
}
.topbar-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.topbar-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  border: none; border-radius: 50%;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 19px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: transform .15s ease;
}
.icon-btn:active { transform: scale(0.92); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  border: none; border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-warm), var(--gold-deep));
  box-shadow: 0 14px 30px -12px rgba(206, 127, 34, 0.7);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-soft {
  background: var(--paper-deep);
  color: var(--ink);
}
.btn-full { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---- Willkommen ------------------------------------------------------- */
.view-welcome { align-items: center; justify-content: center; text-align: center; }
.view-welcome.is-active { display: flex; }
.welcome-inner {
  padding: 40px 34px;
  display: flex; flex-direction: column; align-items: center;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.welcome-mark {
  position: relative;
  width: 118px; height: 118px;
  margin-bottom: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 55%, rgba(242,182,90,0.55), rgba(242,182,90,0) 62%);
}
.spark {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-warm), var(--gold-deep));
  box-shadow: 0 0 22px 4px rgba(229,160,60,0.55);
}
.spark-1 { width: 26px; height: 26px; top: 44px; left: 46px; animation: pulse 3.4s ease-in-out infinite; }
.spark-2 { width: 13px; height: 13px; top: 26px; left: 74px; animation: pulse 3.4s ease-in-out .5s infinite; }
.spark-3 { width: 10px; height: 10px; top: 74px; left: 30px; animation: pulse 3.4s ease-in-out 1s infinite; }
.welcome-title {
  font-family: var(--serif);
  font-size: 52px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.welcome-sub {
  margin-top: 14px;
  font-size: 18px; line-height: 1.55;
  color: var(--ink-soft);
}
.welcome-actions {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 320px;
}
.welcome-note {
  margin-top: 26px;
  font-size: 13px; color: var(--ink-faint);
}

/* ---- Onboarding ------------------------------------------------------- */
.view-onboarding.is-active { display: flex; }
.onb-track { flex: 1; display: flex; flex-direction: column; }
.onb-step {
  flex: 1;
  padding: max(30px, env(safe-area-inset-top)) 30px 34px;
  display: flex; flex-direction: column;
  animation: rise .5s cubic-bezier(.2,.7,.2,1) both;
}
.onb-dots { display: flex; gap: 7px; margin-bottom: 30px; }
.onb-dot { width: 26px; height: 5px; border-radius: 3px; background: var(--line); }
.onb-dot.is-on { background: var(--gold); }
.onb-kicker {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-bottom: 12px;
}
.onb-title {
  font-family: var(--serif);
  font-size: 30px; line-height: 1.2; font-weight: 600;
  color: var(--ink);
}
.onb-help { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.onb-fields { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.onb-spacer { flex: 1; }
.onb-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---- Formfelder ------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field-label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.input, .textarea, .select {
  font-family: var(--sans); font-size: 17px; color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.textarea { min-height: 96px; resize: none; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(229,160,60,0.16);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }

/* Auswahl-Chips (Person, Gefühl) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 15px; font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip.is-on {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-warm), var(--gold-deep));
  color: #fff;
}
.chip-add { border-style: dashed; color: var(--ink-soft); }

/* Gefühls-Emoji-Reihe */
.moods { display: flex; gap: 8px; flex-wrap: wrap; }
.mood {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--card);
  font-size: 22px; cursor: pointer; display: grid; place-items: center;
  transition: all .15s ease;
}
.mood.is-on { border-color: var(--gold); background: #FFF6E7; transform: scale(1.08); }

/* =========================================================================
   HOME — Das Konto
   ========================================================================= */
.count-hero {
  margin-top: 14px;
  text-align: center;
  padding: 22px 10px 8px;
}
.count-number {
  font-family: var(--serif);
  font-size: 92px; line-height: 0.9; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.count-caption {
  margin-top: 10px;
  font-size: 17px; color: var(--ink-soft); line-height: 1.5;
}
.count-caption b { color: var(--ink); font-weight: 700; }

/* Signatur: Jahres-Lichtraster */
.yeargrid-wrap {
  margin: 22px auto 4px;
  max-width: 340px;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
}
.yeargrid-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px;
}
.yeargrid-title { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.yeargrid-meta { font-size: 13px; color: var(--ink-soft); }
.yeargrid {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 6px;
}
.wk {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--paper-deep);
  transition: transform .3s ease;
}
.wk.lit-1 { background: #F6E2BE; }
.wk.lit-2 { background: var(--gold-warm); }
.wk.lit-3 {
  background: radial-gradient(circle, var(--gold-warm), var(--gold-deep));
  box-shadow: 0 0 8px 1px rgba(229,160,60,0.6);
}
.wk.is-now { outline: 2px solid var(--coral); outline-offset: 1px; }
.yeargrid-legend {
  margin-top: 14px;
  font-size: 12.5px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 7px; justify-content: center;
}
.legend-scale { display: inline-flex; gap: 3px; }
.legend-scale i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* Tägliche Aufforderung */
.prompt-card {
  margin-top: 18px;
  border-radius: var(--r-lg);
  padding: 20px 20px;
  background: linear-gradient(135deg, #FFF3DD, #FCE7CE);
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 16px;
}
.prompt-emoji { font-size: 30px; }
.prompt-text { flex: 1; }
.prompt-q { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.25; }
.prompt-hint { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }
.prompt-go {
  border: none; background: var(--card); color: var(--gold-deep);
  font-weight: 700; font-size: 15px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  box-shadow: var(--shadow-soft);
}

/* Section-Überschrift */
.section-head {
  margin: 30px 4px 12px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.section-title { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.section-link { font-size: 14px; color: var(--gold-deep); font-weight: 600; background: none; border: none; cursor: pointer; }

/* Sanfter Anstoß */
.nudge {
  margin-top: 6px;
  border-radius: var(--r-md);
  padding: 16px 18px;
  background: var(--mauve-bg);
  display: flex; align-items: center; gap: 14px;
}
.nudge-avatar { flex: none; }
.nudge-text { flex: 1; font-size: 15px; line-height: 1.45; color: var(--ink); }
.nudge-text b { font-weight: 700; }
.nudge-dismiss { border: none; background: none; color: var(--ink-soft); font-size: 20px; cursor: pointer; }

/* ---- Konto-Kärtchen pro Verbindung (Home) ---------------------------- */
.acct-row { display: flex; flex-direction: column; gap: 10px; }
.acct {
  display: flex; align-items: center; gap: 14px;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .15s ease;
  border: none; width: 100%; text-align: left;
}
.acct:active { transform: scale(0.985); }
.acct-body { flex: 1; min-width: 0; }
.acct-name { font-weight: 700; font-size: 16px; }
.acct-rel { font-size: 13px; color: var(--ink-soft); }
.acct-count {
  font-family: var(--serif);
  font-size: 30px; font-weight: 600; color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.acct-count small { font-size: 12px; color: var(--ink-faint); display: block; font-family: var(--sans); text-align: right; }
.acct.is-memoriam { background: var(--mauve-bg); }
.acct.is-memoriam .acct-count { color: var(--mauve); }

/* ---- Avatar ----------------------------------------------------------- */
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 19px; color: #fff;
  flex: none;
}
.avatar.sz-sm { width: 34px; height: 34px; font-size: 15px; }
.avatar.sz-lg { width: 62px; height: 62px; font-size: 26px; }

/* =========================================================================
   FEED — Momente
   ========================================================================= */
.month-label {
  font-family: var(--serif);
  font-size: 15px; letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 24px 4px 12px;
  display: flex; align-items: center; gap: 12px;
}
.month-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.moment {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 14px;
  animation: rise .5s cubic-bezier(.2,.7,.2,1) both;
}
.moment-photo {
  height: 168px;
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  font-size: 60px;
}
.moment-photo.is-emoji { background: linear-gradient(135deg, #FFF1D8, #F7DFC6); }
.moment-inner { padding: 15px 17px 16px; }
.moment-top { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.moment-people { font-size: 13px; color: var(--ink-soft); font-weight: 600; flex: 1; }
.moment-date { font-size: 12.5px; color: var(--ink-faint); }
.moment-text { font-family: var(--serif); font-size: 18px; line-height: 1.4; color: var(--ink); }
.moment-mood { font-size: 20px; margin-left: 6px; }

/* =========================================================================
   VERBINDUNGEN
   ========================================================================= */
.conn-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  margin-bottom: 13px;
}
.conn-top { display: flex; align-items: center; gap: 14px; }
.conn-body { flex: 1; min-width: 0; }
.conn-name { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.conn-rel { font-size: 13.5px; color: var(--ink-soft); }
.conn-count-badge {
  text-align: right;
}
.conn-count-badge b {
  font-family: var(--serif); font-size: 26px; color: var(--gold-deep); font-weight: 600;
}
.conn-count-badge span { display: block; font-size: 11px; color: var(--ink-faint); }
.conn-last { margin-top: 13px; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.conn-last b { color: var(--ink); }
.conn-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.conn-mini {
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
}
.conn-card.is-memoriam { background: var(--mauve-bg); }
.conn-card.is-memoriam .conn-count-badge b { color: var(--mauve); }
.memoriam-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--mauve);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-top: 4px;
}

.invite-card {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 22px 18px; text-align: center;
  margin-bottom: 13px;
}
.invite-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.invite-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 14px; }

.paywall-hint {
  margin-top: 4px;
  background: linear-gradient(135deg, #FFF3DD, #FCE7CE);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 14px; line-height: 1.5; color: var(--ink);
}
.paywall-hint b { color: var(--gold-deep); }
.paywall-hint .btn { margin-top: 12px; }

/* =========================================================================
   RÜCKBLICK
   ========================================================================= */
.review-card {
  margin-top: 14px;
  border-radius: var(--r-lg);
  padding: 30px 26px 34px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%),
    linear-gradient(160deg, #C9843A 0%, #A85B3E 55%, #6E3E4C 100%);
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}
.review-year { font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; }
.review-big {
  font-family: var(--serif);
  font-size: 74px; line-height: 0.95; font-weight: 600;
  margin: 8px 0 2px; font-variant-numeric: tabular-nums;
}
.review-lead { font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.review-people { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.review-person { display: flex; align-items: center; gap: 12px; }
.review-person .avatar { box-shadow: 0 0 0 2px rgba(255,255,255,0.4); }
.review-person-body { flex: 1; }
.review-person-name { font-weight: 700; font-size: 15px; }
.review-person-bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.28); margin-top: 5px; overflow: hidden; }
.review-person-bar i { display: block; height: 100%; background: rgba(255,255,255,0.9); border-radius: 4px; }
.review-person-num { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.review-share { margin-top: 18px; }

.review-strip {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.stat-tile {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 16px 16px;
  box-shadow: var(--shadow-soft);
}
.stat-tile b { font-family: var(--serif); font-size: 30px; color: var(--ink); font-weight: 600; display: block; }
.stat-tile span { font-size: 13px; color: var(--ink-soft); }

/* =========================================================================
   FAB + Tabbar
   ========================================================================= */
.fab {
  position: absolute;
  right: 20px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  width: 62px; height: 62px;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-warm), var(--gold-deep));
  color: #fff;
  box-shadow: 0 16px 34px -10px rgba(206,127,34,0.8);
  cursor: pointer;
  display: none; place-items: center;
  z-index: 30;
  transition: transform .18s cubic-bezier(.2,.7,.2,1);
}
.fab.is-shown { display: grid; }
.fab:active { transform: scale(0.9) rotate(90deg); }
.fab-plus { font-size: 30px; line-height: 1; margin-top: -2px; }

.tabbar {
  display: none;
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251,246,240,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  z-index: 20;
}
.tabbar.is-shown { display: flex; justify-content: space-around; }
.tab {
  border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 10px; border-radius: 14px;
  color: var(--ink-faint);
  transition: color .15s ease;
}
.tab-glyph { font-size: 19px; line-height: 1; }
.tab-label { font-size: 11px; font-weight: 600; }
.tab.is-active { color: var(--gold-deep); }

/* =========================================================================
   Sheet + Scrim + Glow + Toast
   ========================================================================= */
.scrim {
  position: fixed; inset: 0;
  background: rgba(59,43,51,0.42);
  z-index: 40;
  animation: fade .2s ease both;
}
.sheet {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 0;
  width: 100%; max-width: 430px;
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  z-index: 50;
  box-shadow: 0 -20px 50px -20px rgba(80,44,30,0.5);
  animation: slideup .32s cubic-bezier(.2,.8,.2,1) both;
  max-height: 90dvh; overflow-y: auto;
}
.sheet-handle {
  width: 42px; height: 5px; border-radius: 3px;
  background: var(--line);
  margin: 12px auto 4px;
}
.sheet-body { padding: 8px 24px calc(28px + env(safe-area-inset-bottom)); }
.sheet-title {
  font-family: var(--serif); font-size: 25px; font-weight: 600;
  margin-bottom: 6px;
}
.sheet-sub { font-size: 15px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.5; }
.sheet-section { margin-bottom: 18px; }
.sheet-section > .field-label { display: block; margin-bottom: 9px; }

.glow {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, rgba(242,182,90,0.35), rgba(242,182,90,0) 60%);
  animation: glowpulse 1.1s ease-out both;
}
.glow-mark { font-size: 74px; animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }

.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  z-index: 70; box-shadow: var(--shadow-lift);
  animation: toastin .3s ease both;
  white-space: nowrap;
}

/* ---- Leerzustände ----------------------------------------------------- */
.empty {
  text-align: center; padding: 50px 30px; color: var(--ink-soft);
}
.empty-glyph { font-size: 44px; margin-bottom: 14px; opacity: 0.8; }
.empty h3 { font-family: var(--serif); font-size: 21px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.empty p { font-size: 15px; line-height: 1.55; }

/* =========================================================================
   Animationen
   ========================================================================= */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideup { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.14); opacity: 1; } }
@keyframes glowpulse { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes litup { 0% { transform: scale(0.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.wk.just-lit { animation: litup .6s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .05ms !important; }
}
