/* Kompass Pro: goldener Pro-Button, Performance-Bereich, Sprechstunde, Erinnerungen, anpassbare Startseite, iPad-Layout.
   Wird als letztes Stylesheet geladen. */
:root {
  --gold: #e8c46a;
  --gold-2: #f6e3a6;
  --gold-3: #b9873a;
  --gold-grad: linear-gradient(135deg, #f8e7b0 0%, #e8c46a 42%, #c4923f 100%);
  --gold-soft: rgba(232, 196, 106, 0.12);
  --gold-line: rgba(232, 196, 106, 0.32);
}
.pro-ey, .pf-ey { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.pro-ey svg, .pf-ey svg { width: 15px; height: 15px; }
.pro-gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn.pro-btn { background: var(--gold-grad); color: #2a1c05; border: 0; font-weight: 800; box-shadow: 0 10px 30px -12px rgba(232, 196, 106, 0.7); }
.btn.pro-btn svg { color: #2a1c05; }
@media (hover: hover) { .btn.pro-btn:hover { filter: brightness(1.06); } }
.btn.pro-btn:active { transform: scale(0.97); }

/* ---------- Tableiste: goldener Pro-Button in derselben Größe ---------- */
.tabbar .tab-pro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: var(--gold); font-weight: 800; position: relative; }
.tab-pro-ic { width: 34px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--gold-grad); color: #2a1c05; box-shadow: 0 6px 18px -6px rgba(232, 196, 106, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5); transition: transform 180ms var(--ease-out); }
.tabbar .tab-pro .tab-pro-ic svg { width: 17px; height: 17px; color: #2a1c05; }
.tabbar .tab-pro span:last-child { color: var(--gold); }
.tabbar .tab-pro.on .tab-pro-ic { transform: translateY(-1px) scale(1.06); }
.tabbar .tab-pro:active .tab-pro-ic { transform: scale(0.94); }
.nav-a[href='#/pro'] svg { color: var(--gold); opacity: 1; }
.nav-a[href='#/pro'] span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.nav-a[href='#/pro'].on { background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-line); }

/* ---------- iPad / Tablets: keine doppelte Seitenleiste neben den Kacheln, sondern die Tableiste ---------- */
@media (min-width: 861px) and (max-width: 1366px) and (pointer: coarse) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 30px clamp(24px, 4vw, 44px) calc(var(--tabbar) + 40px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 50%; transform: translateX(-50%); width: min(640px, calc(100% - 40px)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 50; height: 70px;
    border-radius: 22px; background: color-mix(in srgb, var(--surface-solid) 86%, transparent); backdrop-filter: blur(20px); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--muted); }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--text); }
  .tabbar a.on svg { color: var(--primary); }
  body[data-section='coach'] .tabbar { display: none; }
}

/* ---------- Startseite anpassen ---------- */
.home-custom { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 4px; font-size: 12px; color: var(--faint); flex-wrap: wrap; }
.home-custom button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: inherit; font-weight: 700; cursor: pointer; }
.home-custom svg { width: 14px; height: 14px; }
.home-dashboard .ht { -webkit-touch-callout: none; user-select: none; }
.home-pro .ht-ic { background: var(--gold-grad) !important; color: #2a1c05 !important; }
.hs-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.hs-slots button, .hs-pick button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.hs-slots button.big { min-height: 64px; }
.hs-slots button.on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-soft); }
.hs-slots svg, .hs-pick svg { width: 18px; height: 18px; flex: none; color: var(--primary); }
.hs-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hs-pick.hide { display: none; }
.hs-pick button { flex-wrap: wrap; }
.hs-pick small { width: 100%; font-size: 11px; color: var(--muted); font-weight: 500; }
.hs-pick button.used { opacity: 0.75; }

/* ---------- Performance Pro ---------- */
.pf { --pf: var(--gold); }
.pf-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--pf) 22%, transparent), transparent 60%), linear-gradient(160deg, #0f1730, #090e1d); border: 1px solid color-mix(in srgb, var(--pf) 30%, transparent); }
.pf-head::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.018) 22px 23px); pointer-events: none; }
.pf-head .pf-ey { color: var(--pf); }
.pf-head h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.04em; margin: 10px 0 8px; font-weight: 800; }
.pf-head h1 span { display: block; color: var(--pf); }
.pf-head p { margin: 0; color: var(--text-2); font-size: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-head p svg { width: 15px; height: 15px; color: #ff9a5c; }
.pf-score { flex: none; position: relative; z-index: 1; }
.pf-ring .bg { stroke: rgba(255, 255, 255, 0.08); }
.pf-ring .v { stroke: var(--pf); stroke-linecap: round; transition: stroke-dashoffset 900ms var(--ease-out); }
.pf-ring-n { fill: var(--text); font: 800 26px var(--font); text-anchor: middle; letter-spacing: -0.03em; }
.pf-ring-n.s { font-size: 20px; }
.pf-ring-n.xl { font-size: 42px; }
.pf-ring-l { fill: var(--muted); font: 600 11px var(--font); text-anchor: middle; }

.pf-actions { display: flex; gap: 12px; margin: 14px 0; align-items: stretch; }
.pf-sprech { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(232, 196, 106, 0.16), rgba(232, 196, 106, 0.04)); border: 1px solid var(--gold-line); color: var(--text); transition: transform 160ms var(--ease-out), border-color 160ms; }
.pf-sprech:active { transform: scale(0.985); }
@media (hover: hover) { .pf-sprech:hover { border-color: var(--gold); } }
.pf-sprech > svg { width: 20px; height: 20px; color: var(--gold); margin-left: auto; flex: none; }
.pf-avs { display: flex; flex: none; }
.pf-avs .sp-av { margin-left: -10px; box-shadow: 0 0 0 2px #0b1222; }
.pf-avs .sp-av:first-child { margin-left: 0; }
.pf-avs .sp-av i { display: none; }
.pf-sprech-t { display: flex; flex-direction: column; min-width: 0; }
.pf-sprech-t b { font-size: 16px; }
.pf-sprech-t small { color: var(--text-2); font-size: 12.5px; }
.pf-tools { display: flex; gap: 10px; }
.pf-tool { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 56px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.pf-tool svg { width: 20px; height: 20px; }
.pf-tool.on { background: var(--pf); color: #1c1405; border-color: transparent; }
.pf-tool em { position: absolute; top: 6px; right: 8px; min-width: 18px; height: 18px; border-radius: 9px; background: #ff6b7a; color: #fff; font: 800 10.5px/18px var(--font); font-style: normal; text-align: center; padding: 0 4px; }

.pf-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.pf-kpis div { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.pf-kpis b { display: block; font-size: 24px; letter-spacing: -0.03em; font-weight: 800; }
.pf-kpis span { font-size: 12px; color: var(--muted); }

.pf-editbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--pf) 55%, transparent); background: color-mix(in srgb, var(--pf) 8%, transparent); font-size: 13px; color: var(--text-2); }
.pf-editbar > span { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 200px; }
.pf-editbar svg { width: 16px; height: 16px; }
.pf-accents { display: flex; gap: 8px; }
.pf-accents button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25); }
.pf-accents button.on { border-color: var(--text); }

.pf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pf-w { position: relative; grid-column: span 1; padding: 18px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); min-height: 170px; display: flex; flex-direction: column; -webkit-touch-callout: none; transition: transform 200ms var(--ease-out), border-color 200ms; animation: pfIn 420ms var(--ease-out) both; }
.pf-w.m { grid-column: span 2; }
.pf-w.l { grid-column: span 4; }
.pf-w:nth-child(2) { animation-delay: 40ms; } .pf-w:nth-child(3) { animation-delay: 80ms; } .pf-w:nth-child(4) { animation-delay: 120ms; } .pf-w:nth-child(n + 5) { animation-delay: 160ms; }
@keyframes pfIn { from { opacity: 0; transform: translateY(8px); } }
.pf-w > header { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; min-height: 28px; }
.pf-w > header > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--pf) 14%, transparent); color: var(--pf); flex: none; }
.pf-w > header svg { width: 15px; height: 15px; }
.pf-w > header b { font-size: 13.5px; letter-spacing: 0.01em; }
.pf-body { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pf.editing .pf-w { border-style: dashed; border-color: color-mix(in srgb, var(--pf) 45%, transparent); animation: pfWiggle 2.4s ease-in-out infinite; }
.pf.editing .pf-w:nth-child(2n) { animation-delay: -1.2s; }
@keyframes pfWiggle { 0%, 100% { transform: rotate(-0.25deg); } 50% { transform: rotate(0.25deg); } }
.pf-ctl { margin-left: auto; display: flex; gap: 4px; }
.pf-ctl button { width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-solid); color: var(--text); display: grid; place-items: center; font: 800 11px var(--font); cursor: pointer; }
.pf-ctl svg { width: 15px; height: 15px; }
.pf-add { grid-column: span 2; min-height: 120px; border-radius: 20px; border: 2px dashed color-mix(in srgb, var(--pf) 45%, transparent); background: transparent; color: var(--pf); font: inherit; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.pf-add svg { width: 20px; height: 20px; }
.pf-tip { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 0; color: var(--faint); font-size: 12px; }
.pf-tip svg { width: 14px; height: 14px; }

.pf-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; }
.pf-empty p { margin: 0; }
.pf-today { display: flex; align-items: center; gap: 18px; }
.pf-today .pf-ring { flex: none; }
.pf-open { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pf-rt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); color: var(--text); }
.pf-rt > span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--rc) 18%, transparent); color: var(--rc); flex: none; }
.pf-rt svg { width: 15px; height: 15px; }
.pf-rt div { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
.pf-rt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-rt small { font-size: 11px; color: var(--muted); }
.pf-rt i, .pf-rank i, .pf-ch i { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; position: relative; display: block; }
.pf-rt em, .pf-rank em, .pf-ch em { display: block; height: 100%; border-radius: 3px; background: var(--rc, var(--pf)); }
.pf-more { font-size: 12px; color: var(--muted); padding-left: 4px; }
.pf-done { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.pf-done svg { width: 26px; height: 26px; color: var(--pf); margin-bottom: 4px; }
.pf-done span { font-size: 12.5px; color: var(--muted); }

.pf-week-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pf-week-top b { font-size: 28px; letter-spacing: -0.03em; }
.pf-week-top span { font-size: 12px; color: var(--muted); }
.up, .down { display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-weight: 700; font-size: 12px; }
.up { color: var(--ok); } .down { color: var(--danger); }
.up svg, .down svg { width: 13px; height: 13px; }
.pf-week-top em { margin-left: auto; }
.pf-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 130px; }
.pf-bar { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.pf-bar i { flex: 1; width: 100%; max-width: 34px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); position: relative; overflow: hidden; display: block; }
.pf-bar em { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 9px; background: linear-gradient(180deg, color-mix(in srgb, var(--pf) 75%, #fff), var(--pf)); opacity: 0.55; transition: height 700ms var(--ease-out); }
.pf-bar.perfect em { opacity: 1; box-shadow: 0 0 16px -2px color-mix(in srgb, var(--pf) 70%, transparent); }
.pf-bar.today i { outline: 1.5px solid color-mix(in srgb, var(--pf) 60%, transparent); outline-offset: 2px; }
.pf-bar small { font-size: 11px; color: var(--muted); font-weight: 700; }
.pf-bar.today small { color: var(--pf); }
.pf-bar-v { font-size: 10px; color: var(--text-2); font-weight: 700; height: 13px; }

.pf-big { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pf-big > b { font-size: 46px; line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.pf-big > span:last-child { font-size: 12.5px; color: var(--muted); }
.pf-sub { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--text-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-sub svg { width: 14px; height: 14px; color: var(--pf); }
.pf-flame { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--muted); margin-bottom: 6px; }
.pf-flame.on { background: linear-gradient(160deg, #ffb36b, #ff6a3d); color: #fff; box-shadow: 0 8px 24px -8px #ff6a3d; }
.pf-flame svg, .pf-moon svg { width: 20px; height: 20px; }
.pf-moon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(143, 168, 255, 0.15); color: #a9bcff; margin-bottom: 6px; }

.pf-legend { display: flex; gap: 14px; font-size: 12px; font-weight: 700; margin-bottom: 8px; flex-wrap: wrap; }
.pf-legend .e { color: var(--pf); } .pf-legend .m { color: #8fd5ff; }
.pf-legend .muted { margin-left: auto; font-weight: 500; }
.pf-line { width: 100%; height: 110px; overflow: visible; }
.pf-line .mid { stroke: rgba(255, 255, 255, 0.07); stroke-dasharray: 3 4; }
.pf-line .e path { stroke: var(--pf); } .pf-line .e circle { fill: var(--pf); }
.pf-line .m path { stroke: #8fd5ff; opacity: 0.85; } .pf-line .m circle { fill: #8fd5ff; }
.pf-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 4px; }

.pf-rank { display: flex; flex-direction: column; gap: 9px; }
.pf-rank a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 90px 42px; align-items: center; gap: 10px; color: var(--text); font-size: 13px; }
.pf-rank-n { width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--rc) 20%, transparent); color: var(--rc); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.pf-rank b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.pf-rank small { text-align: right; color: var(--text-2); font-weight: 700; }
.pf-hint { display: flex; gap: 7px; align-items: flex-start; margin: 14px 0 0; font-size: 12.5px; color: var(--text-2); line-height: 1.45; }
.pf-hint svg { width: 15px; height: 15px; color: var(--pf); flex: none; margin-top: 2px; }

.pf-heat { display: grid; grid-template-columns: repeat(var(--w), 1fr); grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; gap: 4px; }
.pf-heat i { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, 0.045); display: block; }
.pf-heat .l05 { background: color-mix(in srgb, var(--pf) 10%, rgba(255, 255, 255, 0.05)); }
.pf-heat .l1, .pf-heat-leg .l1 { background: color-mix(in srgb, var(--pf) 28%, transparent); }
.pf-heat .l2, .pf-heat-leg .l2 { background: color-mix(in srgb, var(--pf) 48%, transparent); }
.pf-heat .l3, .pf-heat-leg .l3 { background: color-mix(in srgb, var(--pf) 72%, transparent); }
.pf-heat .l4, .pf-heat-leg .l4 { background: var(--pf); box-shadow: 0 0 10px -3px var(--pf); }
.pf-heat .fut { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.05); }
.pf-heat-leg { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; font-size: 11px; color: var(--faint); }
.pf-heat-leg i { width: 11px; height: 11px; border-radius: 3px; display: block; }
.pf-heat-leg .l05 { background: color-mix(in srgb, var(--pf) 10%, rgba(255, 255, 255, 0.05)); }
.pf-heat-leg span { margin: 0 4px; }
.pf-w.m .pf-heat, .pf-w.s .pf-heat { gap: 2px; }

.pf-ch { display: flex; flex-direction: column; gap: 12px; }
.pf-ch a { color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.pf-ch b { font-size: 13.5px; }
.pf-ch small { font-size: 11.5px; color: var(--muted); }
.pf-ch i { height: 8px; }
.pf-ch u { position: absolute; top: -2px; bottom: -2px; width: 2px; background: var(--text); opacity: 0.6; border-radius: 1px; }

.pf-course { display: flex; gap: 8px; }
.pf-course i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; border: 1px solid var(--line-2); color: var(--muted); }
.pf-course i.on { background: var(--pf); color: #1c1405; border-color: transparent; }
.pf-course i.now { border-color: var(--pf); color: var(--pf); }
.pf-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.pf-link svg { width: 14px; height: 14px; }
.pf-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pf-pick button { display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; gap: 1px 10px; align-items: center; text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.pf-pick span { grid-row: span 2; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.pf-pick svg { width: 17px; height: 17px; }
.pf-pick b { font-size: 13.5px; } .pf-pick small { font-size: 11.5px; color: var(--muted); }
.pf-pick .used { opacity: 0.6; }

/* Vorschau für Kurs-Kunden */
.pf-lockwrap { position: relative; }
.pf-ghost { filter: blur(3px) saturate(0.9); opacity: 0.55; pointer-events: none; user-select: none; max-height: 980px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.pf-lock-card { position: absolute; z-index: 3; top: 90px; left: 50%; transform: translateX(-50%); width: min(520px, calc(100% - 24px)); padding: 28px; border-radius: 24px; background: color-mix(in srgb, var(--surface-solid) 92%, transparent); backdrop-filter: blur(16px); border: 1px solid var(--gold-line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); display: flex; flex-direction: column; gap: 12px; text-align: left; }
.pf-lock-card h1 { margin: 0; font-size: 30px; letter-spacing: -0.04em; line-height: 1.1; }
.pf-lock-card h1 span { display: block; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pf-lock-card p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.pf-lock-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pf-lock-card li { display: flex; gap: 9px; align-items: flex-start; }
.pf-lock-card li svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- Sprechstunde ---------- */
.sp-av { --sz: 56px; position: relative; width: var(--sz); height: var(--sz); flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--sc) 70%, #fff) 0%, var(--sc) 45%, color-mix(in srgb, var(--sc) 55%, #000) 100%);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--sc) 35%, transparent), 0 10px 26px -12px var(--sc); }
.sp-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sp-av b { font-size: calc(var(--sz) * 0.36); font-weight: 800; letter-spacing: -0.02em; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.sp-av i { position: absolute; right: -3px; bottom: -3px; width: calc(var(--sz) * 0.42); height: calc(var(--sz) * 0.42); min-width: 18px; min-height: 18px; border-radius: 50%; display: grid; place-items: center; background: #0b1222; color: var(--sc); box-shadow: 0 0 0 2px #0b1222; }
.sp-av i svg { width: 62%; height: 62%; }

.sp-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr); gap: 24px; align-items: end; padding: 28px; border-radius: 22px; margin-bottom: 18px;
  background: radial-gradient(90% 120% at 0% 0%, rgba(232, 196, 106, 0.13), transparent 60%), linear-gradient(160deg, #0f1730, #090e1d); border: 1px solid var(--gold-line); }
.sp-hero.locked { grid-template-columns: 1fr; }
.sp-hero h1 { margin: 10px 0 10px; line-height: 1.08; }
.sp-hero .lead { margin: 0; }
.sp-usage { padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.sp-usage .row span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.sp-usage svg { width: 15px; height: 15px; color: var(--gold); }
.sp-usage b { font-size: 14px; }
.sp-meter { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.sp-meter i { display: block; height: 100%; border-radius: 4px; background: var(--gold-grad); transition: width 600ms var(--ease-out); }
.sp-usage.low .sp-meter i { background: linear-gradient(90deg, #ff9a5c, #ff6b7a); }
.sp-more { border: 0; background: none; color: var(--gold); font: inherit; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; padding: 0; }
.sp-more svg { width: 13px; height: 13px; }
.sp-recent { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.sp-recent a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 700; flex: none; }
.sp-recent .sp-av i { display: none; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.sp-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; color: var(--text); overflow: hidden;
  background: linear-gradient(165deg, color-mix(in srgb, var(--sc) 10%, transparent), rgba(255, 255, 255, 0.02) 55%); border: 1px solid color-mix(in srgb, var(--sc) 22%, var(--line)); transition: transform 180ms var(--ease-out), border-color 180ms; }
.sp-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sc) 22%, transparent), transparent 70%); pointer-events: none; }
@media (hover: hover) { a.sp-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--sc) 55%, transparent); } }
a.sp-card:active { transform: scale(0.985); }
.sp-card-top { display: flex; align-items: center; gap: 14px; }
.sp-card-id { display: flex; flex-direction: column; min-width: 0; }
.sp-card-id b { font-size: 17px; letter-spacing: -0.02em; }
.sp-card-id span { font-size: 12.5px; color: var(--sc); font-weight: 700; }
.sp-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 151, 0.15); flex: none; }
.sp-tag { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.sp-knows { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-knows span { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--text-2); }
.sp-knows.c { justify-content: center; }
.sp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
.sp-style { font-size: 12px; color: var(--muted); font-style: italic; }
.sp-go { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: var(--sc); flex: none; }
.sp-go svg { width: 15px; height: 15px; }
.sp-grid.locked .sp-card { opacity: 0.72; }
.sp-legal { display: flex; gap: 8px; align-items: flex-start; /* Text steckt in einem span, damit der Link nicht zur eigenen Spalte wird */ margin: 22px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.sp-legal svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--gold); }
.sp-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--gold-line); background: var(--gold-soft); color: var(--gold); font-size: 12.5px; font-weight: 800; }
.sp-chip svg { width: 14px; height: 14px; }
.sp-chip.low { color: #ff9a8a; border-color: rgba(255, 107, 122, 0.4); background: rgba(255, 107, 122, 0.1); }

/* Chat mit Spezialist: fast Vollbild, Farbe des Spezialisten */
.cc.sc { --sc: var(--primary); }
.cc.sc .cc-sky { background: radial-gradient(70% 50% at 50% 0%, color-mix(in srgb, var(--sc) 22%, transparent), transparent 70%); opacity: 1; }
.sc-head { gap: 10px; }
.sc-who { display: flex; align-items: center; gap: 11px; border: 0; background: none; color: inherit; font: inherit; text-align: left; padding: 0; cursor: pointer; min-width: 0; flex: 1; }
.sc-who .cc-meta { min-width: 0; }
.sc-who .cc-meta b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-who .cc-meta span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: color-mix(in srgb, var(--sc) 70%, #fff); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-who .cc-meta span svg { width: 13px; height: 13px; }
.cc.sc.talking .sc-who .sp-av { animation: scTalk 1.1s ease-in-out infinite; }
@keyframes scTalk { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--sc) 25%, transparent), 0 10px 26px -12px var(--sc); } }
.cc.sc .cc-me > div { background: linear-gradient(135deg, color-mix(in srgb, var(--sc) 85%, #fff 0%), color-mix(in srgb, var(--sc) 70%, #000)); color: #fff; }
.cc.sc .cc-ai .speech { border-left: 2px solid color-mix(in srgb, var(--sc) 60%, transparent); }
.cc.sc .cc-send { background: var(--sc); }
.cc.sc .cc-input:focus-within { border-color: color-mix(in srgb, var(--sc) 60%, transparent); }
.sc-intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 8px 18px; transition: opacity 260ms, transform 260ms; }
.sc-intro.gone { display: none; }
.sc-intro h2 { margin: 10px 0 0; font-size: 24px; letter-spacing: -0.03em; }
.sc-role { margin: 0; color: var(--sc); font-weight: 700; font-size: 13px; }
.sc-tag { margin: 4px 0 6px; max-width: 420px; color: var(--text-2); font-size: 14.5px; }
.sc-starters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 560px; margin-top: 14px; }
.sc-starters button { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--sc) 30%, var(--line)); background: color-mix(in srgb, var(--sc) 7%, transparent); color: var(--text); font: inherit; font-size: 13.5px; line-height: 1.4; cursor: pointer; transition: border-color 160ms, transform 160ms var(--ease-out); }
@media (hover: hover) { .sc-starters button:hover { border-color: var(--sc); } }
.sc-starters button:active { transform: scale(0.98); }
.sc-note { margin: 14px 0 0; max-width: 460px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.sc-sys { margin: 10px auto; max-width: 520px; }
.sc-limit { display: flex; gap: 12px; padding: 16px; border-radius: 16px; border: 1px solid var(--gold-line); background: var(--gold-soft); }
.sc-limit > svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.sc-limit div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 13.5px; }
.sc-limit span { color: var(--text-2); }
.sc-memsheet .ch-mem { max-height: 46vh; overflow: auto; }

/* Mehr KI-Power */
.ai-sheet h2 { margin: 8px 0 6px; }
.ai-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ai-offer { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); }
.ai-offer.best { border-color: var(--gold-line); background: linear-gradient(165deg, rgba(232, 196, 106, 0.12), transparent 70%); }
.ai-best { position: absolute; top: -10px; right: 12px; padding: 3px 9px; border-radius: 999px; background: var(--gold-grad); color: #2a1c05; font-size: 10.5px; font-weight: 800; }
.ai-price { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.ai-price small { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.ai-offer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--text-2); flex: 1; }
.ai-offer li { display: flex; gap: 6px; } .ai-offer li svg { width: 14px; height: 14px; color: var(--gold); flex: none; margin-top: 2px; }

/* ---------- Erinnerungen ---------- */
.rm-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rm-rows { display: flex; flex-direction: column; margin-top: 10px; }
.rm-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.rm-row:last-child { border-bottom: 0; }
.rm-row .sp { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.rm-row.quiet { margin-top: 8px; border-top: 1px solid var(--line); border-bottom: 0; }
.rm-time { width: 104px; height: 38px; padding: 0 10px; }
.rm-time:disabled { opacity: 0.4; }
.rm-sw { position: relative; width: 46px; height: 28px; flex: none; cursor: pointer; }
.rm-sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rm-sw i { position: absolute; inset: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.12); transition: background 180ms; pointer-events: none; }
.rm-sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 200ms var(--ease-out); }
.rm-sw input:checked + i { background: var(--ok); }
.rm-sw input:checked + i::after { transform: translateX(18px); }
.rm-sw input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 2px; }
.rm-ch { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rm-ch:last-child { border-bottom: 0; }
.rm-ch .sp { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.rm-line { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.rm-line li { display: grid; grid-template-columns: 44px 30px 1fr; align-items: center; gap: 10px; padding: 7px 0; }
.rm-line time { font-size: 12.5px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; }
.rm-line i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--text-2); }
.rm-line i svg { width: 15px; height: 15px; }
.rm-line div { display: flex; flex-direction: column; min-width: 0; }
.rm-line b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-line span { font-size: 11.5px; color: var(--muted); }
.rm-line li.done { opacity: 0.5; } .rm-line li.done b { text-decoration: line-through; }
.rm-line li.done i { color: var(--ok); }
.rm-line li.due i { background: color-mix(in srgb, var(--pf, var(--gold)) 22%, transparent); color: var(--pf, var(--gold)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf, var(--gold)) 12%, transparent); }
.rm-line li.due span { color: var(--pf, var(--gold)); font-weight: 700; }
.rm-line li.q { opacity: 0.6; }
.rm-line.compact { margin: 0; }
.rm-banner { position: fixed; z-index: 120; top: max(12px, env(safe-area-inset-top)); left: 50%; transform: translate(-50%, -140%); width: min(520px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 94%, transparent); backdrop-filter: blur(18px); border: 1px solid var(--gold-line); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.85); transition: transform 360ms var(--ease-drawer); }
.rm-banner.in { transform: translate(-50%, 0); }
.rm-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-grad); color: #2a1c05; flex: none; }
.rm-ic svg { width: 19px; height: 19px; }
.rm-banner a { flex: 1; min-width: 0; display: flex; flex-direction: column; color: var(--text); }
.rm-banner a b { font-size: 14px; }
.rm-banner a span { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rm-banner button { width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, 0.06); color: var(--text-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.rm-banner button svg { width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-w.l { grid-column: span 2; }
  .pf-add { grid-column: span 2; }
  .sp-hero { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .rm-grid { grid-template-columns: minmax(0, 1fr); }
  .pf-head { padding: 20px; }
  .pf-head .pf-ring { width: 112px; height: 112px; }
  .pf-kpis { grid-template-columns: repeat(2, 1fr); }
  .pf-actions { flex-direction: column; }
  .pf-tools .pf-tool { flex: 1; min-height: 46px; }
  .sp-hero { padding: 20px; }
  .ai-offers { grid-template-columns: 1fr; }
  .tabbar .tab-pro span:last-child { font-size: 9px; }
}
@media (max-width: 560px) {
  .pf-head { flex-direction: column; align-items: flex-start; }
  .pf-score { position: absolute; top: 16px; right: 14px; }
  .pf-head .pf-ring { width: 88px; height: 88px; }
  .pf-head h1 { font-size: 26px; padding-right: 92px; }
  .pf-w { padding: 15px; min-height: 150px; border-radius: 18px; }
  .pf-grid { gap: 10px; }
  .pf-today { flex-direction: column; align-items: stretch; }
  .pf-today .pf-ring { align-self: center; }
  .pf-big > b { font-size: 38px; }
  .pf-bars { height: 110px; gap: 5px; }
  .pf-rank a { grid-template-columns: 22px minmax(0, 1fr) 60px 38px; }
  .pf-ctl button { width: 27px; height: 27px; }
  .pf-lock-card { top: 40px; padding: 22px; }
  .sc-starters { grid-template-columns: 1fr; }
  .pf-pick, .hs-pick { grid-template-columns: 1fr; }
  .sp-card { padding: 16px; }
}
:root[data-theme='light'] .pf-head, :root[data-theme='light'] .sp-hero { background: linear-gradient(160deg, #fffaf0, #f3f0e6); color: #1d2233; }
:root[data-theme='light'] .pf-w { background: #fff; }
:root[data-theme='light'] .sp-av i, :root[data-theme='light'] .pf-avs .sp-av { box-shadow: 0 0 0 2px #fff; }
:root[data-theme='light'] .sp-av i { background: #fff; }
/* Feinschliff Handy */
.pf-avs .sp-av { margin-left: -6px; }
@media (max-width: 560px) {
  .pf-avs .sp-av:nth-child(n + 4) { display: none; }
  .pf-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .pf-kpis div { padding: 10px 8px; border-radius: 13px; text-align: center; }
  .pf-kpis b { font-size: 18px; }
  .pf-kpis span { font-size: 10px; line-height: 1.25; display: block; margin-top: 2px; }
  .pf-actions { gap: 8px; }
  .pf-tools { gap: 8px; }
}
.cc.sc .cc-back { color: var(--text) !important; }
.cc.sc .cc-mic { background: color-mix(in srgb, var(--sc) 80%, #000); color: #fff; }

/* ---------- Spezialisten-Karten im Stil der Vorlage: Foto oben, Farbverlauf, rundes Porträt, Name groß ---------- */
.sp-card.pic { padding: 0 0 16px; gap: 10px; text-align: center; border: 1px solid color-mix(in srgb, var(--sc) 30%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--sd) 70%, #0b1222) 0%, color-mix(in srgb, var(--sd) 92%, #0b1222) 55%, color-mix(in srgb, var(--sd) 60%, #070b15) 100%); color: #fff; }
.sp-card.pic::before { display: none; }
.sp-pic { position: relative; height: 170px; overflow: hidden; }
.sp-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.sp-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--sd) 30%, transparent) 100%); }
.sp-pic .sp-dot { position: absolute; top: 12px; right: 12px; z-index: 1; }
.sp-pic-av { margin: -52px auto 0; position: relative; z-index: 1; }
.sp-pic-av .sp-av { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc) 80%, #fff), 0 10px 30px rgba(0, 0, 0, 0.45); }
.sp-pic-av .sp-av i { display: none; }
.sp-card-id.c { align-items: center; gap: 4px; padding: 0 16px; }
.sp-card-id.c b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.sp-card-id.c span { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; font-weight: 700; opacity: 0.95; }
.sp-card-id.c span svg { width: 18px; height: 18px; color: color-mix(in srgb, var(--sc) 70%, #fff); }
.sp-claim { margin: 0; padding: 0 16px; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.sp-card.pic .sp-knows { justify-content: center; padding: 0 14px; }
.sp-card.pic .sp-knows span { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.16); }
.sp-card.pic .sp-card-foot { padding: 4px 16px 0; }
.sp-card.pic .sp-style { color: rgba(255, 255, 255, 0.7); text-align: left; }
.sp-card.pic .sp-go { color: #fff; }
.sp-grid:has(.sp-card.pic) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
:root[data-theme='light'] .sp-card.pic { color: #fff; }

/* ---------- Dashboard: Hero mit Bild und Wochenrückblick, Team-Leiste mit Fotos, Startkacheln statt leerer Kästen ---------- */
.pf-hero { min-height: 300px; align-items: flex-end; padding: 32px; background: #070b15; }
.pf-hero::after { background: linear-gradient(90deg, rgba(7, 11, 21, 0.94) 0%, rgba(7, 11, 21, 0.78) 45%, rgba(7, 11, 21, 0.25) 100%), linear-gradient(0deg, rgba(7, 11, 21, 0.85), transparent 55%); }
.pf-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0.9; }
.pf-hero .pf-head-copy, .pf-hero .pf-score { position: relative; z-index: 1; }
.pf-hero .pf-head-copy { max-width: 620px; }
.pf-week { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pf-week b { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--pf); flex: none; }
.pf-week.up b { color: #4fd69c; }
.pf-week.down b { color: #ff9a7a; }
.pf-week span { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips span { display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }
.pf-chips b { color: #fff; font-size: 14px; }

.pf-team { position: relative; display: flex; align-items: center; gap: 20px; margin: 14px 0 0; padding: 18px 20px; border-radius: 20px; color: var(--text); overflow: hidden;
  background: linear-gradient(120deg, rgba(232, 196, 106, 0.16), rgba(123, 147, 255, 0.08) 60%, rgba(178, 140, 255, 0.12)); border: 1px solid var(--gold-line); transition: transform 160ms var(--ease-out), border-color 160ms; }
@media (hover: hover) { .pf-team:hover { border-color: var(--gold); } }
.pf-team:active { transform: scale(0.99); }
.pf-team-t { display: flex; flex-direction: column; gap: 3px; flex: none; max-width: 260px; }
.pf-team-t .pf-ey { color: var(--gold); }
.pf-team-t b { font-size: 17px; letter-spacing: -0.02em; }
.pf-team-t small { color: var(--text-2); font-size: 12.5px; }
.pf-team-row { flex: 1; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.pf-team-row::-webkit-scrollbar { display: none; }
.pf-team-p { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: none; }
.pf-team-p img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--sc), 0 6px 16px rgba(0, 0, 0, 0.35); }
.pf-team-p small { font-size: 11px; font-weight: 700; color: var(--text-2); }
.pf-team-go svg { width: 22px; height: 22px; color: var(--gold); }
.pf-actions.slim { justify-content: flex-end; margin: 12px 0; }
.pf-actions.slim .pf-tool { height: 42px; }

.pf-starts { margin: 0 0 16px; }
.pf-starts-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 2px 10px; }
.pf-starts-h b { font-size: 18px; letter-spacing: -0.02em; }
.pf-starts-h span { color: var(--muted); font-size: 13px; }
.pf-starts-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.pf-start { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; border-radius: 18px; overflow: hidden; color: #fff; border: 1px solid var(--line-2); transition: transform 180ms var(--ease-out); }
.pf-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.pf-start::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 21, 0.05) 20%, rgba(7, 11, 21, 0.92) 100%); }
.pf-start div { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; padding: 16px; }
.pf-start b { font-size: 17px; letter-spacing: -0.02em; }
.pf-start span { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.pf-start em { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-style: normal; font-weight: 800; font-size: 13px; color: var(--pf); }
.pf-start em svg { width: 15px; height: 15px; }
@media (hover: hover) { .pf-start:hover img { transform: scale(1.05); } .pf-start:hover { transform: translateY(-2px); } }

@media (max-width: 720px) {
  .pf-hero { flex-direction: column; align-items: stretch; padding: 22px; min-height: 0; }
  .pf-hero::after { background: linear-gradient(180deg, rgba(7, 11, 21, 0.55) 0%, rgba(7, 11, 21, 0.92) 60%); }
  .pf-hero .pf-score { position: absolute; top: 18px; right: 16px; transform: scale(0.62); transform-origin: top right; }
  .pf-hero h1 { padding-right: 90px; }
  .pf-week b { font-size: 24px; }
  .pf-team { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .pf-team-t { max-width: none; }
  .pf-team-go { position: absolute; top: 16px; right: 16px; }
  .pf-start { min-height: 170px; }
}
:root[data-theme='light'] .pf-hero h1, :root[data-theme='light'] .pf-hero .pf-ey { color: #fff; }
:root[data-theme='light'] .pf-hero p { color: rgba(255, 255, 255, 0.85); }
:root[data-theme='light'] .pf-hero .pf-ring-n { fill: #fff; }
.pf-hero .pf-score.none { display: none; }
/* routinen.css setzt .l1–.l4 global mit !important (Variable --c); im Dashboard gilt die Akzentfarbe */
.pf-heat .l1, .pf-heat-leg .l1 { background: color-mix(in srgb, var(--pf) 28%, transparent) !important; box-shadow: none; }
.pf-heat .l2, .pf-heat-leg .l2 { background: color-mix(in srgb, var(--pf) 48%, transparent) !important; box-shadow: none; }
.pf-heat .l3, .pf-heat-leg .l3 { background: color-mix(in srgb, var(--pf) 72%, transparent) !important; box-shadow: none; }
.pf-heat .l4, .pf-heat-leg .l4 { background: var(--pf) !important; box-shadow: 0 0 10px -3px var(--pf); }
.pf-heat { width: 100%; max-width: calc(var(--w) * 30px); margin: 0 auto; }
.pf-hint { display: block; }
.pf-hint svg { display: inline; vertical-align: -2px; margin-right: 4px; }
.ls-pro { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(232, 196, 106, 0.14), rgba(232, 196, 106, 0.03)); border: 1px solid var(--gold-line); font-size: 13px; color: var(--text-2); }
.ls-pro > svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.ls-pro span { flex: 1; min-width: 200px; line-height: 1.45; }
.ls-pro b { color: var(--text); }
/* Erinnerungen: Symbol im Kopf und Uhrzeitfelder hatten keine feste Größe */
.rm-page .page-head .eyebrow svg { width: 15px; height: 15px; flex: none; }
.rm-page .page-head .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.rm-row .rm-time { display: inline-block; width: 128px; flex: none; height: 40px; padding: 0 10px; }
.rm-row.quiet .rm-time { width: 120px; }

/* ---------- Dein Tag: das Tägliche oben im Dashboard (Stil wie Routinen) ---------- */
.dt { margin: 14px 0 0; padding: 22px; border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(120% 90% at 100% 0%, rgba(79, 214, 156, 0.10), transparent 55%), linear-gradient(160deg, #0f1730, #0a1020); }
.dt-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dt-head .pf-ey { color: #4fd69c; }
.dt-head h2 { margin: 8px 0 4px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; font-weight: 800; }
.dt-head p { margin: 0; color: var(--text-2); font-size: 14px; }
.dt-head p b { color: var(--text); }
.dt-prog { flex: none; }
.dt-prog .pf-ring .v { stroke: #4fd69c; }
.dt-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.dt-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dt-h { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.dt-h > svg { width: 15px; height: 15px; }
.dt-h a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text-2); padding: 6px 0; }
.dt-h a svg { width: 14px; height: 14px; }
.dt-r { --c: var(--pf); display: block; padding: 14px; border-radius: 18px; color: var(--text); border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--c) 14%, transparent), transparent 55%), var(--surface); }
.dt-r.late { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 25%, transparent), 0 10px 30px -12px color-mix(in srgb, var(--c) 50%, transparent); }
.dt-r header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dt-r header > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dt-r header b { font-size: 16px; letter-spacing: -0.01em; }
.dt-r header small { font-size: 12.5px; color: var(--muted); }
.dt-r header small i { font-style: normal; color: var(--c); font-weight: 800; }
.dt-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.dt-ic svg { width: 19px; height: 19px; }
.dt-n { flex: none; min-width: 44px; height: 30px; padding: 0 10px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: 13px; border: 2px solid color-mix(in srgb, var(--c) 55%, var(--line-2)); }
.dt-steps { display: grid; gap: 2px; }
.dt-step, .dt-task { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 4px; border: 0; background: none; color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; border-radius: 10px; }
.dt-step:active .dt-box, .dt-task:active .dt-box { transform: scale(0.85); }
.dt-box { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; border: 2px solid color-mix(in srgb, var(--c, #4fd69c) 55%, var(--line-2)); transition: background-color 0.25s, border-color 0.25s, transform 0.2s var(--ease-out); }
.dt-box svg { width: 17px; height: 17px; color: #06101a; stroke-width: 3; opacity: 0; transform: scale(0.4); transition: opacity 0.2s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.dt-step.on .dt-box, .dt-task.on .dt-box { background: var(--c, #4fd69c); border-color: var(--c, #4fd69c); box-shadow: 0 0 14px -2px var(--c, #4fd69c); }
.dt-step.on .dt-box svg, .dt-task.on .dt-box svg { opacity: 1; transform: scale(1); }
.dt-step.on > span:last-child, .dt-task.on > span:last-child { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.dt-r.held { display: flex; align-items: center; gap: 12px; padding: 10px 14px; opacity: 0.85; }
.dt-r.held b { flex: 1; font-size: 15px; }
.dt-r.held em { display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--c); color: #1c1405; }
.dt-r.held em svg { width: 13px; height: 13px; stroke-width: 3; }
.dt-tasks { display: grid; gap: 2px; padding: 4px 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.dt-tasks:empty { display: none; }
.dt-task b { color: #4fd69c; margin-right: 4px; }
.dt-add { display: flex; gap: 8px; }
.dt-add .input { flex: 1; min-width: 0; height: 46px; }
.dt-extras { display: grid; gap: 8px; }
.dt-x { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 52px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.dt-x .dt-box { --c: var(--pf); }
.dt-x .dt-box svg { opacity: 1; transform: none; color: var(--pf); stroke-width: 2; width: 15px; height: 15px; }
.dt-x.on .dt-box { background: #4fd69c; border-color: #4fd69c; }
.dt-x.on .dt-box svg { color: #06101a; stroke-width: 3; }
.dt-x > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dt-x b { font-size: 14.5px; }
.dt-x small { font-size: 12.5px; color: var(--muted); }
.dt-x.on b { color: var(--muted); }
.dt-x > svg { width: 16px; height: 16px; color: var(--pf); flex: none; }
.dt-empty { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--text); }
.dt-empty > svg { width: 22px; height: 22px; color: #4fd69c; }
.dt-empty span { display: flex; flex-direction: column; }
.dt-empty small { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .dt-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .dt { padding: 16px; } .dt-head { align-items: flex-start; } .dt-prog { transform: scale(0.8); transform-origin: top right; } }

/* Prüfbericht: Ranking als eine Zeile, Jahresbild größer, Erinnerungen am Handy, Zeitfelder */
.pf-rank i { grid-column: auto; }
.pf-heat { max-width: calc(var(--w) * 44px); }
.rm-time { min-width: 120px; }
@media (max-width: 600px) {
  .rm-chan .rm-ch { flex-wrap: wrap; }
  .rm-chan .rm-ch > .btn, .rm-chan .rm-ch > #pushCtl { margin-left: 52px; }
  .rm-row .sp { min-width: 0; flex-basis: calc(100% - 60px); }
}

/* Soforthilfe: Krisennummern als große Tippflächen */
.sh-crisis { flex-wrap: wrap; }
.sh-tel { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-top: 10px; }
.sh-tel a { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); color: var(--text); text-decoration: none; }
.sh-tel b { font-size: 16px; letter-spacing: 0.01em; }
.sh-tel small { font-size: 12px; color: var(--muted); }
.sh-tel a.sos { border-color: rgba(255, 107, 122, 0.5); background: rgba(255, 107, 122, 0.1); }
.sh-tel a.sos b { color: #ff8a96; }

/* Prüfbericht: Ruhe & Fokus am Handy lesbar (mind. 11 px), Titel nicht abgeschnitten */
@media (max-width: 600px) {
  .ritual-cover .eyebrow, .ritual-heading .eyebrow { font-size: 11px; }
  .ritual-cover p:not(.eyebrow) { font-size: 13px; }
  .ritual-cover .btn { font-size: 13px; }
  .ritual-sos-link small, .ritual-category-nav button { font-size: 12px; }
  .ritual-section-title > span, .ritual-safety, .ritual-sources, .ritual-voice-status, .listen-button, .ritual-remaining, .ritual-comfort, .ritual-illustration-note { font-size: 12px; }
  .ritual-card-copy > span, .body-card .ritual-card-copy > span { font-size: 11px; letter-spacing: 0.04em; }
  .ritual-card-copy > p, .body-card .ritual-card-copy p { font-size: 12px; }
  .ritual-card-copy > div small, .body-card .ritual-card-copy > div small, .routine-step-top > span:first-child, .ground-index, .focus-game-top small, .breath-phase-list > span, .breath-phase-list b, .breath-words > small, .pose-index { font-size: 11px; }
  .ritual-card h3, .body-card h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; white-space: normal; }
  .rt-stamp { top: auto; right: auto; bottom: 16px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
}

/* Spezialisten-Karten v2: großes sauberes Foto, Name auf dem Bild, kein rundes Porträt (das gibt es nur im Chat) */
.sp-card.pic { gap: 12px; }
.sp-pic { height: auto; aspect-ratio: 254 / 215; }
.sp-pic img { object-position: 50% 30%; -webkit-mask-image: none; mask-image: none; }
.sp-pic::after { background: linear-gradient(180deg, transparent 38%, color-mix(in srgb, var(--sd) 55%, transparent) 70%, color-mix(in srgb, var(--sd) 70%, #0b1222) 100%); }
.sp-pic-id { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 16px 14px; text-align: left; }
.sp-pic-id b { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }
.sp-pic-id span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #fff; background: rgba(10, 14, 26, 0.45); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sp-pic-id span svg { width: 15px; height: 15px; color: color-mix(in srgb, var(--sc) 65%, #fff); }
.sp-card.pic .sp-claim { text-align: left; font-size: 14.5px; font-weight: 600; color: #fff; }
.sp-card.pic .sp-knows { justify-content: flex-start; padding: 0 16px; }
.sp-card.pic { background: linear-gradient(180deg, color-mix(in srgb, var(--sd) 70%, #0b1222) 0%, color-mix(in srgb, var(--sd) 70%, #0b1222) 48%, color-mix(in srgb, var(--sd) 50%, #070b15) 100%); }

/* Jonas-Karte: Morgen-Check und Abend-Review passieren im Gespräch */
.jc { display: flex; gap: 14px; align-items: flex-start; padding: 16px; margin: 0 0 18px; border-radius: 20px; color: var(--text); text-decoration: none;
  background: linear-gradient(135deg, rgba(111, 140, 255, 0.16), rgba(111, 140, 255, 0.04)); border: 1px solid rgba(111, 140, 255, 0.35); transition: transform 160ms var(--ease-out), border-color 160ms; }
.jc.evening, .jc.night { background: linear-gradient(135deg, rgba(178, 140, 255, 0.18), rgba(178, 140, 255, 0.04)); border-color: rgba(178, 140, 255, 0.4); }
.jc.done, .jc.day { background: var(--surface); border-color: var(--line-2); }
@media (hover: hover) { .jc:hover { border-color: #6f8cff; } }
.jc:active { transform: scale(0.99); }
.jc-av { width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 2px #6f8cff, 0 6px 18px rgba(0, 0, 0, 0.35); }
.jc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.jc-who { display: flex; align-items: baseline; gap: 8px; }
.jc-who b { font-size: 15px; }
.jc-who span { font-size: 12px; color: #9fb2ff; font-weight: 700; }
.jc-msg { margin: 0; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: rgba(255, 255, 255, 0.07); font-size: 15px; line-height: 1.5; color: var(--text); }
.jc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jc-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(79, 214, 156, 0.12); color: #7fe0b8; }
.jc-chips svg { width: 12px; height: 12px; stroke-width: 3; }
.jc-cta { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 14px; background: #6f8cff; color: #fff; }
.jc.evening .jc-cta, .jc.night .jc-cta { background: #9d7bff; }
.jc.done .jc-cta, .jc.day .jc-cta { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.jc-cta svg { width: 16px; height: 16px; }
.jc.compact { margin: 0; }
.jc.compact .jc-av { width: 46px; height: 46px; }
.jc-mini { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; margin-left: -8px; box-shadow: 0 0 0 2px #0b1222; }
.jc-mini:first-child { margin-left: 0; }
.jc-cta { white-space: nowrap; }
@media (max-width: 600px) {
  .jc { padding: 14px; gap: 12px; }
  .jc-av { width: 44px; height: 44px; }
  .jc-msg { font-size: 14.5px; }
  .jc-cta { align-self: stretch; justify-content: center; min-height: 46px; }
}

/* Sprechstunde: Jonas als Tagescoach oben, darunter die Fachleute */
.sp-lead { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); margin: 0 0 26px; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; border: 1px solid color-mix(in srgb, var(--sc) 45%, transparent);
  background: linear-gradient(120deg, color-mix(in srgb, var(--sd) 85%, #0b1222), #0d1428 70%); transition: transform 180ms var(--ease-out), border-color 180ms; }
@media (hover: hover) { .sp-lead:hover { transform: translateY(-2px); border-color: var(--sc); } }
.sp-lead-pic { position: relative; min-height: 260px; }
.sp-lead-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.sp-lead-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, color-mix(in srgb, var(--sd) 70%, #0b1222)), linear-gradient(180deg, transparent 55%, rgba(5, 8, 16, 0.65)); }
.sp-lead-copy { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.sp-lead-copy .eyebrow { color: #9fb2ff; display: inline-flex; align-items: center; gap: 6px; }
.sp-lead-copy .eyebrow svg { width: 15px; height: 15px; }
.sp-lead-copy h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; font-weight: 800; }
.sp-lead-copy p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 15px; line-height: 1.55; max-width: 560px; }
.sp-lead-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-lead-steps span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.sp-lead-steps svg { width: 15px; height: 15px; color: #9fb2ff; }
.sp-lead-go { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 4px; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #6f8cff; font-weight: 800; font-size: 15px; }
.sp-lead-go svg { width: 17px; height: 17px; }
.sp-sec { margin: 0 0 14px; }
.sp-sec h2 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.sp-sec p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.sp-team { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 16px 18px; border-radius: 18px; background: rgba(79, 214, 156, 0.07); border: 1px solid rgba(79, 214, 156, 0.25); }
.sp-team > svg { width: 22px; height: 22px; color: #4fd69c; flex: none; margin-top: 2px; }
.sp-team div { display: flex; flex-direction: column; gap: 3px; }
.sp-team b { font-size: 15px; }
.sp-team span { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
@media (max-width: 760px) { .sp-lead { grid-template-columns: 1fr; } .sp-lead-pic { min-height: 0; aspect-ratio: 16 / 10; } .sp-lead-pic::after { background: linear-gradient(180deg, transparent 50%, color-mix(in srgb, var(--sd) 80%, #0b1222)); } .sp-lead-copy { padding: 18px; } .sp-lead-go { align-self: stretch; justify-content: center; } }
@media (max-width: 600px) {
  .sp-grid:has(.sp-card.pic) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sp-card.pic { padding-bottom: 12px; gap: 8px; border-radius: 16px; }
  .sp-card.pic .sp-knows, .sp-card.pic .sp-style { display: none; }
  .sp-card.pic .sp-pic-id { padding: 0 10px 10px; gap: 4px; }
  .sp-card.pic .sp-pic-id b { font-size: 20px; }
  .sp-card.pic .sp-pic-id span { font-size: 11px; padding: 3px 8px 3px 6px; }
  .sp-card.pic .sp-pic-id span svg { width: 12px; height: 12px; }
  .sp-card.pic .sp-claim { padding: 0 10px; font-size: 12.5px; line-height: 1.4; }
  .sp-card.pic .sp-card-foot { padding: 0 10px; justify-content: flex-end; }
}

/* Runde 2 */
.jc-done { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(79, 214, 156, 0.08); border: 1px solid rgba(79, 214, 156, 0.25); }
.jc-done img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.jc-done div { display: flex; flex-direction: column; gap: 2px; }
.jc-done b { font-size: 14px; }
.jc-done span { font-size: 13px; color: var(--text-2); }
.check .del { min-width: 40px; min-height: 40px; padding: 0; display: grid; place-items: center; }
.check .del svg { width: 16px; height: 16px; }
@media (hover: none) { .check .del { opacity: 0.75; } }
input[type='time'].input { min-width: 128px; }
.sp-grid:has(.sp-card.pic) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .sp-grid:has(.sp-card.pic) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-grid .sp-card.pic:last-child:nth-child(odd) { grid-column: 1 / -1; } .sp-grid .sp-card.pic:last-child:nth-child(odd) .sp-pic { aspect-ratio: 16 / 9; } }
@media (max-width: 600px) {
  .pf-week { flex-direction: column; align-items: flex-start; gap: 6px; }
  .rm-chan .rm-ch .sp { flex-basis: calc(100% - 60px); min-width: 0; }
  .rm-chan .rm-ch #pushCtl { margin-left: 52px; }
}
.pf-rank a { min-height: 40px; }
.dt-h a { min-height: 40px; padding: 0 4px; }
.ritual-card h3, .body-card h3, .ritual-card-copy h3 { overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }

/* Jonas im Chat: Aktions-Knopf, Schnellantworten, Morgen-Check/Abend-Review als Pop-up */
.jc-act { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 15px; background: var(--sc, #6f8cff); color: #fff; cursor: pointer; box-shadow: 0 8px 22px -10px var(--sc, #6f8cff); }
.jc-act svg { width: 18px; height: 18px; }
.jc-act.done { background: rgba(79, 214, 156, 0.14); color: #7fe0b8; box-shadow: none; min-height: 36px; font-size: 13px; padding: 0 12px; }
.jc-chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jc-chips2 button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.mc { display: flex; flex-direction: column; gap: 18px; }
.mc-head { display: flex; align-items: center; gap: 14px; padding-right: 36px; }
.mc-head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #6f8cff; }
.mc-head .eyebrow { color: #9fb2ff; }
.mc-head h2 { margin: 2px 0 0; font-size: 22px; letter-spacing: -0.02em; }
.mc-q { display: flex; flex-direction: column; gap: 8px; }
.mc-q label { font-weight: 700; font-size: 15px; }
.mc-q label small { font-weight: 500; color: var(--muted); }
.mc-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.mc-scale button { height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.mc-scale button.on { background: #6f8cff; border-color: #6f8cff; color: #fff; transform: scale(1.06); }
.mc-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.mc-sleep { display: flex; align-items: center; gap: 10px; }
.mc-sleep button { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 22px; cursor: pointer; }
.mc-sleep input { width: 80px; height: 46px; text-align: center; font: inherit; font-size: 22px; font-weight: 800; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
.mc-sleep span { color: var(--muted); }
.mc textarea { width: 100%; min-height: 64px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; resize: vertical; }
.mc-go { min-height: 52px; font-size: 16px; }
@media (max-width: 420px) { .mc-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
