:root {
  --bg: #FAF8F4;
  --bg-card: #FFFFFF;
  --bg-light: #F4F0E8;
  --text-primary: #2B2620;
  --text-secondary: #6B6459;
  --text-tertiary: #948C7E;
  --primary: #593FA8;
  --primary-light: #EDE9F7;
  --border: #E7E2D8;
  --danger: #C17B6E;
  --danger-bg: #FDF5F3;
  --nav-bg: rgba(255, 255, 255, 0.75);
  --mockup-shadow: rgba(89, 63, 168, 0.18);
  /* Lila für Text und Links, im Dark Mode heller als --primary */
  --primary-text: #593FA8;
  /* Textmarker für wiederkehrende Stellen im Hero */
  --marker: #DCD0FA;
  --marker-2: #F6D9A8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17151F;
    --bg-card: #211E2C;
    --bg-light: #292534;
    --text-primary: #EDEAF2;
    --text-secondary: #B8B3C4;
    --text-tertiary: #8A8496;
    --primary: #593FA8;
    --primary-light: rgba(89, 63, 168, 0.18);
    --border: rgba(255, 255, 255, 0.09);
    --danger: #E0917F;
    --danger-bg: #3A2620;
    --nav-bg: rgba(33, 30, 44, 0.7);
    --mockup-shadow: rgba(89, 63, 168, 0.35);
    --primary-text: #B9A6F2;
    --marker: rgba(124, 92, 224, 0.42);
    --marker-2: rgba(214, 160, 70, 0.38);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.wrap-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px;
}

header.site-float {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 0;
  max-width: 860px;
  margin: 18px auto 0;
  padding: 10px 10px 10px 22px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  position: sticky;
  top: 14px;
  z-index: 50;
}

@media (max-width: 560px) {
  header.site, header.site-float { justify-content: center; }
  nav.site { justify-content: center; flex-wrap: wrap; row-gap: 8px; }
  nav.site a { margin-left: 12px; margin-right: 0; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}

nav.site {
  display: flex;
  align-items: center;
}
nav.site a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  margin-left: 20px;
}
nav.site a:hover { color: var(--primary); }
nav.site a.nav-cta {
  margin-left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
nav.site a.nav-cta:hover { color: #fff; opacity: 0.9; }

h1 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 8px 0 6px;
  text-wrap: balance;
}

.meta {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 40px;
}

h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 44px 0 14px;
  letter-spacing: -0.005em;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}

p { margin: 0 0 16px; }

a { color: var(--primary-text); }
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 3px;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.callout {
  background: var(--bg-light);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.notice {
  background: var(--danger-bg);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 36px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.home-hero {
  padding: 48px 0 56px;
  text-align: center;
}
.home-hero-logo {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  margin: 0 auto 28px;
  display: block;
  box-shadow: 0 12px 32px rgba(89, 63, 168, 0.28);
}
.home-hero h1 {
  font-size: clamp(32px, 6vw, 46px);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.home-hero p.lede {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.home-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.home-more:hover { text-decoration: underline; }

.home-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.home-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 32px;
  justify-content: center;
}
.home-links a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14.5px;
}
.home-links a:hover { border-color: var(--primary); color: var(--primary); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 8px;
}
@media (max-width: 640px) {
  .value-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.value-card .emoji { font-size: 22px; }
.emoji-icon { width: 28px; height: 28px; }
.value-card h3 { margin: 10px 0 4px; }
.value-card p { margin: 0; font-size: 14.5px; color: var(--text-secondary); }

.tier-table td:first-child, .tier-table th:first-child { font-weight: 700; color: var(--text-primary); }

details.faq {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
details.faq summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-tertiary);
  flex-shrink: 0;
}
details.faq[open] summary::after { content: '–'; }
details.faq p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  background: var(--primary-light);
}
.price-card .badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
}
.price-card .tier-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 17px; margin-top: 4px; }
.price-card .tier-price { font-size: 26px; font-weight: 800; margin: 10px 0 2px; }
.price-card .tier-price span { font-size: 12px; font-weight: 400; color: var(--text-secondary); }
.price-card .tier-lookback {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.price-card ul { margin: 0; padding: 0; list-style: none; }
.price-card li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  margin-bottom: 7px;
  line-height: 1.4;
}
.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.auth-form {
  max-width: 420px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 16px;
  font-family: inherit;
}
.auth-form input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.auth-consent input { margin-top: 3px; flex-shrink: 0; }
.auth-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.auth-submit:disabled { opacity: 0.5; cursor: default; }
.auth-message {
  font-size: 14.5px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 4px;
}
.auth-message.success { background: var(--primary-light); color: var(--primary); }
.auth-message.error { background: var(--danger-bg); color: var(--danger); }

/* Landing hero */
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.hero-big {
  padding: 56px 0 8px;
  text-align: center;
}
.hero-big h1 {
  font-size: clamp(36px, 6.5vw, 60px);
  max-width: 17ch;
  margin: 0 auto 18px;
  line-height: 1.08;
}
.hero-big h1 .accent { color: var(--primary); }
.hero-big .lede {
  font-size: 18.5px;
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 auto;
}
.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--text-tertiary);
}
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row .sep { color: var(--border); }

/* App mockup */
.mockup-frame {
  max-width: 380px;
  margin: 48px auto 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 40px 90px -30px var(--mockup-shadow);
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 9px; height: 9px; border-radius: 50%; }
.mockup-dot.red { background: #ED6A5E; }
.mockup-dot.yellow { background: #F4BF4F; }
.mockup-dot.green { background: #61C454; }
.mockup-title { flex: 1; text-align: center; font-size: 12px; color: var(--text-tertiary); margin-right: 27px; }
.mockup-body { padding: 20px; background: var(--bg); }
.mockup-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.av-icon { width: 16px; height: 16px; display: inline-block; }
.mockup-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.mockup-entry .date { font-size: 11.5px; color: var(--text-tertiary); margin-bottom: 6px; }
.mockup-entry .txt { font-size: 13.5px; color: var(--text-primary); line-height: 1.4; margin-bottom: 8px; }
.mockup-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Stats row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 40px 0 0;
  text-align: center;
}
.stats-row .stat .num {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--text-primary);
}
.stats-row .stat .label { font-size: 13px; color: var(--text-secondary); }

/* Feature showcase rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.feature-row:first-of-type { border-top: none; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
@media (max-width: 720px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-text, .feature-row.reverse .feature-visual { order: initial; }
}
.feature-text .eyebrow { margin-bottom: 10px; }
.feature-text h3 { font-size: 24px; font-family: 'Fredoka', sans-serif; margin: 0 0 10px; }
.feature-text p { color: var(--text-secondary); font-size: 15.5px; }
.feature-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.chat-bubble {
  border-radius: 14px;
  padding: 12px 15px;
  font-size: 13.5px;
  line-height: 1.4;
  max-width: 85%;
  margin-bottom: 10px;
}
.chat-bubble.user {
  background: var(--primary);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
  background: var(--bg-light);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: 84px;
  margin: 18px 4px 16px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
}
.bar-col .bar {
  width: 100%;
  max-width: 34px;
  background: var(--primary);
  border-radius: 6px 6px 2px 2px;
  min-height: 4px;
}
.bar-col span { font-size: 11px; color: var(--text-tertiary); }

.theme-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.profile-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px 9px 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.profile-pill.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

.section-head { text-align: center; margin: 8px 0 8px; }
.section-head .eyebrow { display: block; }
.section-head h2 { margin-top: 4px; }
.section-head p { color: var(--text-secondary); max-width: 50ch; margin: 8px auto 0; }

footer.site {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
}
footer.site .footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--text-tertiary); text-decoration: none; }
footer.site a:hover { color: var(--primary); }

footer.site-rich {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-rich-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-cta {
  text-align: center;
  padding-bottom: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-cta h2 { margin-bottom: 6px; }
.footer-cta p { color: var(--text-secondary); margin-bottom: 22px; }
.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 700px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
}
.footer-columns .logo { margin-bottom: 10px; }
.footer-columns .about-text { color: var(--text-tertiary); font-size: 13.5px; max-width: 32ch; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 11px;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ------------------------------------------------------------------
   Relaunch 03.10.2026: Self-Journaling
   Ein prägendes Element (Textmarker-Einträge im Hero), alles andere ruhig.
   ------------------------------------------------------------------ */

main { display: block; }

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 40px;
}
.hero-copy h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 13ch;
}
.hero-copy .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 44ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--text-tertiary);
  max-width: 44ch;
}

/* Die drei Einträge mit Textmarker */
.pattern {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px 18px 18px 18px;
  padding: 14px 18px 16px;
}
.slip:nth-child(2) { margin-left: 28px; }
.slip:nth-child(3) { margin-left: 8px; }
.slip-date {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}
.slip p { margin: 0; font-size: 16px; line-height: 1.55; }
.slip mark {
  color: inherit;
  padding: 0 1px;
  border-radius: 3px;
  background: linear-gradient(var(--marker), var(--marker)) no-repeat left center / 100% 100%;
}
.slip mark.m2 { background-image: linear-gradient(var(--marker-2), var(--marker-2)); }

.insight {
  margin-top: 6px;
  background: var(--primary);
  color: #fff;
  border-radius: 18px 18px 18px 6px;
  padding: 18px 20px;
  font-size: 16.5px;
  line-height: 1.5;
}
.insight-label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 4px;
}

/* Einzige Ladeanimation: Marker ziehen sich nacheinander auf, dann erscheint die Erkenntnis */
@media (prefers-reduced-motion: no-preference) {
  .slip mark { animation: marker-in 0.7s ease-out both; }
  .slip:nth-child(1) mark:nth-of-type(1) { animation-delay: 0.5s; }
  .slip:nth-child(1) mark:nth-of-type(2) { animation-delay: 0.8s; }
  .slip:nth-child(3) mark:nth-of-type(1) { animation-delay: 1.15s; }
  .slip:nth-child(3) mark:nth-of-type(2) { animation-delay: 1.45s; }
  .insight { animation: insight-in 0.6s ease-out 1.9s both; }
}
@keyframes marker-in {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}
@keyframes insight-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-copy h1 { max-width: 16ch; }
  .slip:nth-child(2) { margin-left: 16px; }
}

/* Ruhige Abschnitte in einer Spalte */
.band {
  padding-top: 56px;
  padding-bottom: 8px;
  border-top: 1px solid var(--border);
}
/* Gleiche linke Kante wie der Hero, Textspalte bleibt schmal */
.band > * { max-width: 720px; }
main .band:last-child { padding-bottom: 72px; }
.band h2 {
  font-size: clamp(24px, 3.2vw, 30px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section-lede { color: var(--text-secondary); max-width: 52ch; }

.text-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
}
.text-link:hover { text-decoration: underline; }

/* So funktioniert's: echte Reihenfolge, deshalb nummeriert */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 8px 0 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-text);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin: 4px 0 4px; font-size: 18px; }
.steps p { margin: 0; color: var(--text-secondary); }

.chat-demo {
  margin: 14px 0 0;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 18px;
}
.chat-demo p { margin: 0; font-size: 15.5px; line-height: 1.5; max-width: 46ch; }
.chat-q {
  margin-left: auto !important;
  width: fit-content;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
}
.chat-a {
  margin-top: 10px !important;
  background: var(--bg-card);
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
}

/* Impulse wie Zettel in der eigenen Handschrift-Farbe */
.prompts {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.prompts li {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 16.5px;
  color: var(--primary-text);
  background: var(--primary-light);
  padding: 10px 16px;
  border-radius: 14px;
}

/* Datenschutz als Liste statt Kartenraster */
.facts { margin: 18px 0 0; }
.facts > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4px 24px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.facts > div:first-child { border-top: none; padding-top: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--text-secondary); }
@media (max-width: 600px) {
  .facts > div { grid-template-columns: 1fr; }
}

.band details.faq:last-of-type { margin-bottom: 14px; }

.footer-status {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-status p { margin: 0; font-size: 18px; color: var(--text-secondary); }
.footer-status strong { color: var(--text-primary); font-family: 'Fredoka', sans-serif; font-weight: 600; }

.footer-col a.logo { display: flex; }
@media (max-width: 560px) {
  header.site-float { margin: 12px 12px 0; border-radius: 24px; padding: 10px 12px; }
}

/* ------------------------------------------------------------------
   App-Ansichten (originalgetreu nachgebaut, Dark Theme der App)
   ------------------------------------------------------------------ */
.showcase .section-lede { margin-bottom: 8px; }
.showcase > .phones { max-width: none; }

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}
.phone-figure { margin: 0; }
.phone-figure:nth-child(2) { margin-top: 48px; }
.phone-figure figcaption {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 30ch;
}
.phone-figure figcaption strong {
  display: block;
  color: var(--text-primary);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 2px;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  padding: 10px;
  background: #0E0D13;
  box-shadow:
    0 0 0 1.5px #2B2836,
    0 40px 80px -30px rgba(89, 63, 168, 0.45);
}
.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 34%;
  height: 22px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.app {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #17151F;
  color: #EDEAF2;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  padding: 56px 14px 0;
  font-size: 12px;
  line-height: 1.35;
}
.app-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.app-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid #9085E9;
  background: radial-gradient(circle at 50% 38%, #9085E9 0 22%, transparent 23%),
              radial-gradient(circle at 50% 110%, #9085E9 0 44%, transparent 45%);
}
.app-name { font-size: 17px; font-weight: 700; line-height: 1.1; }
.app-sub { font-size: 10.5px; color: #B8B3C4; }

.app-chips { display: flex; gap: 6px; overflow: hidden; margin-bottom: 12px; }
.app-chips span {
  flex-shrink: 0; padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12); color: #B8B3C4; font-size: 10.5px;
}

.app-card {
  background: #211E2C;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-left: 3px solid #593FA8;
}
.app-date { font-size: 10px; color: #8A8496; margin-bottom: 3px; }
.app-text { font-size: 12px; margin-bottom: 7px; }
.app-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.app-tags span {
  font-size: 9.5px; font-weight: 600; color: #B9A6F2;
  background: rgba(124, 92, 224, 0.2); padding: 3px 8px; border-radius: 999px;
}
.app-fab {
  position: absolute; right: 16px; bottom: 64px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #593FA8; color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(89,63,168,0.8);
}
.app-tabbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-around;
  padding: 12px 8px 18px;
  background: #1C1A25;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 10px; color: #8A8496;
}
.app-tabbar .on { color: #B9A6F2; }

.app-panel {
  background: #211E2C; border-radius: 16px; padding: 12px;
  border: 1px solid rgba(255,255,255,0.07); margin-bottom: 12px;
}
.app-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 8px; }
.app-panel-title { font-size: 12.5px; font-weight: 700; }
.app-toggle { display: flex; background: #292534; border-radius: 999px; padding: 2px; font-size: 9.5px; }
.app-toggle span { padding: 4px 7px; border-radius: 999px; color: #B8B3C4; }
.app-toggle .on { background: #211E2C; color: #EDEAF2; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }

.donut-row { display: flex; align-items: center; gap: 10px; }
.donut { width: 44%; flex-shrink: 0; overflow: visible; }
.donut .seg {
  fill: none;
  stroke: var(--c);
  stroke-width: 15;
  stroke-dasharray: var(--len) 263.89;
  stroke-dashoffset: var(--off);
}
.donut-num { fill: #EDEAF2; font-size: 22px; font-weight: 700; text-anchor: middle; font-family: 'Fredoka', sans-serif; }
.donut-lbl { fill: #B8B3C4; font-size: 9px; text-anchor: middle; font-family: 'Fredoka', sans-serif; }
.legend { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: 4px; }
.legend li { display: flex; align-items: center; gap: 5px; font-size: 9.5px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.legend b { margin-left: auto; font-weight: 700; }
.legend em { font-style: normal; color: #B8B3C4; width: 26px; text-align: right; }

.app-suggest {
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 9px 11px; margin-bottom: 7px; color: #B8B3C4; font-size: 11px;
}

.app-q {
  margin-left: auto; width: fit-content; max-width: 85%;
  background: #593FA8; color: #fff; font-size: 11.5px;
  padding: 8px 11px; border-radius: 14px 14px 4px 14px; margin-bottom: 10px;
}
.app-a {
  background: #211E2C; border-radius: 14px 14px 14px 4px; padding: 11px;
  font-size: 11px;
}
.app-a p { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.08); line-height: 1.4; }
.app-chart-title { font-weight: 700; color: #B8B3C4; font-size: 10.5px; }
.trend { width: 100%; margin-top: 6px; overflow: visible; }
.trend .grid line { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.trend .ylabels text { fill: #8A8496; font-size: 10px; text-anchor: end; font-family: 'Fredoka', sans-serif; }
.trend .xlabels text { fill: #8A8496; font-size: 10px; text-anchor: middle; font-family: 'Fredoka', sans-serif; }
.trend .area { fill: url(#trendFill); }
.trend .line { fill: none; stroke: #9085E9; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.trend .pts circle { fill: #9085E9; stroke: #211E2C; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.trend .pt-label { fill: #EDEAF2; font-size: 11px; font-weight: 600; font-family: 'Fredoka', sans-serif; }
.trend .pt-label.end { text-anchor: end; }

/* Animation beim Hereinscrollen. Ohne JavaScript oder bei reduzierter
   Bewegung gilt der Endzustand oben. */
@media (prefers-reduced-motion: no-preference) {
  .js .phone-figure:not(.in-view) .app-card-new { opacity: 0; transform: translateY(-14px); }
  .js .phone-figure:not(.in-view) .app-card-new .app-tags span { opacity: 0; transform: scale(.7); }
  .js .phone-figure .app-card-new { transition: opacity .5s ease-out .3s, transform .5s ease-out .3s; }
  .js .phone-figure .app-card-new .app-tags span { transition: opacity .35s ease-out 1.2s, transform .35s ease-out 1.2s; }
  .js .phone-figure .app-card-new .app-tags span + span { transition-delay: 1.4s; }

  .js .phone-figure:not(.in-view) .donut .seg { stroke-dasharray: 0 263.89; }
  .js .phone-figure .donut .seg { transition: stroke-dasharray .7s ease-out var(--d); }

  .js .phone-figure:not(.in-view) .trend .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .phone-figure .trend .line { stroke-dasharray: 1; transition: stroke-dashoffset 1.4s ease-in-out .2s; }
  .js .phone-figure:not(.in-view) .trend .area,
  .js .phone-figure:not(.in-view) .trend .pt-label { opacity: 0; }
  .js .phone-figure .trend .area,
  .js .phone-figure .trend .pt-label { transition: opacity .6s ease-out 1.5s; }
  .js .phone-figure:not(.in-view) .trend .pts circle { transform: scale(0); }
  .js .phone-figure .trend .pts circle { transition: transform .3s ease-out var(--d); }
}

@media (max-width: 860px) {
  .phones {
    grid-template-columns: repeat(3, 78%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone-figure { scroll-snap-align: center; }
  .phone-figure:nth-child(2) { margin-top: 0; }
}
.app-sources { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); display: grid; gap: 5px; }
.app-sources-label { font-size: 9.5px; font-weight: 700; color: #B8B3C4; }
.app-source {
  font-size: 9.5px; color: #B8B3C4; background: rgba(124, 92, 224, 0.14);
  border: 1px solid rgba(144, 133, 233, 0.45); border-radius: 8px; padding: 5px 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-source b { color: #B9A6F2; margin-right: 4px; }
