/* Hestia Startseite. Werte aus dem App-Design „Wärme“ (src/lib/theme.ts). */
@font-face {
  font-family: 'Newsreader';
  src: url('fonts/Newsreader-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #F4F3EF;
  --surface: #FFFFFF;
  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.1);
  --text: #1B1C1E;
  --sub: #6B6B70;
  --faint: #A2A2A7;
  --accent: #1B1C1E;
  --on-accent: #F4F3EF;
  --indigo: #5856D6;
  --teal: #30B0C7;
  --pink: #FF2D55;
  --green: #34C759;
  --green-ink: #248A3D;
  --green-soft: rgba(52, 199, 89, 0.14);
  --orange: #FF9500;
  --orange-ink: #B36800;
  --orange-soft: rgba(255, 149, 0, 0.14);
  --red: #FF3B30;
  --red-soft: rgba(255, 59, 48, 0.12);
  --protein: #AF52DE;
  --track: rgba(0, 0, 0, 0.07);
  --phone: #1A1A1C;
  --flame: rgba(255, 149, 0, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --r-card: 22px;
  --r-phone: 50px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0F10;
    --surface: #18191B;
    --line: rgba(255, 255, 255, 0.07);
    --line-strong: rgba(255, 255, 255, 0.12);
    --text: #F2F0EA;
    --sub: #9A9AA0;
    --faint: #5E5E63;
    --accent: #F2F0EA;
    --on-accent: #0E0F10;
    --indigo: #5E5CE6;
    --teal: #40C8E0;
    --pink: #FF375F;
    --green: #30D158;
    --green-ink: #30D158;
    --green-soft: rgba(48, 209, 88, 0.2);
    --orange: #FF9F0A;
    --orange-ink: #FFB340;
    --orange-soft: rgba(255, 159, 10, 0.2);
    --red: #FF453A;
    --red-soft: rgba(255, 69, 58, 0.2);
    --protein: #BF5AF2;
    --track: rgba(255, 255, 255, 0.09);
    --phone: #2A2A2D;
    --flame: rgba(255, 159, 10, 0.12);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--sub); font-size: 14px; }
.center { text-align: center; }

/* ---------- Typografie ---------- */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
}
.display em { font-style: normal; position: relative; white-space: nowrap; }
.display em::after {
  content: '';
  position: absolute;
  left: 2%; right: 4%; bottom: 0.04em;
  height: 0.07em;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--indigo), var(--teal), var(--pink));
  transform-origin: left;
  transform: scaleX(0);
  animation: underline 0.9s var(--ease) 1.1s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.display .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.display .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.display .line:nth-child(2) > span { animation-delay: 0.12s; }
@keyframes rise { to { transform: none; } }

.display-2 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -0.03em; margin: 24px 0 12px; }
.h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.028em; margin: 0 0 18px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--sub); max-width: 30ch; margin: 0 0 32px; line-height: 1.5; }
.body { color: var(--sub); max-width: 52ch; margin: 0 0 20px; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sub); margin-bottom: 14px; }

/* ---------- Knöpfe ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(0.97); }
.pill-small { height: 38px; padding: 0 18px; font-size: 15px; }
.textlink { color: var(--text); font-weight: 600; text-decoration: none; transition: opacity 0.2s; }
.textlink::after { content: ' →'; display: inline-block; transition: transform 0.2s var(--ease); }
.textlink:hover::after { transform: translateX(3px); }
.textlink:active { opacity: 0.5; }
.cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 max(20px, calc((100vw - 1240px) / 2));
  transition: background 0.3s, border-color 0.3s, height 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 58px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; }
.nav-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--sub); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Abschnitte ---------- */
main { overflow-x: clip; }
.sec { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: 1240px; margin: 0 auto;
  padding: 96px 20px 48px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-glow {
  position: absolute; z-index: 0; right: -10%; top: 6%;
  width: 760px; height: 760px; border-radius: 50%;
  background:
    radial-gradient(closest-side at 46% 54%, var(--flame), transparent 70%),
    radial-gradient(closest-side at 64% 40%, color-mix(in srgb, var(--indigo) 16%, transparent), transparent 70%),
    radial-gradient(closest-side at 36% 36%, color-mix(in srgb, var(--teal) 14%, transparent), transparent 70%);
  filter: blur(20px);
  animation: breathe 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes breathe { from { transform: scale(0.94) rotate(0deg); } to { transform: scale(1.06) rotate(12deg); } }
.hero-stage { position: relative; z-index: 1; display: flex; justify-content: center; perspective: 1400px; }
.load { opacity: 0; transform: translateY(18px); animation: fadeup 0.9s var(--ease) var(--d, 0s) forwards; }
@keyframes fadeup { to { opacity: 1; transform: none; } }

/* ---------- Telefon ---------- */
.phone {
  position: relative;
  width: 320px; height: 660px; flex: none;
  border-radius: var(--r-phone);
  background: var(--phone);
  padding: 11px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 50px 90px -30px rgba(40, 30, 10, 0.35),
    0 24px 40px -24px rgba(40, 30, 10, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.island { position: absolute; z-index: 3; top: 22px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
.screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 40px;
  background: var(--bg);
  display: flex; flex-direction: column;
  font-size: 13px;
}
.status { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 28px 0 34px; font-weight: 600; font-size: 14px; flex: none; }
.status-r { width: 44px; height: 11px; border-radius: 3px; background: linear-gradient(90deg, var(--text) 0 62%, transparent 62%); opacity: 0.85; mask: linear-gradient(90deg, #000 0 20%, transparent 20% 27%, #000 27%); -webkit-mask: linear-gradient(90deg, #000 0 20%, transparent 20% 27%, #000 27%); }
.scr-pad { padding: 6px 16px 0; flex: 1; overflow: hidden; }
.today-head { display: flex; justify-content: space-between; align-items: flex-start; margin: 6px 0 10px; }
.scr-title { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.1; letter-spacing: -0.02em; }
.scr-meta { color: var(--sub); font-size: 12px; margin-top: 3px; }
.scr-group { font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sub); margin: 14px 2px 6px; }
.scr-group.split { display: flex; justify-content: space-between; }
.streak { color: var(--pink); letter-spacing: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; }

.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #fff; font-weight: 600; font-size: 13px;
  background: var(--c);
}
.avatar.sm { width: 32px; height: 32px; font-size: 13px; }
.av-indigo { --c: var(--indigo); }
.av-teal { --c: var(--teal); }
.av-pink { --c: var(--pink); }
.ringwrap { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ringwrap > svg { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.ringwrap .rv { transition: stroke-dashoffset 1.2s var(--ease); }
.ringwrap .avatar { width: calc(100% - 16px); height: calc(100% - 16px); font-size: calc(var(--s, 46px) * 0.32); }

.eat-row { display: flex; align-items: center; gap: 12px; }
.eat-txt { flex: 1; }
.eat-kcal { font-size: 13px; color: var(--sub); }
.eat-kcal b { color: var(--text); font-size: 17px; font-weight: 600; }
.eat-kcal.big b { font-size: 34px; letter-spacing: -0.02em; }
.eat-kcal.over em { color: var(--orange-ink); font-style: normal; font-weight: 600; }
.protein { display: grid; gap: 4px; margin-top: 4px; font-size: 11px; color: var(--sub); }
.protein i { display: block; height: 3px; border-radius: 9px; background: var(--track); overflow: hidden; }
.protein i b { display: block; height: 100%; width: var(--w); background: var(--protein); border-radius: 9px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
.in .protein i b, .hero .protein i b.go { transform: scaleX(1); }
.protein.lg { font-size: 14px; margin: 8px 0 22px; }
.protein.lg i { height: 5px; }
.supp { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.dot-circle { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--faint); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: grid; justify-items: start; gap: 2px; transition: box-shadow 0.6s var(--ease); }
.tile-name { font-weight: 600; font-size: 14px; margin-top: 6px; }
.tile-sub { color: var(--sub); font-size: 11.5px; }
.glow-teal-on { box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal) 40%, transparent), 0 8px 26px -6px color-mix(in srgb, var(--teal) 45%, transparent); }
.tile.glow-indigo { box-shadow: 0 0 0 1px color-mix(in srgb, var(--indigo) 40%, transparent), 0 8px 26px -6px color-mix(in srgb, var(--indigo) 50%, transparent); }
.task-mini { display: flex; align-items: center; gap: 12px; margin-top: 8px; transition: opacity 0.4s, transform 0.4s var(--ease); }
.task-mini.gone { opacity: 0; transform: translateY(-6px) scale(0.98); }
.row-t { font-weight: 500; font-size: 14px; }

.circle {
  --cc: var(--indigo);
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  border: 1.8px solid var(--faint);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.24s var(--ease), border-color 0.24s, transform 0.24s var(--ease);
}
.circle[data-c="teal"] { --cc: var(--teal); }
.circle[data-c="green"] { --cc: var(--green); }
.circle svg { width: 16px; height: 16px; opacity: 0; transform: scale(0.4); transition: all 0.24s var(--ease); }
.circle.done { background: var(--cc); border-color: var(--cc); }
.circle.done svg { opacity: 1; transform: none; }
.circle:active { transform: scale(0.88); }

.accessory { margin: 0 12px 6px; display: flex; gap: 6px; align-items: center; flex: none; }
.acc-ask { flex: 1; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--sub); font-size: 13.5px; }
.acc-ask svg { width: 18px; height: 18px; color: var(--text); }
.acc-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.acc-btn svg { width: 18px; height: 18px; }
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 8px 10px 22px; font-size: 10.5px; color: var(--faint); flex: none; }
.tabbar .on { color: var(--text); font-weight: 600; }

/* ---------- Kernfunktionen direkt unter dem Einstieg ---------- */
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
.core { max-width: 1240px; margin: 0 auto; padding: 0 20px clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.core-tile {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px 18px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.9s var(--ease);
}
.core-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(40, 30, 10, 0.35); }
.core-tile:active { transform: scale(0.98); }
.core-tile h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; line-height: 1.15; margin: 18px 2px 6px; }
.core-tile p { margin: 0 2px; color: var(--sub); font-size: 15px; line-height: 1.5; }
.core-tile h3::after { content: ' →'; font-family: var(--sans); font-size: 18px; color: var(--faint); display: inline-block; transition: transform 0.2s var(--ease), color 0.2s; }
.core-tile:hover h3::after { transform: translateX(4px); color: var(--text); }
.core .reveal:nth-child(2) { transition-delay: 0.07s; }
.core .reveal:nth-child(3) { transition-delay: 0.14s; }
.core .reveal:nth-child(4) { transition-delay: 0.21s; }
.ct-vis { position: relative; height: 150px; border-radius: 16px; background: var(--bg); overflow: hidden; display: grid; place-items: center; }

.ct-voice { align-content: center; justify-items: stretch; gap: 8px; padding: 0 14px; }
.ct-bubble { justify-self: end; background: var(--accent); color: var(--on-accent); font-size: 14px; padding: 8px 12px; border-radius: 16px 16px 5px 16px; animation: ctIn 4.2s var(--ease) infinite; }
.ct-reply { justify-self: start; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; padding: 7px 12px 7px 8px; border-radius: 99px; animation: ctIn 4.2s var(--ease) 0.7s infinite; }
.ct-reply .ic { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.ct-reply .ic svg { width: 13px; height: 13px; }
@keyframes ctIn { 0%, 6% { opacity: 0; transform: translateY(10px) scale(0.96); } 16%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-4px); } }

.ct-paper { position: relative; width: 74px; height: 104px; background: #FFFEFA; border-radius: 4px 4px 0 0; padding: 14px 10px; display: grid; gap: 7px; align-content: start; transform: rotate(-4deg); box-shadow: 0 14px 24px -14px rgba(40, 30, 10, 0.5); overflow: hidden; }
.ct-paper i { height: 4px; border-radius: 2px; background: #D6D3CB; }
.ct-paper i:nth-child(2n) { width: 70%; }
.ct-scan { position: absolute; left: 0; right: 0; height: 18px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--green) 45%, transparent), transparent); animation: ctScan 3s ease-in-out infinite; }
@keyframes ctScan { 0% { top: -20px; } 55%, 100% { top: 110px; } }
.ct-plus { position: absolute; right: 14px; bottom: 14px; background: var(--green-soft); color: var(--green-ink); font-weight: 600; font-size: 13px; padding: 5px 11px; border-radius: 99px; animation: ctPop 3s var(--ease) infinite; }
@keyframes ctPop { 0%, 50% { opacity: 0; transform: scale(0.6); } 62%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.ct-rings { grid-auto-flow: column; gap: 18px; }
.cring { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; animation: ctGlow 4s ease-out infinite; }
.cring::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--track) 0); -webkit-mask: radial-gradient(circle, transparent 31px, #000 31.5px); mask: radial-gradient(circle, transparent 31px, #000 31.5px); animation: ctFill 4s var(--ease) infinite; }
.cring.late::before { animation-delay: 0.5s; }
.cring.late { animation-delay: 0.5s; }
.cring .avatar { width: 52px; height: 52px; font-size: 18px; }
@keyframes ctFill { 0% { --p: 0; } 55%, 100% { --p: 100; } }
@keyframes ctGlow { 0%, 50% { box-shadow: 0 0 0 0 transparent; } 62% { box-shadow: 0 0 26px 2px color-mix(in srgb, var(--c) 60%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }

.ct-plates { display: grid; grid-auto-flow: column; align-items: end; gap: 14px; }
.ct-food { grid-auto-flow: column; gap: 34px; padding-bottom: 6px; }
.ct-food .ct-plates span { width: 56px; height: 56px; }
.ct-food .ct-plus { right: auto; left: 50%; bottom: 12px; translate: -50% 0; }
.core-ai { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; }
.core-ai .ct-vis { flex: 1.1; height: 190px; }
.core-ai-text { flex: 1; padding-right: 12px; }
.core-ai-text .eyebrow { margin: 0 2px 6px; }
.core-ai h3 { margin-top: 0; font-size: 30px; }
.ct-reply.r2 { animation-delay: 1.2s; }
.ct-voice .ct-bubble { max-width: 80%; }
.ct-plates span { width: 64px; height: 64px; border-radius: 50%; border: 5px solid var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); transform: scale(0.3); animation: ctPlate 3.6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.ct-plates span:nth-child(2) { animation-delay: 0.15s; }
.ct-plates span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ctPlate { 0% { transform: scale(0.3); opacity: 0.4; } 30%, 85% { transform: scale(var(--z)); opacity: 1; } 100% { transform: scale(0.3); opacity: 0.4; } }

/* ---------- Frag Hestia ---------- */
.hestia { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 46ch; }
.facts li { padding-left: 22px; position: relative; color: var(--sub); }
.facts li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 10px; height: 2px; border-radius: 2px; background: var(--text); }
.facts b { color: var(--text); font-weight: 600; }
.hestia-stage { display: flex; justify-content: center; position: relative; }
.hestia-stage::before {
  content: ''; position: absolute; inset: 10% 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--flame), transparent 70%);
  filter: blur(30px);
}
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 4px 18px 12px; font-family: var(--serif); font-weight: 600; font-size: 19px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-mark { width: 24px; height: 24px; }
.sheet-done { margin-left: auto; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.chat { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 14px 10px; }
.bubble { align-self: flex-end; max-width: 82%; background: var(--accent); color: var(--on-accent); padding: 9px 13px; border-radius: 18px 18px 6px 18px; font-size: 13.5px; line-height: 1.38; animation: pop 0.32s var(--ease); }
.action { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; font-size: 13px; animation: pop 0.36s var(--ease) both; }
.action .ic { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.action .ic svg { width: 14px; height: 14px; }
.action .ic.ink { background: var(--accent); color: var(--on-accent); }
.action .t { flex: 1; }
.action .t small { display: block; color: var(--sub); font-size: 11.5px; }
.action .undo { color: var(--sub); font-size: 12px; }
.answer { font-size: 13.5px; line-height: 1.45; padding: 2px 4px; animation: pop 0.36s var(--ease) both; }
.recipe-mini { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; animation: pop 0.4s var(--ease) both; }
.recipe-mini .rc-img { width: 54px; height: 54px; flex: none; border-radius: 12px; }
.recipe-mini b { display: block; font-size: 13.5px; }
.recipe-mini span { font-size: 11.5px; color: var(--sub); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.composer { display: flex; align-items: center; gap: 10px; margin: 0 12px 26px; height: 46px; padding: 0 4px 0 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); flex: none; }
.composer-txt { flex: 1; color: var(--sub); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer-txt.typing { color: var(--text); }
.wave { display: flex; gap: 2.5px; align-items: center; height: 20px; }
.wave i { width: 3px; height: 100%; border-radius: 3px; background: var(--text); transform: scaleY(0.25); }
.wave.on i { animation: wave 0.9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -0.2s; } .wave i:nth-child(3) { animation-delay: -0.45s; }
.wave i:nth-child(4) { animation-delay: -0.1s; } .wave i:nth-child(5) { animation-delay: -0.6s; }
.wave i:nth-child(6) { animation-delay: -0.35s; } .wave i:nth-child(7) { animation-delay: -0.75s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.acc-btn.stop { width: 38px; height: 38px; background: var(--accent); border: 0; }
.acc-btn.stop i { width: 11px; height: 11px; border-radius: 3px; background: var(--on-accent); }

/* ---------- Haushalt ---------- */
.chores-head { max-width: 760px; margin-bottom: 48px; }
.chores-board { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 16px; align-items: start; }
.pcard {
  --pc: var(--indigo);
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px;
  transition: box-shadow 0.7s var(--ease), transform 0.3s var(--ease);
}
.pcard[data-person="teal"] { --pc: var(--teal); }
.pcard.complete {
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--pc) 55%, transparent), 0 18px 50px -12px color-mix(in srgb, var(--pc) 55%, transparent);
  animation: bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bounce { 40% { transform: scale(1.02); } }
.pcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.pcard-name { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; line-height: 1.1; }
.pcard-sub { color: var(--sub); font-size: 15px; }
.thanks { margin-left: auto; font-size: 22px; color: var(--pink); opacity: 0; transform: scale(0.3); transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pcard.complete .thanks { opacity: 1; transform: none; }
.tasks { list-style: none; margin: 0; padding: 0; }
.tasks li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); margin-left: 0; }
.tasks li:first-child { border-top: 0; }
.tasks .circle { width: 30px; height: 30px; --cc: var(--pc); }
.tasks .circle svg { width: 18px; height: 18px; }
.tasks li div { flex: 1; }
.tasks b { display: block; font-weight: 500; font-size: 16px; transition: color 0.3s; }
.tasks small { color: var(--sub); font-size: 13px; }
.tasks li.is-done b { color: var(--sub); }
.music { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-strong); }
.chores-side { display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; gap: 6px; color: var(--sub); font-size: 15px; }
.side-big { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--pink); font-weight: 600; }
.fresh-label { display: flex; justify-content: space-between; align-items: baseline; }
.fresh-label b { color: var(--text); font-weight: 600; font-size: 16px; }
.fresh-label em { font-style: normal; font-size: 13px; color: var(--orange-ink); }
.fresh-bar { display: block; height: 6px; border-radius: 9px; background: var(--track); overflow: hidden; }
.fresh-bar b { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 9px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.4s; }
.in .fresh-bar b { transform: scaleX(1); }
.fresh-note { font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--sub); }

/* ---------- Essen (Bento) ---------- */
.food-head { max-width: 680px; margin-bottom: 48px; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
.food .shop { margin-bottom: clamp(72px, 9vw, 120px); }
.bento-title { margin-bottom: 24px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.b { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.b h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 6px; }
.b p { margin: 0; color: var(--sub); font-size: 15px; max-width: 40ch; }
.b-cook { grid-column: span 4; grid-row: span 2; justify-content: space-between; }
.b-scan { grid-column: span 2; grid-row: span 2; background: #141516; color: #F2F0EA; border-color: transparent; }
.b-scan p { color: #9A9AA0; }
.b-protein { grid-column: span 2; }
.b-import { grid-column: span 2; }
.b-plan { grid-column: span 2; }

.cook { background: var(--bg); border-radius: 18px; padding: 20px; }
.cook-title { font-family: var(--serif); font-weight: 600; font-size: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cook-title span { font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--sub); }
.plates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.plate { display: grid; justify-items: center; gap: 2px; text-align: center; }
.plate b { font-size: 26px; font-weight: 600; margin-top: 10px; letter-spacing: -0.02em; }
.plate b::after { content: ' g'; font-size: 15px; color: var(--sub); font-weight: 500; }
.plate small { color: var(--sub); font-size: 12.5px; }
.plate small { visibility: visible; }
.timer { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sub); }
.timer b { color: var(--text); font-variant-numeric: tabular-nums; }
.timer-ring { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--text) var(--t, 0deg), var(--track) 0); mask: radial-gradient(circle, transparent 7px, #000 7.5px); -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px); }

.viewfinder { position: relative; flex: 1; min-height: 260px; border-radius: 16px; background: radial-gradient(120% 80% at 50% 30%, #2A2B2E, #121314); display: grid; place-items: center; overflow: hidden; }
.corner { position: absolute; width: 26px; height: 26px; border: 3px solid #F2F0EA; }
.corner.tl { top: 22%; left: 16%; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.corner.tr { top: 22%; right: 16%; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.corner.bl { bottom: 30%; left: 16%; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.corner.br { bottom: 30%; right: 16%; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.barcode { width: 54%; height: 64px; margin-bottom: 40px; border-radius: 4px; background: repeating-linear-gradient(90deg, #F2F0EA 0 2px, transparent 2px 4px, #F2F0EA 4px 7px, transparent 7px 9px, #F2F0EA 9px 10px, transparent 10px 13px); opacity: 0.85; }
.scanline { position: absolute; left: 16%; right: 16%; top: 22%; height: 2px; background: var(--green); box-shadow: 0 0 14px 2px var(--green); animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { to { top: 69%; } }
.scan-result { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(24, 25, 27, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 10px 12px; display: grid; font-size: 13px; transform: translateY(130%); transition: transform 0.6s var(--ease); }
.scan-result span { color: #9A9AA0; font-size: 12px; }
.b-scan.found .scan-result { transform: none; }
.b-scan.found .scanline { animation-play-state: paused; opacity: 0; transition: opacity 0.3s; }

.prot-big { margin-top: auto; }
.prot-big .over { margin-top: 2px; }
.prot-big .over b { font-size: 22px; }

.import { margin-top: auto; display: grid; gap: 10px; }
.url-pill { height: 40px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; font-size: 13px; color: var(--sub); overflow: hidden; white-space: nowrap; }
.caret { width: 1.5px; height: 16px; background: var(--text); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.recipe-card { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); opacity: 0; transform: translateY(10px); transition: all 0.5s var(--ease); }
.recipe-card.show { opacity: 1; transform: none; }
.recipe-card b { display: block; font-size: 15px; }
.recipe-card span { display: block; font-size: 12px; color: var(--sub); }
.recipe-card .ok { color: var(--green-ink); font-weight: 600; }
.rc-img { width: 60px; height: 60px; flex: none; border-radius: 12px; background: radial-gradient(circle at 30% 30%, #FFB340 0 14%, transparent 15%), radial-gradient(circle at 68% 40%, #FF6B4A 0 12%, transparent 13%), radial-gradient(circle at 45% 70%, #F4F3EF 0 12%, transparent 13%), radial-gradient(circle at 72% 72%, #5FB15A 0 10%, transparent 11%), linear-gradient(135deg, #C46A2E, #8F3F1C); }

.week { margin-top: auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day { display: grid; gap: 6px; justify-items: center; text-align: center; }
.day b { font-size: 12px; color: var(--sub); font-weight: 600; }
.day span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 12px; height: 96px; width: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: 12px; padding: 8px 0; }
.day.today b { color: var(--text); }
.day.today span { background: var(--accent); color: var(--on-accent); }

/* ---------- Einkauf ---------- */
.shop { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.shop-list { position: sticky; top: 100px; }
.progress-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 16px 16px 16px 18px; margin-bottom: 12px;
  transition: box-shadow 0.7s var(--ease);
}
.progress-card > div:nth-child(2) { flex: 1; display: grid; }
.progress-card.complete { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--green) 55%, transparent), 0 18px 50px -12px color-mix(in srgb, var(--green) 50%, transparent); }
.pc-num { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pc-title { font-weight: 600; font-size: 17px; }
.pc-sub { color: var(--sub); font-size: 14px; }
.pc-btn { pointer-events: none; }
.shopitems { list-style: none; padding: 0 0 0 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.shopitems li + li button { border-top: 1px solid var(--line); }
.shopitems button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; text-align: left; transition: background 0.2s, opacity 0.3s; }
.shopitems button:active { background: var(--bg); }
.shopitems .circle { width: 28px; height: 28px; }
.si-name { font-weight: 500; font-size: 16px; flex: 1; transition: color 0.3s; }
.si-qty { color: var(--sub); font-size: 15px; font-variant-numeric: tabular-nums; }
.shopitems .is-done .si-name { color: var(--sub); text-decoration: line-through; text-decoration-color: var(--faint); }
.tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.tag.orange { background: var(--orange-soft); color: var(--orange-ink); }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.green { background: var(--green-soft); color: var(--green-ink); }
.tag.sub { color: var(--sub); border: 1px solid var(--line-strong); font-weight: 500; }
.shop-copy { padding-top: 20px; }

.receipt-stage { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; margin-top: 40px; align-items: center; }
.receipt {
  position: relative; overflow: hidden;
  background: #FFFEFA; color: #2A2A2A;
  font: 12px/1.7 ui-monospace, 'SF Mono', Menlo, monospace;
  padding: 22px 18px 26px;
  border-radius: 6px 6px 0 0;
  transform: rotate(-3deg);
  box-shadow: 0 30px 50px -24px rgba(40, 30, 10, 0.4);
  -webkit-mask: radial-gradient(8px at 50% 100%, transparent 98%, #000) 50% 100% / 16px 100% repeat-x;
  mask: radial-gradient(8px at 50% 100%, transparent 98%, #000) 50% 100% / 16px 100% repeat-x;
}
.rc-shop { display: block; text-align: center; letter-spacing: 0.3em; margin-bottom: 10px; }
.rc-line, .rc-sum { display: flex; justify-content: space-between; gap: 10px; }
.rc-line span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-sum { border-top: 1px dashed #999; margin-top: 8px; padding-top: 6px; font-weight: 700; }
.rc-scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--green) 30%, transparent), transparent); opacity: 0; }
.receipt-stage.run .rc-scan { animation: rscan 1.6s ease-in-out 2; }
@keyframes rscan { 0% { top: -40px; opacity: 1; } 100% { top: 100%; opacity: 1; } }
.pantry { list-style: none; padding: 6px 16px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.pantry li { display: grid; grid-template-columns: 1fr 54px auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); opacity: 0; transform: translateX(-14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.pantry li:first-child { border-top: 0; }
.pantry b { display: block; font-weight: 500; font-size: 15px; }
.pantry small { color: var(--sub); font-size: 12.5px; }
.fill { display: block; height: 5px; border-radius: 9px; background: var(--track); overflow: hidden; }
.fill b { height: 100%; width: var(--w); background: var(--green); transform-origin: left; transform: scaleX(0); transition: transform 0.9s var(--ease) 0.2s; }
.receipt-stage.done .pantry li { opacity: 1; transform: none; }
.receipt-stage.done .fill b { transform: scaleX(1); }
.receipt-stage.done .pantry li:nth-child(2) { transition-delay: 0.1s; }
.receipt-stage.done .pantry li:nth-child(3) { transition-delay: 0.2s; }
.receipt-stage.done .pantry li:nth-child(4) { transition-delay: 0.3s; }
.receipt-stage.done .pantry li:nth-child(5) { transition-delay: 0.4s; }

/* ---------- Widgets ---------- */
.widgets-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.widgets-head .body { margin-left: auto; margin-right: auto; }
.wall {
  display: grid; gap: 18px;
  grid-template-columns: 170px 360px 220px;
  grid-template-areas: "today quick lock" "siri siri next";
  justify-content: center;
  padding: 36px; border-radius: 40px;
  background:
    radial-gradient(60% 80% at 15% 20%, color-mix(in srgb, var(--indigo) 55%, #111), transparent 70%),
    radial-gradient(60% 80% at 85% 85%, color-mix(in srgb, var(--teal) 55%, #111), transparent 70%),
    radial-gradient(50% 60% at 70% 20%, color-mix(in srgb, var(--orange) 40%, #111), transparent 70%),
    #121214;
  color: #F2F0EA;
}
.w { border-radius: 26px; padding: 16px; background: rgba(28, 28, 30, 0.62); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.1); }
.w-today { grid-area: today; display: grid; justify-items: center; align-content: center; text-align: center; gap: 2px; aspect-ratio: 1; padding: 12px; }
.w-today b { font-size: 22px; margin-top: 6px; line-height: 1; }
.w-today span { font-size: 12px; color: #9A9AA0; }
.w-today small { font-size: 11px; color: #C9A0F0; white-space: nowrap; }
.w-quick { grid-area: quick; position: relative; display: grid; gap: 10px; align-content: start; }
.wq-head { display: flex; justify-content: space-between; font-size: 14px; }
.wq-head span { color: #9A9AA0; font-variant-numeric: tabular-nums; }
.wq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wq-grid button { height: 46px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 14px; transition: transform 0.2s var(--ease), background 0.2s; color: #F2F0EA; }
.wq-grid button:hover { background: rgba(255, 255, 255, 0.16); }
.wq-grid button:active { transform: scale(0.95); }
.wq-toast { position: absolute; inset: 0; border-radius: 26px; display: grid; place-items: center; font-size: 20px; font-weight: 600; background: rgba(28, 28, 30, 0.92); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.wq-toast.show { opacity: 1; }
.w-lock { grid-area: lock; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; display: grid; align-content: center; justify-items: center; gap: 10px; }
.lock-time { font-size: 64px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-row { display: flex; gap: 12px; }
.gauge, .lockbtn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.gauge { background: conic-gradient(#F2F0EA calc(var(--p) * 1%), rgba(255, 255, 255, 0.16) 0); -webkit-mask: radial-gradient(circle, transparent 20px, #000 20.5px); mask: radial-gradient(circle, transparent 20px, #000 20.5px); position: relative; }
.gauge b { display: none; }
.lockbtn svg { width: 22px; height: 22px; }
.w-siri { grid-area: siri; position: relative; display: grid; gap: 8px; padding: 20px 90px 20px 22px; }
.siri-q { font-size: 14px; color: #9A9AA0; }
.siri-a { font-size: 19px; font-weight: 600; line-height: 1.3; }
.siri-orb { position: absolute; right: 22px; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: conic-gradient(from 0deg, #FF2D55, #FF9500, #30B0C7, #5856D6, #FF2D55); filter: blur(1px); animation: spin 4s linear infinite; }
.siri-orb::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: rgba(18, 18, 20, 0.6); }
@keyframes spin { to { transform: rotate(360deg); } }
.w-next { grid-area: next; display: grid; gap: 4px; align-content: center; }
.w-next small { color: #9A9AA0; font-size: 12px; }
.w-next b { font-size: 16px; }
.w-next span { font-size: 12.5px; color: #C8C8CC; }
.w-cam { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 6px; justify-self: start; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); font-weight: 600; }
.w-cam svg { width: 16px; height: 16px; }

/* ---------- Zu zweit ---------- */
.together { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.house-stage { display: grid; justify-items: center; gap: 26px; }
.house {
  width: clamp(200px, 26vw, 300px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--g1, #5856D6), var(--g2, #30B0C7));
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--g1, #5856D6) 60%, transparent);
  transition: background 0.5s, box-shadow 0.5s;
  animation: float 6s ease-in-out infinite;
}
.house svg { width: 64%; height: 64%; }
@keyframes float { 50% { transform: translateY(-10px); } }
.swatches { display: flex; gap: 12px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--bg), 0 0 0 0 var(--c); transition: box-shadow 0.24s var(--ease), transform 0.2s var(--ease); }
.swatches button.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c); }
.swatches button:active { transform: scale(0.9); }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 34px 0 0; }
.pairs dt { font-weight: 600; margin-bottom: 4px; }
.pairs dd { margin: 0; color: var(--sub); font-size: 15px; }

/* ---------- Privatsphäre ---------- */
.privacy .h2 { max-width: 16ch; margin-bottom: 40px; }
.priv-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.pv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; display: grid; gap: 8px; align-content: start; }
.pv b { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; line-height: 1.15; }
.pv span { color: var(--sub); font-size: 15px; }
.pv-wide { grid-row: span 2; align-content: end; min-height: 320px; background:
  radial-gradient(70% 60% at 70% 20%, color-mix(in srgb, var(--teal) 18%, transparent), transparent 70%),
  radial-gradient(60% 60% at 20% 30%, color-mix(in srgb, var(--indigo) 14%, transparent), transparent 70%),
  var(--surface); }
.pv-wide b { font-size: clamp(30px, 3.4vw, 44px); }
.pv-dark { grid-column: span 2; background: var(--accent); color: var(--on-accent); border-color: transparent; }
.pv-dark span { color: color-mix(in srgb, var(--on-accent) 65%, transparent); }
.pv-dark .textlink { color: var(--on-accent); margin-top: 6px; }

/* ---------- Abschluss ---------- */
.final { position: relative; text-align: center; padding: clamp(100px, 14vw, 180px) 20px; display: grid; justify-items: center; overflow: hidden; }
.final-glow { position: absolute; left: 50%; top: 40%; width: 700px; height: 500px; margin: -250px 0 0 -350px; border-radius: 50%; background: radial-gradient(closest-side, var(--flame), transparent 70%); filter: blur(30px); }
.final > *:not(.final-glow) { position: relative; }
.final-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); }
.final .body { margin-bottom: 32px; }
/* Warteliste */
.final [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wait { display: flex; gap: 10px; width: min(520px, 100%); flex-wrap: wrap; justify-content: center; }
.wait-input { flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 17px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.wait-input:focus { border-color: var(--text); box-shadow: 0 0 0 4px var(--flame); }
.wait-input[aria-invalid="true"] { border-color: var(--red); }
.wait .pill { border: 0; cursor: pointer; font-family: inherit; }
.wait .pill[disabled] { opacity: 0.55; cursor: default; }
.wait-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wait-error { flex-basis: 100%; margin: 4px 0 0; color: var(--red); font-size: 15px; }
.wait-note { margin: 18px 0 0; max-width: 46ch; color: var(--faint); font-size: 14px; line-height: 1.5; }
.wait-note a { color: var(--sub); }
.wait-done { display: grid; justify-items: center; gap: 6px; max-width: 40ch; animation: pop 0.4s var(--ease) both; }
.wait-done b { font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: -0.01em; margin-top: 6px; }
.wait-done span:last-child { color: var(--sub); }
.wait-check { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--green-soft); }
.wait-check svg { width: 28px; height: 28px; }

.foot { max-width: 1240px; margin: 0 auto; padding: 32px 20px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--sub); font-size: 15px; }
.foot-brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--text); }
.foot-brand svg { width: 24px; height: 24px; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.bento .reveal:nth-child(2) { transition-delay: 0.08s; }
.bento .reveal:nth-child(3) { transition-delay: 0.14s; }
.bento .reveal:nth-child(4) { transition-delay: 0.2s; }
.bento .reveal:nth-child(5) { transition-delay: 0.26s; }
.priv-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.priv-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.priv-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .pill-small { margin-left: auto; }
  .chores-board { grid-template-columns: 1fr 1fr; }
  .chores-side { grid-column: span 2; grid-template-columns: 1fr 1fr; }
  .wall { grid-template-columns: 220px 1fr; grid-template-areas: "today quick" "lock next" "siri siri"; }
  .w-today { aspect-ratio: auto; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 112px; gap: 56px; min-height: 0; }
  .hestia, .shop, .together { grid-template-columns: 1fr; gap: 48px; }
  .shop-list { position: static; order: 2; }
  .hestia-stage { order: 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-cook { grid-column: span 2; grid-row: auto; }
  .b-scan { grid-column: span 2; grid-row: auto; }
  .b-protein, .b-import, .b-plan { grid-column: span 1; }
  .b-plan { grid-column: span 2; }
  .priv-grid { grid-template-columns: 1fr 1fr; }
  .pv-wide { grid-column: span 2; grid-row: auto; min-height: 220px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .core { grid-template-columns: 1fr; }
  .core-ai { grid-column: auto; flex-direction: column; align-items: stretch; gap: 0; }
  .core-ai .ct-vis { flex: none; height: 170px; }
  .core-ai-text { padding: 0; }
  .core-ai-text .eyebrow { margin-top: 18px; }
  .core-ai h3 { font-size: 24px; }
  .chores-board, .chores-side { grid-template-columns: 1fr; }
  .chores-side { grid-column: auto; }
  .bento { grid-template-columns: 1fr; }
  .b-cook, .b-scan, .b-protein, .b-import, .b-plan { grid-column: auto; }
  .plates { gap: 6px; }
  .plate b { font-size: 21px; }
  .receipt-stage { grid-template-columns: 1fr; }
  .receipt { max-width: 280px; justify-self: center; }
  .wall { grid-template-columns: 1fr 1fr; grid-template-areas: "today lock" "quick quick" "next next" "siri siri"; padding: 18px; border-radius: 30px; gap: 12px; }
  .w-today { aspect-ratio: auto; }
  .lock-time { font-size: 44px; }
  .lock-row { gap: 8px; }
  .gauge, .lockbtn { width: 44px; height: 44px; }
  .gauge { -webkit-mask: radial-gradient(circle, transparent 16px, #000 16.5px); mask: radial-gradient(circle, transparent 16px, #000 16.5px); }
  .w-siri { padding-right: 76px; }
  .pairs { grid-template-columns: 1fr; gap: 20px; }
  .priv-grid { grid-template-columns: 1fr; }
  .pv-wide, .pv-dark { grid-column: auto; }
  .phone { width: 300px; height: 620px; }
  .foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal, .load { opacity: 1; transform: none; }
  .display .line > span { transform: none; }
}
