/* FamilyTakt – Website
   Schriften lokal (DSGVO), Farben aus docs/design/tokens.json und direction.md */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #14141a;
  --ink-2: #5c5c66;
  --ink-3: #8e8e98;
  --ghost: #cfcfd6;
  --bg: #ffffff;
  --surface: #f6f6f8;
  --surface-2: #f2f2f5;
  --line: #e3e3ea;

  --indigo: #3f3fc4;
  --coral: #f0644a;
  --petrol: #0f8b8d;
  --saffron: #f5b000;

  /* Personen */
  --p-anna: #c9303a; --p-anna-t: #ffe7e8;
  --p-jonas: #2558c9; --p-jonas-t: #e3ecff;
  --p-mia: #a85e00; --p-mia-t: #fff0d6;
  --p-leo: #12804a; --p-leo-t: #ddf5e7;

  /* Module */
  --m-cal: #1e46c8; --m-cal-t: #e7eeff;
  --m-list: #0f6b3e; --m-list-t: #e2f5ea;
  --m-task: #a34a00; --m-task-t: #ffeedd;
  --m-food: #7a5600; --m-food-t: #fff4cc;
  --m-deadline: #5b33c4; --m-deadline-t: #f1eaff;
  --m-docs: #3b3fb6; --m-docs-t: #e6e9ff;
  --m-fin: #0b6b5a; --m-fin-t: #ddf7f1;
  --m-health: #b0234a; --m-health-t: #ffe7ec;
  --m-kids: #8a5000; --m-kids-t: #fff0d6;
  --m-home: #9a3b17; --m-home-t: #fce9e1;
  --m-car: #3a3f47; --m-car-t: #ecedef;
  --m-travel: #0b6470; --m-travel-t: #ddf4f7;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --wrap: 1120px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--indigo); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.title {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.title .soft { color: var(--ink-3); font-weight: 600; }
.lead { color: var(--ink-2); font-size: 17px; font-weight: 500; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .lead { margin-top: 16px; }

section { padding: 120px 0; scroll-margin-top: 80px; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 14px;
  font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #5a5ad8 0%, var(--indigo) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(20,20,26,.12), 0 8px 20px -6px rgba(63,63,196,.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 4px rgba(20,20,26,.12), 0 12px 26px -6px rgba(63,63,196,.6); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 6px 16px -8px rgba(20,20,26,.18); }
.btn-light:hover { transform: translateY(-1px); }
.btn-dark { background: #fff; color: var(--ink); }
.btn-block { width: 100%; height: 48px; }

.store-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 600; line-height: 1.1; opacity: .85; }
.store strong { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.store.apple {
  color: #fff;
  background: linear-gradient(180deg, #5a5ad8 0%, var(--indigo) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -8px rgba(63,63,196,.6);
}
.store.google { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 20px -10px rgba(20,20,26,.22); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: min(820px, 100%);
  height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 8px 0 12px;
  border-radius: 22px;
  background: rgba(20, 20, 26, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -12px rgba(20,20,26,.45), inset 0 0 0 1px rgba(255,255,255,.06);
  color: #fff;
  transition: background .3s;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.brand-mark img { width: 26px; height: 26px; }
.brand b { font-weight: 800; }
.brand span { font-weight: 600; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { height: 40px; padding: 0 16px; border-radius: 13px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); place-items: center; }
.nav-toggle span { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 140px 0 0; text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(520px 320px at 18% 62%, rgba(63,63,196,.07), transparent 70%),
    radial-gradient(520px 320px at 82% 58%, rgba(240,100,74,.07), transparent 70%);
}
.proof { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; text-align: left; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
  margin-left: -9px; box-shadow: 0 2px 6px rgba(20,20,26,.12);
}
.avatars span:first-child { margin-left: 0; }
.proof strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.proof small { display: block; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 800;
}
.hero h1 .soft { color: var(--ink-3); font-weight: 700; }
.hero .lead { max-width: 500px; margin: 22px auto 32px; font-size: 18px; }

.hero-stage {
  position: relative;
  height: 560px;
  margin-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
}
.hero-stage .phone { position: absolute; top: 30px; left: 50%; }
.hero-stage .phone.back { --rot: -11deg; transform: translateX(-104%) translate(var(--hx, 0px), calc(46px + var(--hy, 0px))) rotate(var(--rot)) scale(var(--hs, 1)); z-index: 1; }
.hero-stage .phone.front { --rot: 5deg; transform: translateX(-6%) translate(var(--hx, 0px), var(--hy, 0px)) rotate(var(--rot)) scale(var(--hs, 1)); z-index: 2; }

/* Einstiegsanimation */
.js .hero [data-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js .hero.ready [data-in] { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .hero-stage .phone { opacity: 0; translate: 0 140px; }
.js .hero.ready .hero-stage .phone { opacity: 1; translate: 0 0; transition: opacity 1s var(--ease), translate 1.3s var(--ease); }
.js .hero.ready .hero-stage .phone.back { transition-delay: .45s; }
.js .hero.ready .hero-stage .phone.front { transition-delay: .3s; }

/* ---------- Telefon ---------- */
.phone {
  --s: .78;
  --bz: calc(12px * var(--s) + 2px);
  position: relative;
  width: calc(390px * var(--s) + var(--bz) * 2);
  padding: var(--bz);
  border-radius: calc(60px * var(--s) + var(--bz));
  background: linear-gradient(145deg, #2b2b33, #0c0c10 40%, #1d1d24);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.12),
    0 40px 80px -30px rgba(20,20,26,.45),
    0 20px 40px -24px rgba(20,20,26,.35);
}
.screen {
  position: relative;
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  border-radius: calc(50px * var(--s));
  overflow: hidden;
  background: #fff;
}
.app {
  position: absolute; top: 0; left: 0;
  width: 390px; height: 844px;
  transform: scale(var(--s)); transform-origin: 0 0;
  font-family: var(--body); color: var(--ink); text-align: left;
  background: #fff;
  line-height: 1.3;
}
.app.dark { background: #0e0e12; color: #f4f4f6; }
.island { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 124px; height: 36px; border-radius: 20px; background: #000; z-index: 5; }
.status { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 42px; font-weight: 700; font-size: 16px; z-index: 4; }
.status i { display: flex; gap: 6px; align-items: center; }
.status i b { display: block; width: 25px; height: 12px; border-radius: 4px; border: 1.5px solid currentColor; position: relative; opacity: .9; }
.status i b::after { content: ""; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1.5px; }
.status i em { display: block; width: 17px; height: 11px; background: currentColor; clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 26% 50%, 48% 50%, 48% 100%, 52% 100%, 52% 28%, 74% 28%, 74% 100%, 78% 100%, 78% 0, 100% 0, 100% 100%); }

.a-body { padding: 62px 16px 0; display: flex; flex-direction: column; gap: 16px; }
.a-date { font-size: 15px; color: var(--ink-2); }
.dark .a-date { color: #a1a1aa; }
.a-h1 { font-family: var(--display); font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.a-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.a-ava { width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 18px; display: grid; place-items: center; flex: none; }
.a-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.tile.wide { grid-column: span 2; }
.tile-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.tile-label svg { width: 18px; height: 18px; }
.pill { font-size: 13px; font-weight: 600; background: #fff; border-radius: 999px; padding: 5px 10px; }
.chip { font-size: 12px; font-weight: 700; color: #fff; border-radius: 999px; padding: 3px 9px; flex: none; }
.big { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.inner { background: #fff; border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.line { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.line .t { font-weight: 700; width: 46px; font-variant-numeric: tabular-nums; font-size: 14px; }
.line .x { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-sq { width: 40px; height: 40px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.icon-sq svg { width: 20px; height: 20px; }
.check { width: 26px; height: 26px; border-radius: 9px; border: 2px solid currentColor; display: grid; place-items: center; flex: none; }
.check.on { background: currentColor; }
.check.on svg { stroke: #fff; }
.check svg { width: 14px; height: 14px; }
.tabbar {
  position: absolute; left: 12px; right: 12px; bottom: 22px; height: 68px; padding: 6px;
  background: #14141a; border-radius: 34px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
  box-shadow: 0 12px 32px rgba(20,20,26,.28);
}
.dark .tabbar { background: #202029; }
.tabbar span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 28px; color: #c9c9d1; font-size: 11px; font-weight: 600; }
.tabbar span.on { background: #fff; color: var(--ink); font-weight: 700; }
.tabbar svg { width: 22px; height: 22px; }

/* Kalender im Telefon */
.cal { border-radius: 28px; padding: 12px 8px 8px; }
.cal-h, .cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-h span { text-align: center; font-size: 12px; font-weight: 700; opacity: .75; padding-bottom: 4px; }
.cal-g span { height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 15px; font-weight: 600; }
.cal-g span.mute { opacity: .3; }
.cal-g span.today b { background: currentColor; }
.cal-g span b { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; }
.cal-g span.today b em { color: #fff; font-style: normal; }
.dots { display: flex; gap: 2px; height: 5px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; }
.ev { display: flex; align-items: center; gap: 12px; border-radius: 22px; padding: 14px 16px; }
.ev .t { font-family: var(--display); font-weight: 700; font-size: 17px; width: 54px; font-variant-numeric: tabular-nums; }
.ev .x { flex: 1; min-width: 0; }
.ev .x b { display: block; font-size: 16px; }
.ev .x small { display: block; font-size: 13px; opacity: .75; }
.ev .who { width: 30px; height: 30px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* ---------- Reveal beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Problem (Wort-Reveal) ---------- */
.problem { padding: 160px 0 120px; }
.problem .kicker { text-align: center; }
.problem-text {
  max-width: 780px; margin: 0 auto; text-align: center;
  font-family: var(--display); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.22; letter-spacing: -.02em; font-weight: 600;
}
.problem-text .w { color: var(--ghost); transition: color .35s; }
.problem-text .w.on { color: var(--ink-3); }
.problem-text .strong .w.on { color: var(--ink); }

/* ---------- Vorteile ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.b-card {
  position: relative; overflow: hidden;
  background: var(--surface); border-radius: 28px;
  min-height: 520px;
  display: flex; flex-direction: column;
}
.b-text { padding: 28px 28px 0; }
.b-text h3 { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.b-text p { color: var(--ink-2); font-weight: 500; font-size: 15.5px; max-width: 300px; }
.b-card .phone { --s: .7; margin: 32px auto -260px; }
.b-card.mid { flex-direction: column-reverse; justify-content: flex-end; }
.b-card.mid .b-text { padding: 26px 28px 30px; }
.b-card.mid .phone { margin: -205px auto 0; }
.pushes { position: relative; margin: 34px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.push {
  background: rgba(255,255,255,.92); border-radius: 20px; padding: 12px 14px;
  display: flex; gap: 12px; align-items: flex-start;
  box-shadow: 0 1px 0 rgba(20,20,26,.04), 0 14px 30px -18px rgba(20,20,26,.35);
}
.push .ic { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.push .ic img { width: 28px; height: 28px; }
.push b { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; gap: 8px; }
.push b small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.push p { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.push.dark { background: var(--ink); color: #fff; }
.push.dark p { color: #c9c9d1; }
.push.dark .ic { box-shadow: none; }
.radar {
  margin: 14px 22px 0; background: #fff; border-radius: 24px; padding: 16px;
  box-shadow: 0 14px 30px -20px rgba(20,20,26,.3);
}
.radar-h { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--m-deadline); margin-bottom: 10px; }
.radar-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--surface-2); font-size: 14.5px; font-weight: 600; }
.radar-row:first-of-type { border-top: 0; }
.radar-row .d { font-family: var(--display); font-weight: 800; color: var(--m-deadline); width: 56px; font-size: 18px; }
.radar-row .x { flex: 1; }
.radar-row small { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; width: 54px; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--m-deadline); }

/* ---------- Funktionen ---------- */
.features-layout { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.f-col { display: flex; flex-direction: column; gap: 22px; }
.f-col.left .f-card:nth-child(2) { margin-right: 44px; margin-left: -44px; }
.f-col.right .f-card:nth-child(2) { margin-left: 44px; margin-right: -44px; }
.f-card {
  background: #fff; border-radius: 24px; padding: 22px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(20,20,26,.35);
}
.f-card .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.f-card .icon svg { width: 22px; height: 22px; }
.f-card h3 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.f-card p { color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.5; }
.features-layout .phone { --s: .76; transform: translateY(var(--py, 0px)) scale(var(--ps, 1)); transform-origin: 50% 70%; }

/* Schnell-Hinzufügen-Screen */
.qa-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 300px; background: #fff; border-radius: 30px 30px 0 0; box-shadow: 0 -14px 40px rgba(20,20,26,.12); padding: 10px 16px 0; }
.qa-grab { width: 40px; height: 5px; border-radius: 4px; background: var(--line); margin: 0 auto 14px; }
.qa-input { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border-radius: 18px; padding: 14px 16px; font-size: 18px; font-weight: 600; min-height: 56px; }
.qa-input .caret { width: 2px; height: 22px; background: var(--indigo); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.qa-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; min-height: 30px; }
.qa-tags span { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 6px 11px; opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.qa-tags span.on { opacity: 1; transform: none; }
.kbd { position: absolute; left: 0; right: 0; bottom: 0; background: #d4d5dc; padding: 8px 4px 34px; display: flex; flex-direction: column; gap: 11px; }
.kbd div { display: flex; justify-content: center; gap: 6px; }
.kbd span { flex: 0 0 33px; height: 43px; border-radius: 6px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.25); display: grid; place-items: center; font-size: 21px; }
.kbd span.wide { flex: 0 0 46px; background: #abafba; font-size: 15px; }
.kbd span.space { flex: 1 1 auto; font-size: 15px; }
.kbd span.go { flex: 0 0 88px; background: var(--indigo); color: #fff; font-size: 15px; font-weight: 600; }

/* ---------- Läuft von allein ---------- */
.auto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.a-card .art {
  height: 340px; border-radius: 28px; overflow: hidden; position: relative;
  display: grid; place-items: center; margin-bottom: 22px;
}
.a-card h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 6px; }
.a-card p { color: var(--ink-2); font-weight: 500; font-size: 15.5px; max-width: 320px; }
.art-cal { background: linear-gradient(160deg, #eef2ff, #dfe7ff); }
.art-kids { background: linear-gradient(160deg, #fff6e6, #ffe8c2); }
.art-safe { background: linear-gradient(160deg, #e9faf6, #cdeee6); }
.mini-cal { width: 270px; background: #fff; border-radius: 24px; padding: 16px; box-shadow: 0 24px 50px -30px rgba(30,70,200,.45); }
.mini-cal header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mini-cal header b { font-family: var(--display); font-size: 19px; font-weight: 800; }
.mini-cal header small { font-size: 12px; font-weight: 700; color: var(--m-cal); background: var(--m-cal-t); border-radius: 999px; padding: 3px 9px; }
.mc-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; font-size: 12.5px; font-weight: 600; text-align: center; }
.mc-g .h { color: var(--ink-3); font-size: 11px; font-weight: 700; }
.mc-g span { height: 26px; display: grid; place-items: center; position: relative; }
.mc-g .hol { color: #fff; }
.mc-g .hol::before { content: ""; position: absolute; inset: 1px 3px; border-radius: 8px; background: var(--coral); z-index: -1; }
.mc-g .fer { color: var(--m-cal); }
.mc-g .fer::before { content: ""; position: absolute; inset: 2px 0; background: var(--m-cal-t); z-index: -1; }
.mc-g .fer.s::before { border-radius: 8px 0 0 8px; left: 3px; }
.mc-g .fer.e::before { border-radius: 0 8px 8px 0; right: 3px; }
.mc-g span { isolation: isolate; }
.mc-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--surface-2); font-size: 12.5px; font-weight: 600; }
.mc-legend span { display: flex; align-items: center; gap: 8px; }
.mc-legend i { width: 10px; height: 10px; border-radius: 3px; }
.float-tag { position: absolute; background: #fff; border-radius: 14px; padding: 8px 12px; font-size: 13px; font-weight: 700; box-shadow: 0 14px 30px -16px rgba(20,20,26,.35); display: flex; align-items: center; gap: 8px; }
.float-tag svg { width: 16px; height: 16px; }

.kid-board { width: 260px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kid-board .top { grid-column: span 2; background: #fff; border-radius: 20px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 16px 34px -24px rgba(138,80,0,.5); }
.kid-board .top b { font-family: var(--display); font-size: 18px; font-weight: 800; }
.stars { display: flex; align-items: center; gap: 5px; font-family: var(--display); font-weight: 800; color: var(--m-kids); font-size: 18px; }
.stars svg { width: 20px; height: 20px; fill: var(--saffron); }
.k-tile { background: #fff; border-radius: 22px; padding: 14px 12px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; box-shadow: 0 16px 34px -26px rgba(138,80,0,.5); position: relative; }
.k-tile .pic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; }
.k-tile .pic svg { width: 32px; height: 32px; }
.k-tile .ok { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 8px; background: var(--p-leo); display: grid; place-items: center; }
.k-tile .ok svg { width: 13px; height: 13px; stroke: #fff; }
.k-tile.todo { outline: 2px dashed #e8c99a; outline-offset: -2px; box-shadow: none; background: rgba(255,255,255,.7); }

.shield-wrap { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.shield { width: 120px; height: 138px; position: relative; display: grid; place-items: center; }
.shield svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.shield .ring { position: absolute; width: 230px; height: 230px; border-radius: 50%; border: 1.5px dashed rgba(11,107,90,.28); }
.shield .ring.r2 { width: 320px; height: 320px; border-style: solid; border-color: rgba(11,107,90,.12); }
.shield-wrap .float-tag:nth-of-type(1) { top: 42px; left: 26px; }
.shield-wrap .float-tag:nth-of-type(2) { top: 76px; right: 20px; }
.shield-wrap .float-tag:nth-of-type(3) { bottom: 44px; left: 50%; translate: -50% 0; }

/* ---------- Verbinden (Orbit) ---------- */
.connect { padding: 80px 0; overflow: hidden; }
.orbit { position: relative; width: min(640px, 100%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--surface-2); }
.orbit .ring.inner { inset: 17%; border-style: dashed; border-color: var(--line); }
.orbit-center { position: relative; z-index: 2; max-width: 300px; text-align: center; }
.orbit-center .lead { margin-top: 14px; font-size: 16px; }
.orbit-spin { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.o-item { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.o-item > span {
  position: absolute; translate: -50% -50%;
  width: 62px; height: 62px; border-radius: 19px;
  display: grid; place-items: center;
  box-shadow: 0 18px 30px -16px rgba(20,20,26,.35), inset 0 0 0 1px rgba(255,255,255,.6);
  animation: spin 80s linear infinite reverse;
}
.o-item > span svg { width: 28px; height: 28px; }
.o-item > span em {
  position: absolute; top: 100%; left: 50%; translate: -50% 8px; white-space: nowrap;
  font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Alltag (Karten-Stapel) ---------- */
.stack { position: relative; width: min(560px, 100%); height: 340px; margin: 0 auto; }
.s-card {
  position: absolute; inset: 0;
  background: var(--surface); border-radius: 30px; padding: 44px 48px 36px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  transition: transform .7s var(--ease), opacity .7s var(--ease), background .5s;
  box-shadow: 0 1px 0 rgba(20,20,26,.03);
}
.s-card p { font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--ink); letter-spacing: -.005em; }
.s-card footer { display: flex; align-items: center; gap: 12px; text-align: left; }
.s-card footer .a-ava { width: 42px; height: 42px; font-size: 15px; }
.s-card footer b { display: block; font-size: 15px; }
.s-card footer small { display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.s-card[data-pos="0"] { z-index: 3; transform: none; background: #f6f6f8; }
.s-card[data-pos="1"] { z-index: 2; transform: translate(18px, 14px) rotate(2.5deg); background: #efeff3; }
.s-card[data-pos="1"] > * , .s-card[data-pos="2"] > * { opacity: 0; transition: opacity .3s; }
.s-card[data-pos="2"] { z-index: 1; transform: translate(-16px, 22px) rotate(-3deg); background: #e9e9ee; }
.s-card > * { transition: opacity .5s .2s; }
.stack-nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 48px; }
.stack-nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; transition: background .2s, transform .2s; }
.stack-nav button:hover { background: var(--surface-2); transform: scale(1.06); }
.stack-nav button svg { width: 18px; height: 18px; }
.stack-dots { display: flex; gap: 6px; margin: 0 8px; }
.stack-dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width .3s var(--ease), background .3s; }
.stack-dots i.on { width: 20px; background: var(--ink); }

/* ---------- Preise ---------- */
.pricing-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.pricing-layout .phone { --s: .74; z-index: 2; margin: 0 -36px; transform: translateY(var(--py, 0px)); }
.p-card { border-radius: 30px; padding: 34px 34px 32px; min-height: 470px; display: flex; flex-direction: column; }
.p-card.free { background: var(--surface); padding-right: 70px; }
.p-card.plus { background: var(--ink); color: #fff; padding-left: 70px; }
.p-top { display: flex; justify-content: space-between; align-items: center; min-height: 30px; margin-bottom: 14px; }
.p-name { font-size: 16px; font-weight: 700; color: var(--ink-2); }
.plus .p-name { color: #c9c9d1; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price b { font-family: var(--display); font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price span { color: var(--ink-2); font-weight: 600; }
.plus .price span { color: #a1a1aa; }
.p-note { font-size: 13.5px; color: var(--ink-2); font-weight: 500; min-height: 21px; }
.plus .p-note { color: #a1a1aa; }
.p-list { list-style: none; margin: 26px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.p-list li { display: flex; gap: 11px; align-items: center; font-size: 15.5px; font-weight: 500; }
.p-list li svg { width: 20px; height: 20px; flex: none; }
.free .p-list svg { stroke: var(--indigo); }
.plus .p-list svg { stroke: #9d9dff; }
.toggle { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #c9c9d1; }
.toggle .sw { width: 40px; height: 24px; border-radius: 12px; background: #3a3a44; position: relative; transition: background .3s; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.toggle[aria-checked="true"] .sw { background: var(--indigo); }
.toggle[aria-checked="true"] .sw::after { transform: translateX(16px); }
.pricing-foot { text-align: center; margin-top: 28px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.pricing-foot b { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border-radius: 20px; overflow: hidden; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-weight: 700; font-size: 16.5px; }
.faq-item button svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); color: var(--ink-2); }
.faq-item.open button svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--ink-2); font-weight: 500; max-width: 600px; }
.faq-foot { text-align: center; margin-top: 26px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.faq-foot a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* ---------- Schritte ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 48px; }
.st-card { background: var(--surface); border-radius: 24px; padding: 24px; min-height: 196px; display: flex; flex-direction: column; }
.st-card .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto; }
.st-card .icon svg { width: 22px; height: 22px; }
.st-card h3 { font-family: var(--display); font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; margin: 28px 0 4px; }
.st-card p { color: var(--ink-2); font-size: 14.5px; font-weight: 500; line-height: 1.5; }

/* ---------- Footer ---------- */
footer.site { padding: 80px 0 36px; border-top: 1px solid var(--surface-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.foot-grid .brand { color: var(--ink); margin-bottom: 16px; }
.foot-grid .brand-mark { background: var(--surface); }
.foot-grid > div:first-child p { color: var(--ink-2); font-size: 15px; font-weight: 500; max-width: 330px; margin-bottom: 20px; }
.foot-grid h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-grid ul a { color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .2s; }
.foot-grid ul a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); font-size: 14px; font-weight: 500; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .features-layout { grid-template-columns: 1fr 1fr; }
  .features-layout .phone { grid-column: span 2; grid-row: 1; justify-self: center; margin-bottom: 12px; }
  .f-col.left .f-card:nth-child(2), .f-col.right .f-card:nth-child(2) { margin: 0; }
  .pricing-layout { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pricing-layout .phone { display: none; }
  .p-card.free, .p-card.plus { padding: 32px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav .btn-primary { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu {
    display: block; position: fixed; top: 80px; left: 16px; right: 16px; z-index: 49;
    background: rgba(20,20,26,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-radius: 22px; padding: 10px;
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav.open + .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 13px 14px; color: #fff; font-weight: 600; border-radius: 12px; }
  .mobile-menu a:hover { background: rgba(255,255,255,.08); }
  .mobile-menu .btn { margin-top: 6px; width: 100%; color: #fff; }
  .benefits-grid, .auto-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .b-card { min-height: 480px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
  section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: 118px; }
  .title { font-size: 28px; }
  .section-head { margin-bottom: 40px; }
  .connect { padding: 24px 0 40px; }
  .hero .lead { font-size: 16.5px; }
  .hero-stage { height: 470px; margin-top: 44px; }
  .hero-stage .phone { --s: .6; }
  .hero-stage .phone.back { transform: translateX(-96%) translate(var(--hx, 0px), calc(40px + var(--hy, 0px))) rotate(var(--rot)) scale(var(--hs, 1)); }
  .hero-stage .phone.front { transform: translateX(-14%) translate(var(--hx, 0px), var(--hy, 0px)) rotate(var(--rot)) scale(var(--hs, 1)); }
  .features-layout { grid-template-columns: 1fr; }
  .features-layout .phone { grid-column: auto; --s: .66; }
  .f-col { gap: 12px; }
  .pricing-layout { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .st-card { min-height: 0; }
  .st-card h3 { margin-top: 18px; }
  .stack { height: 330px; }
  .s-card { padding: 32px 26px 28px; }
  .s-card p { font-size: 17.5px; }
  .o-item > span { width: 48px; height: 48px; border-radius: 15px; }
  .o-item > span svg { width: 22px; height: 22px; }
  .o-item > span em { display: none; }
  .orbit { width: calc(100% + 80px); margin-inline: -40px; }
  .orbit-center { max-width: 220px; }
  .orbit-center .lead { font-size: 14.5px; }
  .proof { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero [data-in], .js .hero-stage .phone, .js .tw, .js #feat .f-card, .js #pricing .p-card { opacity: 1 !important; filter: none !important; translate: 0 0 !important; }
  .js .tw, .js #feat .f-card, .js #pricing .p-card { transform: none !important; }
}


/* =========================================================
   Bewegung
   ========================================================= */

/* Navigation: kommt beim Laden von oben, wird beim Scrollen dichter */
.js .nav-pill { opacity: 0; transform: translateY(-24px) scale(.96); }
.js .nav.ready .nav-pill { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease), width .5s var(--ease), background .3s, height .4s var(--ease); }
.nav.scrolled .nav-pill { width: min(760px, 100%); background: rgba(20, 20, 26, .9); height: 52px; }

/* Hintergrund-Flächen im Hero driften langsam */
.hero::before { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(0, 30px, 0) scale(1.08); } }

/* Überschriften: Wort für Wort */
.tw { display: inline-block; }
.js .tw { opacity: 0; transform: translateY(.45em); filter: blur(8px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d0, 0ms)); }
.js .words-in .tw { opacity: 1; transform: none; filter: none; }
.js .hero h1 .tw { --d0: 120ms; }

/* Knöpfe: Lichtkante beim Hover */
.btn-primary, .store.apple { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .store.apple::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after, .store.apple:hover::after { transform: translateX(120%); }
.store:active, .btn:active { transform: scale(.97); }

/* Hero-Handys: Termine im Kalender laufen nacheinander ein */
.js .h-ev { opacity: 0; transform: translateY(14px); }
.js .hero.ready .h-ev { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(1.1s + var(--i) * .14s); }
.check svg { opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease); }
.check.on svg { opacity: 1; transform: none; }
.check { transition: background .3s, border-color .3s; }
.h-task.done .check { background: var(--m-task); border-color: var(--m-task); }
.h-task.done .check svg { opacity: 1; transform: none; stroke: #fff; }
.h-task .x { transition: color .3s; }
.h-task.done .x { color: var(--ink-3); text-decoration: line-through; }
.roll { display: inline-block; animation: roll .5s var(--ease); }
@keyframes roll { from { transform: translateY(60%); opacity: 0; } }

/* Vorteil 1: Termine fliegen nacheinander ein, Handy schiebt sich hoch */
.b-card .phone { translate: 0 var(--py, 0px); }
.js .b-ev { opacity: 0; transform: translateX(-18px); }
.js .b1.live .b-ev { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(.35s + var(--i) * .12s); }

/* Vorteil 2: Abhaken live */
.b-apple .check { color: #9fd1b3; }
.b-apple.done .check { background: var(--m-list); border-color: var(--m-list); color: var(--m-list); }
.b-apple.done .check svg { opacity: 1; transform: none; stroke: #fff; }
.b-apple .x { transition: color .3s; }
.b-apple.done .x { color: var(--ink-2) !important; text-decoration: line-through; }
.b-apple .chip { transition: opacity .3s; }
.b-apple.done .chip { opacity: .35; }
.b-new { transform-origin: 50% 0; transition: opacity .45s var(--ease), transform .55s cubic-bezier(.3, 1.5, .5, 1); }
.b-new.hidden { opacity: 0; transform: translateY(-8px) scale(.94); }

/* Vorteil 3: Push fällt herein, Balken laufen voll */
.b3 .push { transition: opacity .5s var(--ease), transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.b3 .push.hidden { opacity: 0; transform: translateY(-40px) scale(.92); }
.js .bar i { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); }
.js .live .bar i { transform: none; }
.radar-row:nth-of-type(2) .bar i { transition-delay: .1s; }
.radar-row:nth-of-type(3) .bar i { transition-delay: .2s; }
.radar-row:nth-of-type(4) .bar i { transition-delay: .3s; }
.radar-row:nth-of-type(5) .bar i { transition-delay: .4s; }

/* Funktionen: Karten fliegen vom Handy nach außen */
.js #feat .f-card {
  opacity: 0; filter: blur(6px);
  transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(.7);
  transition: opacity .7s var(--ease), transform 1s cubic-bezier(.2, .9, .25, 1.12), filter .7s var(--ease), box-shadow .3s;
  transition-delay: calc(var(--d) * 1ms);
}
#feat .f-col.left .f-card { --fx: 74px; }
#feat .f-col.right .f-card { --fx: -74px; }
#feat .f-card:nth-child(1) { --fy: 34px; }
#feat .f-card:nth-child(3) { --fy: -34px; }
.js #feat.out .f-card { opacity: 1; filter: none; transform: none; }
#feat .f-card:hover { box-shadow: 0 0 0 1px var(--line), 0 24px 44px -26px rgba(20,20,26,.4); }
.f-card .icon { transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.f-card:hover .icon { transform: rotate(-8deg) scale(1.08); }

/* Läuft von allein */
.js .mc-g .fer { opacity: 0; transition: opacity .35s var(--ease); transition-delay: calc(.4s + var(--i, 0) * 70ms); }
.js .live .mc-g .fer { opacity: 1; }
.js .mc-g .hol { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.7, .5, 1) .25s, opacity .3s .25s; }
.js .live .mc-g .hol { transform: none; opacity: 1; }
.js .mc-legend span { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.js .live .mc-legend span { opacity: 1; transform: none; }
.mc-legend span:nth-child(2) { transition-delay: .9s; }
.mc-legend span:nth-child(3) { transition-delay: 1.2s; }
.mc-legend span:nth-child(1) { transition-delay: .5s; }
.art { transition: transform .6s var(--ease); }
.a-card:hover .art { transform: translateY(-4px); }
.art > * { transition: transform .8s var(--ease); }
.a-card:hover .art > * { transform: scale(1.03); }

.k-tile { transition: background .3s, outline-color .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.k-tile .ok { transition: opacity .3s, transform .45s cubic-bezier(.3, 1.8, .5, 1); }
.k-tile.todo .ok { opacity: 0; transform: scale(.3); }
.k-tile.pop { transform: scale(1.06); }
.k-next:not(.todo) { outline: none; background: #fff; box-shadow: 0 16px 34px -26px rgba(138,80,0,.5); }
.stars svg { transition: transform .5s cubic-bezier(.3, 1.8, .5, 1); }
.stars.pop svg { transform: rotate(72deg) scale(1.3); }

.sh-check { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease) .4s; }
.live .sh-check, html:not(.js) .sh-check { stroke-dashoffset: 0; }
.shield .ring { animation: pulse 4s ease-in-out infinite; }
.shield .ring.r2 { animation-delay: -2s; }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .55; } }
.shield-wrap .float-tag { animation: bob 5s ease-in-out infinite; }
.shield-wrap .float-tag:nth-of-type(2) { animation-delay: -1.6s; }
.shield-wrap .float-tag:nth-of-type(3) { animation-delay: -3.2s; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.art-safe .float-tag { will-change: transform; }

/* Orbit: Icons springen nacheinander auf */
.orbit-spin { animation: none; transform: rotate(var(--spin, 0deg)); }
.o-item > span { animation: none; transform: rotate(calc(-1 * var(--spin, 0deg))); }
.js .o-item > span > * { transition: none; }
.js .o-item > span { opacity: 0; scale: .3; transition: opacity .5s var(--ease), scale .7s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i) * 110ms + .2s); }
.js .connect.live .o-item > span { opacity: 1; scale: 1; }
.orbit .ring { transition: transform 1.4s var(--ease), opacity 1s; }
.js .orbit .ring { transform: scale(.85); opacity: 0; }
.js .connect.live .orbit .ring { transform: none; opacity: 1; }
.js .connect.live .orbit .ring.inner { transition-delay: .15s; }

/* Kartenstapel: vordere Karte fliegt weg */
.s-card.leaving { transform: translate(-70%, -10px) rotate(-10deg) !important; opacity: 0; z-index: 4 !important; }
.s-card.snap { transition: none !important; }
.stack-dots i { cursor: pointer; }
.stack-progress { display: block; height: 3px; width: 64px; margin: 18px auto 0; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.stack-progress i { display: block; height: 100%; width: 100%; background: var(--ink-3); transform-origin: 0 50%; transform: scaleX(0); }
.stack-progress.run i { transform: scaleX(1); transition: transform 5.5s linear; }

/* Preise: Karten gleiten hinter dem Handy hervor */
.js #pricing .p-card { opacity: 0; transition: opacity .8s var(--ease), transform 1.1s cubic-bezier(.2, .9, .25, 1.08); }
.js #pricing .p-card.free { transform: translateX(90px) scale(.92) skewY(-3deg); }
.js #pricing .p-card.plus { transform: translateX(-90px) scale(.92) skewY(3deg); }
.js #pricing.out .p-card { opacity: 1; transform: none; }
.js #pricing.out .p-card.plus { transition-delay: .12s; }
.p-list li { transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.5s + var(--i, 0) * 70ms); }
.js #pricing:not(.out) .p-list li { opacity: 0; transform: translateX(-10px); }
#plus-price.flip { animation: roll .45s var(--ease); }
@media (max-width: 1040px) {
  .js #pricing .p-card.free, .js #pricing .p-card.plus { transform: translateY(30px); }
}

/* Schritte: Linie läuft durch, Icons hüpfen */
.steps-grid { position: relative; }
.steps-line { position: absolute; left: 24px; right: 24px; top: 46px; height: 2px; background: var(--surface-2); border-radius: 2px; z-index: 0; pointer-events: none; }
.steps-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--indigo), var(--coral), var(--petrol), var(--saffron)); border-radius: 2px; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.st-card { position: relative; z-index: 1; }
.st-card .icon { transition: transform .6s cubic-bezier(.3, 1.8, .5, 1); transition-delay: calc(var(--d) * 1ms + .3s); }
.js .st-card:not(.in) .icon { transform: scale(.4) rotate(-20deg); }
.st-card:hover .icon { transform: translateY(-3px); transition-delay: 0s; }
@media (max-width: 1040px) { .steps-line { display: none; } }

/* Footer */
footer.site .brand-mark { transition: transform .5s cubic-bezier(.3, 1.8, .5, 1); }
footer.site .brand:hover .brand-mark { transform: rotate(-10deg); }

@media (prefers-reduced-motion: reduce) {
  .js .nav-pill, .js .h-ev, .js .b-ev, .js .mc-g .fer, .js .mc-g .hol, .js .mc-legend span, .js .o-item > span, .js .orbit .ring, .js .st-card .icon, .js #pricing .p-list li { opacity: 1 !important; transform: none !important; scale: 1 !important; }
  .js .bar i { transform: none !important; }
  .sh-check { stroke-dashoffset: 0; }
}

/* Kartenstapel und wegfliegende Karte nicht über den Rand scrollen lassen */
#alltag, .connect, #preise, #funktionen { overflow-x: clip; }

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 150px 0 100px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 12px; }
.legal .stand { color: var(--ink-3); font-size: 14.5px; font-weight: 500; margin-bottom: 48px; }
.legal h2 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.015em; margin: 44px 0 12px; }
.legal h3 { font-size: 16.5px; font-weight: 700; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; font-weight: 500; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.legal address { font-style: normal; color: var(--ink); font-weight: 600; line-height: 1.6; }
.legal .box { background: var(--surface); border-radius: 22px; padding: 24px 26px; }
.legal ol { padding-left: 22px; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.legal h2 + p, .legal h3 + p { margin-top: 0; }
.legal ul + p, .legal ol + p, .legal table + p { margin-top: 12px; }
/* Dienstleister-Tabelle: auf dem Handy waagerecht wischbar statt die Seite zu verbreitern. */
.legal table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 14px 0 4px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 500; vertical-align: top; }
.legal th { color: var(--ink); font-weight: 700; }
.nav-back { height: 40px; padding: 0 16px; border-radius: 13px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); transition: background .2s; }
.nav-back:hover { background: rgba(255,255,255,.18); }
.nav-back svg { width: 16px; height: 16px; }

/* ---------- Vorteilskarten: Handys sauber anschneiden ---------- */
/* Desktop: mittlere Karte zeigt das untere Ende der Einkaufsliste */
.b2-body { padding-top: 250px; }
.b2-head { display: none; }
/* Angeschnittene Handys blenden zur Kartenkante weich aus statt mit leerem Screen zu enden */
.b1 .phone, .b2 .phone { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%); }
.b2 .phone { -webkit-mask-image: linear-gradient(0deg, #000 70%, transparent 100%); mask-image: linear-gradient(0deg, #000 70%, transparent 100%); }

@media (max-width: 860px) {
  /* Handy-Layout: alle Karten gleich aufgebaut, Text oben, Gerät darunter */
  .b-card, .b-card.mid { flex-direction: column; justify-content: flex-start; min-height: 0; height: 560px; }
  .b-card.mid .b-text { padding: 28px 28px 0; }
  .b-card.mid .phone, .b-card .phone { margin: 28px auto 0; }
  .b2-body { padding-top: 62px; }
  .b2-head { display: block; padding: 0 4px 4px; }
  .b2 .phone { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%); }
  .b2 .tabbar { display: none; }
  .b3 { height: auto; padding-bottom: 24px; }
}
