/* wäm – Landingpage. Schriften liegen lokal (keine Google-Server). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --mist: #f6f3fa; /* Seitengrund, lavendelweiß wie Chub */
  --lilac: #ebe4f5; /* zweite Fläche, eingehende Nachrichten */
  --tint: #e4edff; /* helle Markenfläche */
  --plum: #23173a; /* Schrift */
  --muted: #6c6282;
  --logo: #2f74fc; /* Logo-Blau, nur Akzent */
  --action: #1f5fe0; /* Knöpfe und eigene Nachrichten, AA mit Weiß */
  --action-dark: #174bb8;
  --white: #ffffff;
  --stage: #a28fbd; /* Lila Hintergrund im Chub-Video */

  /* Eine saubere Grotesk für alles (Stil Calendly): Überschriften fett und eng gesetzt, Fließtext ruhig */
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --wide: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--plum);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: var(--action);
}

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 8px;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 50;
}
.skip:focus {
  inset-inline-start: 8px;
}

.nowrap {
  white-space: nowrap;
  display: inline-block;
}

/* Knöpfe */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid var(--action);
  background: var(--action);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  background: var(--action-dark);
  border-color: var(--action-dark);
}
.btn:active {
  transform: translateY(1px);
}
.btn--ghost {
  background: transparent;
  color: var(--action);
}
.btn--ghost:hover {
  background: var(--tint);
  color: var(--action-dark);
}
.btn--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.95rem;
}

/* Kopfzeile */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--mist) 88%, transparent);
  backdrop-filter: blur(10px);
}
.topbar__logo {
  margin-inline-end: auto;
}
.topbar__logo img {
  height: 44px;
  width: auto;
}
.topbar__nav {
  display: none;
  gap: 26px;
}
.topbar__nav a {
  color: var(--plum);
  text-decoration: none;
  font-weight: 500;
}
.topbar__nav a:hover {
  color: var(--action);
}

/* Abschnitte */
main > section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) var(--gutter);
}

/* Hero */
.hero {
  display: grid;
  gap: 48px;
  align-items: center;
}
main > section.hero {
  padding-top: clamp(24px, 5vw, 64px);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.hero__lead {
  margin-top: 22px;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero__stage {
  display: flex;
  justify-content: center;
}

/* Handy mit Chat */
.phone {
  position: relative;
  margin: 0;
  width: min(300px, calc(100% - 24px));
  min-height: 540px;
  padding: 18px 14px 22px;
  border-radius: 46px;
  background: var(--white);
  box-shadow:
    0 0 0 9px var(--plum),
    0 40px 70px -20px rgba(35, 23, 58, 0.45);
}
.phone__notch {
  width: 96px;
  height: 22px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--plum);
}
.phone__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 12px;
  border-bottom: 1px solid var(--lilac);
}
.phone__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb35c, #fd648c);
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
}
.phone__name {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}
.phone__name small {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.75rem;
}

.chat {
  list-style: none;
  margin: 0;
  padding: 16px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat__event {
  align-self: center;
  max-width: 92%;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.chat__event strong {
  color: var(--plum);
}
.chat__stamp {
  align-self: flex-end;
  font-size: 0.72rem;
  color: var(--muted);
}
.chat__typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 20px;
  border-end-end-radius: 6px;
  background: var(--tint);
}
.chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--action);
  animation: dot 1s infinite ease-in-out;
}
.chat__typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.chat__typing span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dot {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Ablauf: Schritte erscheinen nacheinander (JS setzt data-show) */
.chat[data-animated] > li {
  display: none;
}
.chat[data-animated] > li.is-on {
  display: block;
  animation: pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.chat[data-animated] > li.chat__typing.is-on {
  display: inline-flex;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sprechblasen, überall gleich */
.bubble {
  max-width: 84%;
  padding: 10px 14px;
  font-size: 0.95rem;
  line-height: 1.4;
}
.bubble--in {
  align-self: flex-start;
  border-radius: 20px;
  border-end-start-radius: 6px;
  background: var(--lilac);
}
.bubble--out {
  align-self: flex-end;
  margin-inline-start: auto;
  border-radius: 20px;
  border-end-end-radius: 6px;
  background: var(--action);
  color: var(--white);
}
.bubble__link {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Kennst du das? */
.pain h2 {
  margin-bottom: 36px;
}
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.note {
  display: grid;
  gap: 10px;
}
.note__time {
  position: absolute;
  inset-inline-end: 16px;
  top: 10px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}
.note__msg {
  grid-row: 1;
  padding-block: 26px 16px;
  padding-inline: 62px 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 30px -18px rgba(35, 23, 58, 0.45);
  font-weight: 600;
  position: relative;
}
.note__msg::before {
  content: '';
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 9px;
  background: var(--plum)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-9 8.4 8.6 8.6 0 0 1-3.9-.9L3 20.5l1.5-4.6A8.4 8.4 0 0 1 12 3a8.4 8.4 0 0 1 9 8.5z'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}
.note__say {
  padding-inline-start: 18px;
  color: var(--muted);
}

/* Funktionen */
.features h2 {
  margin-bottom: 20px;
}
.feature {
  display: grid;
  gap: 20px;
  padding: 36px 0;
}
.feature + .feature {
  border-top: 2px dashed var(--lilac);
}
.feature > img {
  width: 132px;
}
.feature__text p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 36rem;
}
.feature__demo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
}
.rule p,
.plan p,
.inbox p {
  font-size: 0.95rem;
}
.rule__label {
  display: inline-block;
  min-width: 48px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--action);
}
.plan p span {
  display: inline-block;
  min-width: 82px;
  font-weight: 600;
}
.inbox p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
}
.inbox em {
  font-style: normal;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--action-dark);
}

/* Schritte (echte Reihenfolge, daher nummeriert) */
.steps__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.steps__head img {
  width: 120px;
  flex-shrink: 0;
}
.steps__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
  counter-reset: step;
}
.steps__list li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 64px;
}
.steps__list li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--logo);
  color: var(--white);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
}
.steps__list p {
  margin-top: 6px;
  color: var(--muted);
}

/* Kontrolle */
.control {
  display: grid;
  gap: 40px;
  align-items: center;
}
.control ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.control li {
  color: var(--muted);
}
.control li strong {
  color: var(--plum);
}
.fix {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px 24px;
  border-radius: 32px;
  background: var(--white);
}
.fix img {
  position: absolute;
  inset-inline-end: -10px;
  top: -78px;
  width: 104px;
}
.bubble--old {
  opacity: 0.55;
  text-decoration: line-through;
}
.fix__label {
  align-self: flex-end;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--action);
}

/* Branchen */
.trades h2 {
  max-width: 20ch;
}
.trades__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--lilac);
  background: var(--white);
  color: var(--plum);
  font: 500 1rem var(--text);
  cursor: pointer;
}
.chip:hover {
  border-color: var(--logo);
}
.chip[aria-pressed='true'] {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--white);
}
.trades__chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin-top: 26px;
  padding: 22px;
  border-radius: 28px;
  background: var(--white);
}

/* Beratung */
.advice {
  display: grid;
  gap: 24px;
  align-items: center;
}
.advice > img {
  width: 150px;
}
.advice > div {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.advice p {
  color: var(--muted);
  max-width: 34rem;
}
main > section.advice {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(40px, 6vw, 64px);
  margin-top: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(24px, 4vw, 48px);
  border-radius: 40px;
  background: var(--tint);
  max-width: calc(var(--wide) - 2 * var(--gutter));
  width: calc(100% - 2 * var(--gutter));
}

/* Fragen */
.faq h2 {
  margin-bottom: 24px;
}
.faq details {
  max-width: 46rem;
  border-bottom: 2px dashed var(--lilac);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--action);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '–';
}
.faq details p {
  padding: 0 0 20px;
  color: var(--muted);
  max-width: 40rem;
}

/* Abschluss */
.final {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}
.final img {
  width: 200px;
}
.final h2 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
}
.final p {
  color: var(--muted);
  margin-bottom: 10px;
}

/* Fußzeile */
.footer {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px var(--gutter) 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer img {
  height: 22px;
  width: auto;
}

.footer a {
  color: var(--muted);
}

/* Früh-Zugang */
.signup {
  width: min(440px, calc(100% - 32px));
  padding: 28px 24px 24px;
  border: 0;
  border-radius: 30px;
  background: var(--white);
  color: var(--plum);
  box-shadow: 0 40px 80px -30px rgba(35, 23, 58, 0.5);
}
.signup::backdrop {
  background: rgba(35, 23, 58, 0.45);
}
.signup > img {
  width: 110px;
  margin: -6px auto 6px;
}
.signup h2 {
  font-size: 1.8rem;
  text-align: center;
}
.signup > p {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
}
.signup__close {
  position: absolute;
  inset-inline-end: 14px;
  top: 10px;
}
.signup__close button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--plum);
  font-size: 1.4rem;
  cursor: pointer;
}
.signup__form {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.signup__form label {
  font-weight: 600;
  font-size: 0.95rem;
}
.signup__form input {
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--lilac);
  border-radius: 16px;
  font: 400 1rem var(--text);
  color: var(--plum);
}
.signup__form input:focus {
  border-color: var(--action);
  outline: none;
}
.signup__msg:empty {
  display: none;
}
.signup__msg {
  font-size: 0.95rem;
}
.signup__msg[data-tone='ok'] {
  color: #2e7d32;
}
.signup__msg[data-tone='error'] {
  color: var(--action-dark);
}
.signup__legal {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Rechtstexte */
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 24px var(--gutter) 80px;
}
.legal h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 24px 0 24px;
}
.legal h2 {
  font-size: 1.35rem;
  margin: 32px 0 8px;
}
.legal p,
.legal li {
  color: var(--plum);
}
.legal p + p {
  margin-top: 10px;
}

/* Größere Bildschirme */
@media (min-width: 980px) {
  .topbar__nav {
    display: flex;
  }
}
@media (min-width: 760px) {
  .note {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }
  .note__say {
    padding-inline-start: 0;
    font-size: 1.1rem;
  }
  .feature {
    grid-template-columns: 150px minmax(0, 1fr) minmax(0, 330px);
    align-items: center;
    gap: 36px;
  }
  .steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps__head img {
    width: 150px;
  }
  .advice {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 40px;
  }
  main > section.advice {
    padding-left: clamp(28px, 5vw, 64px);
    padding-right: clamp(28px, 5vw, 64px);
  }
  .advice > img {
    width: 180px;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
  .phone {
    width: 320px;
    min-height: 560px;
  }
  .control {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 72px;
  }
}

/* Nutzen-Band: einziger farbiger Abschnitt der Seite */
main > section.gains {
  max-width: none;
  margin: 0;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  background: var(--action);
  color: var(--white);
}
.gains h2,
.gains__list {
  max-width: var(--wide);
  margin-inline: auto;
}
.gains__list {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}
.gains h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
}
.gains p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 30rem;
}
@media (min-width: 760px) {
  .gains__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 56px;
  }
}
@media (min-width: 1100px) {
  .gains__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Menüs in der Kopfzeile */
.topbar__nav {
  align-items: center;
}
.menu {
  position: relative;
}
.menu summary,
.topbar__nav > a {
  color: var(--plum);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker,
.mnav summary::-webkit-details-marker {
  display: none;
}
.menu summary::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-start: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.menu ul {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: -16px;
  z-index: 30;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 50px -20px rgba(35, 23, 58, 0.45);
}
.menu a,
.mnav a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--plum);
  text-decoration: none;
}
.menu a:hover,
.mnav a:hover {
  background: var(--mist);
}
.mnav {
  position: relative;
}
.mnav summary {
  display: grid;
  place-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--lilac);
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  list-style: none;
  align-content: center;
}
.mnav summary span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--plum);
}
.mnav__panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 10px);
  z-index: 30;
  width: min(320px, calc(100vw - 32px));
  max-height: 75vh;
  overflow: auto;
  padding: 12px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 24px 50px -20px rgba(35, 23, 58, 0.45);
}
.mnav__panel ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.mnav__head {
  margin: 6px 0 2px;
}
.mnav__head a {
  font-family: var(--display);
  font-weight: 600;
}
@media (min-width: 980px) {
  .mnav {
    display: none;
  }
}

/* Unterseiten */
.crumbs {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 12px var(--gutter) 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: '›';
  margin-inline-end: 6px;
}
.crumbs a {
  color: var(--muted);
}
.sub > section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter);
}
.sub > section.subhero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding-top: clamp(20px, 4vw, 48px);
}
.subhero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.06;
  max-width: 20ch;
}
.subhero__lead {
  margin: 18px 0 26px;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--muted);
}
.subhero__art img {
  width: min(240px, 60vw);
  margin-inline: auto;
}
.sub > section.showcase {
  padding-top: 0;
}
.demo {
  display: grid;
  gap: 20px;
  align-items: start;
}
.demo--chat,
.demo--mention {
  max-width: 520px;
}
.dm__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lilac);
  font-weight: 600;
}
.dm__bar small {
  font-weight: 400;
  color: var(--muted);
}
.story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 360px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(170deg, var(--logo), #8db4ff 70%, var(--tint));
  color: var(--white);
}
.story__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.story__text {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}
.story__reply {
  padding: 10px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-size: 0.92rem;
}
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--action-dark);
  font-size: 0.85rem;
  font-weight: 600;
  font-style: normal;
}
.examples__list,
.recipes__list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.examples__list li,
.recipes__list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  background: var(--white);
}
.examples__list .bubble,
.recipes__list .bubble {
  max-width: 100%;
  margin-inline-start: 0;
}
.examples__industry {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}
.examples__result,
.recipes__why {
  color: var(--muted);
  font-size: 0.95rem;
}
.recipes__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}
.tips ul {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.tips li {
  padding-inline-start: 18px;
  border-inline-start: 4px solid var(--logo);
}
.tips p {
  margin-top: 4px;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
a.chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.cards {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.cards a {
  display: block;
  height: 100%;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  color: var(--plum);
  text-decoration: none;
  transition: transform 0.15s ease;
}
.cards a:hover {
  transform: translateY(-2px);
}
.cards h2,
.cards h3 {
  font-size: 1.25rem;
}
.cards p {
  margin-top: 6px;
  color: var(--muted);
}
.cards img {
  width: 84px;
  margin-bottom: 10px;
}
.cards__more {
  display: inline-block;
  margin-top: 12px;
  color: var(--action);
  font-weight: 600;
}
.more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  font-weight: 600;
}
@media (min-width: 760px) {
  .sub > section.subhero {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .demo--comment,
  .demo--story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .examples__list,
  .recipes__list,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tips ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 40px;
  }
}
@media (min-width: 1100px) {
  .examples__list,
  .cards--big {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Fußzeile mit Seitenübersicht */
.footer {
  display: grid;
  gap: 28px;
}
.footer__brand p {
  margin-top: 8px;
  max-width: 22rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.footer__cols ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.footer__head {
  font-family: var(--display);
  font-weight: 600;
  color: var(--plum);
}
.footer__head a {
  color: var(--plum);
  text-decoration: none;
}
.footer__cols a {
  color: var(--muted);
  text-decoration: none;
}
.footer__cols a:hover {
  color: var(--action);
}
@media (min-width: 900px) {
  .footer {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .footer__cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer__by {
    grid-column: 1 / -1;
  }
}

/* Kopfbereich: Chub-Video (Einstieg, dann endlose Tipp-Schleife), darunter ein Gespräch, das JS Nachricht für
   Nachricht abspielt. Grundzustand ohne JS / bei reduzierter Bewegung: Standbild und die erste Frage mit Antwort. */
.film {
  margin: 0;
  width: 100%;
  max-width: 560px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 40px 70px -28px rgba(35, 23, 58, 0.45);
}
.film__screen {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--stage);
}
.film__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Schleife liegt über dem Einstieg und erscheint erst, wenn sie läuft (kein Aufblitzen beim Wechsel) */
.film__video--loop {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.film.is-looping .film__video--loop {
  opacity: 1;
}
.film__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Kleiner Lautsprecher in der Ecke – das Video läuft ohne Klick, Ton ist nur ein Extra */
.film__sound {
  position: absolute;
  inset-inline-end: 12px;
  top: 12px; /* oben ist im Video nur Hintergrund, unten stehen Chubs Füße */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--plum);
  font: 600 0.92rem/1 var(--text);
  cursor: pointer;
  box-shadow: 0 6px 16px -10px rgba(35, 23, 58, 0.5);
}
/* Mit Ton: nur noch das runde Lautsprecher-Zeichen */
.film__sound[data-on] {
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.72);
}
.film__sound span:empty {
  display: none;
}
.film__sound:hover {
  background: var(--white);
}
.film__sound svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.film__sound svg path:first-child {
  fill: currentColor;
}
.film__wave {
  opacity: 0.35;
}
.film__sound[data-on] .film__wave {
  opacity: 1;
}

.film__chat {
  margin: 0;
  padding: 12px 18px 18px;
}
.film__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lilac);
  font-size: 0.85rem;
  color: var(--muted);
}
.film__avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb35c, #fd648c);
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
}
.film__name {
  flex: 1;
  font-weight: 600;
  color: var(--plum);
}
/* Feste Höhe: neue Nachrichten kommen unten dazu, ältere wandern nach oben aus dem Bild */
.film__thread {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  height: 15rem;
  margin: 0;
  padding: 12px 0 0;
  overflow: hidden;
  list-style: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 28px);
}
.film__msg {
  flex-shrink: 0;
  max-width: 85%;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.35;
}
.film__msg strong {
  display: block;
  font-size: 0.78rem;
}
.film__msg--in {
  align-self: flex-start;
  background: var(--lilac);
  border-end-start-radius: 6px;
}
.film__msg--out,
.film__msg--typing {
  align-self: flex-end;
  background: var(--action);
  color: var(--white);
  border-end-end-radius: 6px;
}
.film__msg--out strong {
  color: rgba(255, 255, 255, 0.82);
}
.film__link {
  display: table;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--action);
  font-weight: 600;
  font-size: 0.88rem;
}
.film__msg--typing {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 38px;
}
.film__msg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: dot 1s infinite ease-in-out;
}
.film__msg--typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.film__msg--typing span:nth-child(3) {
  animation-delay: 0.3s;
}
.film__msg.is-new {
  animation: pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.film__thread.is-clearing .film__msg {
  opacity: 0;
  transition: opacity 0.4s ease;
}
@media (max-width: 979px) {
  /* Handy: das Video direkt unter die Überschrift, Text und Knopf danach */
  .hero {
    gap: 0;
  }
  .hero__text {
    display: contents;
  }
  .hero__stage {
    order: 1;
    justify-content: flex-start;
    margin-top: 26px;
  }
  .hero__lead,
  .hero__actions,
  .hero__note {
    order: 2;
  }
  .film {
    border-radius: 26px;
  }
}

/* Sprachwahl */
.lang {
  position: relative;
}
.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 12px;
  border: 2px solid var(--lilac);
  border-radius: 999px;
  background: var(--white);
  font: 600 0.9rem var(--text);
  cursor: pointer;
  list-style: none;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323173a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lang ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 50px -20px rgba(35, 23, 58, 0.45);
}
.lang a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--plum);
  text-decoration: none;
}
.lang a:hover {
  background: var(--mist);
}
.lang a[aria-current] {
  font-weight: 700;
  color: var(--action);
}

/* Automationen */
.auto__head {
  max-width: 46rem;
}
.auto__lead {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--muted);
}
.auto__demo {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  align-items: start;
}
.post {
  padding: 14px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 20px 50px -30px rgba(35, 23, 58, 0.45);
}
.post__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 12px;
  font-weight: 600;
}
.post__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--tint), var(--mist));
  overflow: hidden;
}
.post__media img {
  width: 46%;
}
.post__badge {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  font: 600 0.9rem var(--display);
}
.post__caption {
  padding: 12px 4px 6px;
  font-size: 0.95rem;
}
.post__comments {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 4px;
  list-style: none;
  font-size: 0.95rem;
}
.post__comments li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.post__comments em {
  margin-inline-start: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--action-dark);
  font-size: 0.78rem;
  font-style: normal;
}
.dm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
  border-radius: 28px;
  background: var(--white);
}
.dm__head {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--lilac);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
.triggers {
  display: grid;
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.triggers li {
  padding: 20px;
  border-inline-start: 6px solid var(--logo);
  border-radius: 24px;
  background: var(--white);
}
.triggers h3 {
  font-size: 1.15rem;
}
.triggers p {
  margin-top: 6px;
  color: var(--muted);
}
.auto__note {
  margin-top: 24px;
  color: var(--muted);
}
@media (min-width: 760px) {
  .auto__demo {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
  }
  .triggers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .triggers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Arabisch: Systemschriften mit arabischen Zeichen, keine Laufweite (bricht die Verbindungen) */
:lang(ar) {
  --display: 'Geeza Pro', 'Noto Kufi Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --text: 'Geeza Pro', 'Noto Naskh Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
}
:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3 {
  letter-spacing: 0;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Rechtstexte auf Unterseiten */
.sub > section.legal {
  max-width: 52rem;
  padding-top: 24px;
}
.legal__note {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--action-dark);
  font-size: 0.85rem;
}
.legal h3 {
  margin: 22px 0 6px;
  font-size: 1.1rem;
}
.legal ul,
.legal ol {
  padding-inline-start: 1.3em;
}
.legal li + li {
  margin-top: 4px;
}
.legal table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 14px 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.legal th,
.legal td {
  padding: 8px 10px;
  border: 1px solid var(--lilac);
  text-align: start;
  vertical-align: top;
}
.legal th {
  background: var(--white);
}

/* Wortmarke im Fuß (SVG, transparent) */
.footer img[alt='automyzed'] {
  height: 32px;
  width: auto;
}

/* Preise */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sub > section.pricing {
  padding-top: 0;
}
[data-iv='year'],
.sub:has(#iv-year:checked) [data-iv='month'] {
  display: none;
}
.sub:has(#iv-year:checked) [data-iv='year'] {
  display: inline;
}
.ivswitch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--white);
}
.ivswitch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ivswitch label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.ivswitch em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--action-dark);
  font-size: 0.78rem;
  font-style: normal;
}
.ivswitch input:checked + label {
  background: var(--plum);
  color: var(--white);
}
.ivswitch input:checked + label em {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}
.ivswitch input:focus-visible + label {
  outline: 3px solid var(--action);
  outline-offset: 2px;
}
.pkgs {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 2px solid transparent;
  border-radius: 28px;
  background: var(--white);
}
.pkg--hl {
  border-color: var(--action);
}
.pkg__badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 22px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--action);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}
.pkg__name {
  font-size: 1.45rem;
}
.pkg__tag {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.98rem;
}
.pkg__price {
  margin-top: 18px;
  color: var(--muted);
}
.pkg__price strong {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--plum);
}
.pkg__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}
.pkg__list {
  flex: 1;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}
.pkg__list li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 0.98rem;
}
.pkg__list li + li {
  margin-top: 8px;
}
.pkg__list li::before {
  content: '';
  position: absolute;
  top: 0.3em;
  inset-inline-start: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fe0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.pkg .btn {
  width: 100%;
  white-space: nowrap;
}
.pricing__fine {
  max-width: 46rem;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
.tiers__lead {
  max-width: 40rem;
  margin-top: 12px;
  color: var(--muted);
}
.tiers__wrap {
  margin-top: 24px;
  overflow-x: auto;
  border-radius: 24px;
  background: var(--white);
}
.tiers table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.tiers caption {
  padding: 16px 18px 4px;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: start;
}
.tiers th,
.tiers td {
  padding: 12px 18px;
  text-align: end;
  white-space: nowrap;
}
.tiers th:first-child {
  text-align: start;
}
.tiers thead th {
  font-family: var(--display);
  font-weight: 600;
  border-bottom: 2px solid var(--lilac);
}
.tiers tbody tr + tr > * {
  border-top: 1px solid var(--lilac);
}
.tiers tbody th {
  font-weight: 600;
}
.sub > section.setup {
  padding-top: 0;
}
.setup__box {
  max-width: 46rem;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
  background: var(--tint);
}
.setup__box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.setup__box p {
  margin-top: 10px;
}
@media (min-width: 760px) {
  .pkgs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .pkgs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pkg__tag {
    min-height: 4.8em; /* Preise stehen in allen Karten auf einer Höhe */
  }
}
@media (max-width: 759px) {
  .tiers th,
  .tiers td {
    padding: 10px 8px;
    font-size: 0.92rem;
  }
  .tiers thead th {
    white-space: normal;
  }
  .tiers__long {
    display: none;
  }
}
@media (min-width: 760px) {
  .tiers__short {
    display: none;
  }
}

.tiers td small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Kopf mittig (Stil Calendly) + Bühne: das Video wächst beim Scrollen auf fast volle Breite */
.hero--center,
main > section.hero--center {
  padding-bottom: 0;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.hero--center h1 {
  max-width: 24ch;
  margin-inline: auto;
  font-size: clamp(2.8rem, 6.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero--center .hero__lead {
  margin-inline: auto;
  max-width: 40rem;
}
.hero--center .hero__actions {
  justify-content: center;
}
main > section.stage {
  max-width: none;
  padding: 0 16px clamp(40px, 6vw, 72px);
}
.stage .film {
  margin-inline: auto;
}
/* Versteckte Elemente bleiben versteckt, auch wenn img/… ein display setzen */
[hidden] {
  display: none !important;
}
/* Breite Bühne ab Tablet: 16:9, Chat liegt auf dem Video (auch ohne JS und bei reduzierter Bewegung) */
@media (min-width: 760px) {
  main > section.stage {
    --p: 1;
    padding: 0 16px clamp(40px, 6vw, 72px);
  }
  .stage .film {
    position: relative;
    width: min(100%, (100vh - 2 * var(--edge, 16px)) * 16 / 9, 1600px);
    max-width: none;
    background: var(--stage);
    box-shadow: 0 50px 90px -40px rgba(35, 23, 58, 0.5);
  }
  .stage .film__screen {
    aspect-ratio: 16 / 9;
  }
  /* Der Chat liegt als Handy auf dem Video: dunkler Rahmen, Notch, Gespräch füllt den Bildschirm */
  .stage .film__chat {
    position: absolute;
    inset-inline-end: clamp(24px, 4%, 56px);
    bottom: 28px;
    height: min(600px, 100% - 92px); /* oben bleibt Platz für den Ton-Knopf */
    width: auto;
    aspect-ratio: 9 / 19;
    display: flex;
    flex-direction: column;
    padding: 50px 16px 22px;
    border-radius: 42px;
    background: var(--white);
    box-shadow:
      0 0 0 9px #23173a,
      0 0 0 10px rgba(255, 255, 255, 0.35),
      0 40px 80px -30px rgba(35, 23, 58, 0.6);
  }
  .stage .film__chat::before {
    content: '';
    position: absolute;
    top: 14px;
    inset-inline-start: 50%;
    width: 92px;
    height: 24px;
    border-radius: 999px;
    background: #23173a;
    transform: translateX(-50%);
  }
  .stage .film__thread {
    flex: 1;
    height: auto;
    min-height: 0;
  }
  /* Ton-Knopf nach links, rechts steht das Handy */
  .stage .film__sound {
    inset-inline-end: auto;
    inset-inline-start: 20px;
  }
}
@media (min-width: 760px) and (max-width: 979px) {
  .stage .film__chat {
    width: min(300px, 34%);
  }
}
/* Scroll-Bühne nur mit JS und ohne „Bewegung reduzieren“: Video hängt fest und zieht sich auf */
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .js main > section.stage {
    --p: 0;
    height: 460vh; /* Platz für Aufziehen + drei Texte */
    padding: 0;
  }
  .js .stage__sticky {
    position: sticky;
    top: var(--edge);
    display: grid;
    place-items: start center;
    height: calc(100vh - 2 * var(--edge));
    padding: 0;
  }
  .js .stage .film {
    /* gleiche Formel wie start in site.js, damit nichts springt, bevor das Script läuft */
    width: var(--film-w, calc(0.8 * min(100vw - 2 * var(--edge, 16px), (100vh - 2 * var(--edge, 16px)) * 16 / 9)));
    border-radius: var(--r);
    transform: translateY(var(--film-y, 0px));
  }
  .js .stage .film__screen {
    /* JS setzt die Höhe; solange nicht, gilt 16:9. width ausdrücklich, sonst leitet der Browser sie aus 16:9 × Höhe ab */
    width: 100%;
    height: var(--film-h, auto);
  }
  .js .stage .film__video,
  .js .stage .film__still {
    object-position: 50% 30%; /* beim Beschneiden bleibt Chubs Kopf im Bild, der Boden darf weg */
  }
  .js .stage .film__chat {
    opacity: 0;
  }
  .js .stage .film.has-chat .film__chat {
    opacity: clamp(0, (var(--p) - 0.7) * 4, 1);
    transform: translateY(calc(24px * (1 - clamp(0, (var(--p) - 0.7) * 4, 1))));
  }
}
@media (min-width: 760px) and (max-aspect-ratio: 1/1) and (prefers-reduced-motion: no-preference) {
  .js main > section.stage {
    height: 360vh;
  }
}



/* =====================================================================
   Startseite im Abteil-Stil: cremeweißer Grund, jeder Abschnitt ein eigenes
   Feld mit kräftigem Farbverlauf und lebendigem Hintergrund (Stil Calendly).
   ===================================================================== */
.home {
  --paper: #f7f4ee;
  --edge: clamp(12px, 2vw, 28px); /* Rand zwischen Abteil und Bildschirmkante */
  --gap: clamp(12px, 1.6vw, 20px); /* Abstand zwischen zwei Abteilen */
  --r: clamp(28px, 4vw, 44px); /* Eckenradius der Abteile */
  background: var(--paper);
}

/* Schwebende Kopfzeile */
.home .topbar {
  position: relative; /* scrollt mit weg – die festgehängten Bühnen füllen dann den ganzen Bildschirm */
  top: 0;
  width: calc(100% - 2 * var(--edge));
  margin: 12px auto 0;
  padding: 10px clamp(16px, 2vw, 24px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px -20px rgba(35, 23, 58, 0.45);
}

/* Das Abteil */
.home main > section.panel {
  position: relative;
  isolation: isolate;
  max-width: none;
  width: calc(100% - 2 * var(--edge));
  margin: 0 auto var(--gap);
  padding: clamp(56px, 8vw, 104px) max(var(--gutter), calc((100% - var(--wide)) / 2));
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel-bg);
  color: var(--plum);
}
.panel > :not(.panel__bg) {
  position: relative;
  z-index: 1;
}
.panel--dark {
  --plum: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
}
.panel--light {
  --muted: #3d3158; /* dunkler als sonst, damit es auf bunten Flächen lesbar bleibt */
}
.panel--light .more,
.panel--light .fix__label,
.panel--light .faq summary::after {
  color: #23173a;
}
/* Weiße Karten in dunklen Abteilen behalten dunkle Schrift */
.panel--dark :is(.note__msg, .fix, .trades__chat, .feature__demo, .post, .dm, .chip, .triggers li) {
  --plum: #23173a;
  --muted: #6c6282;
  color: var(--plum);
}
.panel--dark .btn {
  background: var(--white);
  border-color: var(--white);
  color: #23173a;
}
.panel--dark .btn:hover {
  background: #f3eefc;
  border-color: #f3eefc;
}
.panel--dark .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.panel--dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.panel--light .btn {
  background: #23173a;
  border-color: #23173a;
  color: var(--white);
}
.panel--light .btn:hover {
  background: #3a2a5c;
  border-color: #3a2a5c;
}
.panel--light .feature + .feature,
.panel--light .faq details {
  border-color: rgba(35, 23, 58, 0.18);
}
.panel--dark .feature + .feature {
  border-color: rgba(255, 255, 255, 0.3);
}
.panel--dark .more,
.panel--dark .faq summary::after,
.panel--dark .fix__label {
  color: var(--white);
}
.panel--light .steps__list li::before {
  background: #23173a;
}
.panel--light .triggers li {
  border-inline-start-color: #23173a;
}

/* Farben je Abteil – bunt gemischt, kein Logo-Blau als Fläche */
.panel--gains {
  --panel-bg: linear-gradient(135deg, #5b2be0 0%, #a52bd1 55%, #e0338b 100%);
  --blob-1: #ff8ac4;
  --blob-2: #3b17c9;
  --pill: rgba(255, 255, 255, 0.16);
}
.panel--pain {
  --panel-bg: linear-gradient(135deg, #ff4e5a 0%, #ff7a3c 60%, #ffa12e 100%);
  --blob-1: #ffd96b;
  --blob-2: #ff2d6e;
}
.panel--auto {
  --panel-bg: linear-gradient(135deg, #12d6c0 0%, #4ee7a7 55%, #a8f58a 100%);
  --blob-1: #fff6a6;
  --blob-2: #08b5a8;
  --pill: rgba(255, 255, 255, 0.3);
}
.panel--features {
  --panel-bg: linear-gradient(135deg, #0bc6ea 0%, #5fe1f7 55%, #b9f2ff 100%);
  --blob-1: #ffe76a;
  --blob-2: #0a9fd8;
}
.panel--steps {
  --panel-bg: linear-gradient(135deg, #ffd43b 0%, #ffa52e 60%, #ff7a3c 100%);
  --blob-1: #fff6bf;
  --blob-2: #ff4d7d;
  --pill: rgba(255, 255, 255, 0.28);
}
.panel--control {
  --panel-bg: linear-gradient(135deg, #e239ff 0%, #9b2cf0 55%, #5d17d6 100%);
  --blob-1: #ffa0dc;
  --blob-2: #3a0fb8;
}
.panel--trades {
  --panel-bg: linear-gradient(135deg, #c9f55f 0%, #7cf0a6 55%, #3ee6cf 100%);
  --blob-1: #fdfd9d;
  --blob-2: #19c3a3;
  --pill: rgba(255, 255, 255, 0.32);
}
.panel--advice {
  --panel-bg: linear-gradient(135deg, #0f1437 0%, #1b1a5e 100%);
  --blob-1: #2fe0d0;
  --blob-2: #ff4fa8;
}
.panel--faq {
  --panel-bg: #efeae1;
}
.panel--final {
  --panel-bg: linear-gradient(120deg, #6d28d9 0%, #ec4899 52%, #f59e0b 100%);
  --blob-1: #ffe07a;
  --blob-2: #22d3ee;
  --pill: rgba(255, 255, 255, 0.18);
}

/* Lebendiger Hintergrund: zwei weiche Farbflecken treiben, Säulen atmen – nur transform/opacity, GPU-günstig */
.panel__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--c) 0%, color-mix(in srgb, var(--c) 55%, transparent) 28%, transparent 62%);
  opacity: 0.85;
  animation: drift 28s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.blob--1 {
  --c: var(--blob-1);
  top: -40%;
  inset-inline-start: -20%;
}
.blob--2 {
  --c: var(--blob-2);
  bottom: -45%;
  inset-inline-end: -15%;
  animation-duration: 36s;
  animation-delay: -14s;
}
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(9vw, 7vh, 0) scale(1.18);
  }
  100% {
    transform: translate3d(-7vw, 12vh, 0) scale(0.92);
  }
}
.pills {
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 2.4vw, 34px);
  padding: 0 clamp(16px, 4vw, 56px);
}
.pills i {
  flex: 1 1 0;
  max-width: 128px;
  height: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(to top, var(--pill, rgba(255, 255, 255, 0.2)), transparent);
  transform-origin: bottom;
  animation: breathe 10s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.pills i:nth-child(2n) {
  height: 76%;
}
.pills i:nth-child(3n) {
  height: 88%;
  animation-duration: 13s;
}
.pills i:nth-child(4n + 1) {
  height: 64%;
  animation-duration: 8s;
}
.pills i:nth-child(1) { animation-delay: -1s; }
.pills i:nth-child(2) { animation-delay: -4s; }
.pills i:nth-child(3) { animation-delay: -7s; }
.pills i:nth-child(4) { animation-delay: -2.5s; }
.pills i:nth-child(5) { animation-delay: -9s; }
.pills i:nth-child(6) { animation-delay: -5.5s; }
.pills i:nth-child(7) { animation-delay: -3s; }
.pills i:nth-child(8) { animation-delay: -8s; }
.pills i:nth-child(9) { animation-delay: -6s; }
@keyframes breathe {
  from {
    transform: scaleY(0.72);
  }
  to {
    transform: scaleY(1);
  }
}
/* Läuft nur, wenn das Abteil im Bild ist (JS setzt is-live) */
.panel.is-live .blob,
.panel.is-live .pills i {
  animation-play-state: running;
}
@media (max-width: 759px) {
  .pills {
    gap: 10px;
  }
  .pills i:nth-child(n + 6) {
    display: none;
  }
}

/* Hereingleiten beim Scrollen (nur mit JS, sonst steht alles da) */
.js .home [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .home [data-reveal].in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .blob,
  .pills i {
    animation: none !important;
  }
  .js .home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 559px) {
  .home .topbar > .btn {
    display: none;
  }
}

/* Kopf: auf dem Desktop Anmelden mit Google/Apple, darunter E-Mail; auf dem Handy ein Knopf */
.btn--sso,
.hero__email,
.hero__dot {
  display: none;
}
@media (min-width: 760px) {
  .home .hero__start {
    display: none;
  }
  .btn--sso {
    display: inline-flex;
    gap: 12px;
    min-width: 248px;
    background: #23173a;
    border-color: #23173a;
    color: var(--white);
  }
  .btn--sso:hover {
    background: #3a2a5c;
    border-color: #3a2a5c;
  }
  .btn--sso svg {
    width: 22px;
    height: 22px;
    padding: 5px;
    box-sizing: content-box;
    border-radius: 10px;
    background: var(--white);
    color: #000;
  }
  .hero__email,
  .hero__dot {
    display: inline;
  }
  .hero__email {
    color: var(--plum);
    text-underline-offset: 3px;
  }
}

/* ---------- Ruhiges Abteil: heller Grund, Farbe nur in der Bühne (Stil Calendly) ---------- */
.panel--calm {
  --panel-bg: #fffdf9;
  --muted: #5d5374;
  box-shadow: 0 1px 0 rgba(35, 23, 58, 0.04);
}
.panel--calm .more {
  color: #23173a;
}
/* Farbige Bühne für Beispiele: Verlauf + treibende Flecken + atmende Säulen, Karten schweben darauf */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(20px, 4vw, 48px);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--media-bg);
}
.media > :not(.panel__bg) {
  position: relative;
  z-index: 1;
}
.panel--auto {
  --media-bg: linear-gradient(135deg, #12c9b6 0%, #45dba0 55%, #b6ef8c 100%);
  --blob-1: #fff6a6;
  --blob-2: #0aa59a;
  --pill: rgba(255, 255, 255, 0.28);
}
.media .post,
.media .dm {
  box-shadow: 0 30px 60px -30px rgba(10, 60, 50, 0.55);
}
.panel.is-live .media .post {
  animation: float 7s ease-in-out infinite;
}
.panel.is-live .media .dm {
  animation: float 8s ease-in-out -3s infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* Nacheinander: Kommentare mit „DM gesendet“, dann das Gespräch */
.js .home .seq {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.js .home .in .seq {
  animation: seq-in 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) forwards;
  animation-delay: calc(0.35s + var(--n) * 0.45s);
}
@keyframes seq-in {
  to { opacity: 1; transform: none; }
}
.js .home .in .post__comments em {
  animation: badge 0.4s ease-out both;
  animation-delay: calc(0.6s + var(--n) * 0.45s);
}
@keyframes badge {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}
/* Auslöser-Karten: weiß, feiner Rand, Symbol statt dunkler Kante, heben sich beim Überfahren */
.panel--calm .triggers li {
  border: 1px solid rgba(35, 23, 58, 0.08);
  border-inline-start-width: 1px;
  background: #f7f4ee;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.panel--calm .triggers li:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 24px 40px -28px rgba(35, 23, 58, 0.5);
}
.triggers__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #12c9b6, #b6ef8c);
  font-size: 1.3rem;
}
@media (prefers-reduced-motion: reduce) {
  .js .home .seq { opacity: 1; transform: none; }
  .panel .media .post, .panel .media .dm, .js .home .in .seq, .js .home .in .post__comments em { animation: none !important; }
}

/* ---------- Abteil „Was sich für dich ändert“: ruhig, vier Karten mit kleinen lebenden Szenen ---------- */
.panel--gains.panel--calm .gains__list {
  gap: 16px;
}
.gain {
  --tint-bg: #f1ecff;
  --tint-fg: #6d3df5;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 22px;
  border: 1px solid rgba(35, 23, 58, 0.08);
  border-radius: 28px;
  background: #f7f4ee;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.gain:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 24px 40px -28px rgba(35, 23, 58, 0.5);
}
.gain--2 { --tint-bg: #ffece6; --tint-fg: #f0562f; }
.gain--3 { --tint-bg: #def8f1; --tint-fg: #0e9f8a; }
.gain--4 { --tint-bg: #fff3d6; --tint-fg: #d98a00; }
.panel--calm .gain h3 {
  margin: 20px 8px 0;
  color: #23173a;
}
.panel--calm .gain p:not(.gain__art p) {
  margin: 8px 8px 0;
  color: #5d5374;
}
.gain__art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  height: 172px;
  padding: 18px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--tint-bg);
  font-size: 0.86rem;
  line-height: 1.3;
}
.gain__art p { margin: 0; color: #23173a; }

/* 1: Nachricht um 23:47, Chub tippt, Antwort kommt */
.gain__time {
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  font-size: 0.75rem;
  color: #6c6282 !important;
}
.gain__bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 16px;
}
.gain__bubble--in {
  align-self: flex-start;
  background: var(--white);
  border-end-start-radius: 5px;
}
.gain__bubble--out {
  align-self: flex-end;
  background: var(--tint-fg);
  color: var(--white) !important;
  border-end-end-radius: 5px;
}
.gain__typing {
  align-self: flex-end;
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--tint-fg);
}
.gain__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: dot 1s infinite ease-in-out;
}
.gain__typing i:nth-child(2) { animation-delay: 0.15s; }
.gain__typing i:nth-child(3) { animation-delay: 0.3s; }

/* 2: Kommentar mit Herz, Papierflieger, „Link per DM gesendet“ */
.gain__comment {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--white);
}
.gain__heart {
  display: inline-block;
  margin-inline-start: 8px;
  color: #ff3d6b;
}
.gain__plane {
  align-self: center;
  font-size: 1.3rem;
  color: var(--tint-fg);
  transform: rotate(90deg);
}
.gain__sent {
  align-self: flex-end;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tint-fg);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.8rem;
}

/* 3: Immer gleiche Fragen werden abgehakt und rutschen weg */
.gain__stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gain__stack li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--white);
  color: #23173a;
  white-space: nowrap;
}
.gain__stack em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--tint-fg);
}

/* 4: Autopilot-Schalter geht an, Beitrag „läuft“ */
.gain__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}
.gain__switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d9d3e6;
}
.gain__switch i {
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(35, 23, 58, 0.25);
}
.gain__post {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--white);
}
.gain__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tint-fg);
}

/* Szenen laufen nur, wenn das Abteil im Bild ist; Grundzustand (ohne Bewegung) zeigt das Ergebnis */
.panel.is-live .gain__bubble--in { animation: g1-in 7s infinite; }
.panel.is-live .gain__typing { animation: g1-typing 7s infinite; }
.panel.is-live .gain__bubble--out { animation: g1-out 7s infinite; }
@keyframes g1-in { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes g1-typing { 0%, 14% { opacity: 0; display: none; } 16%, 34% { opacity: 1; display: flex; } 36%, 100% { opacity: 0; display: none; } }
@keyframes g1-out { 0%, 36% { opacity: 0; transform: translateY(8px); display: none; } 42%, 92% { opacity: 1; transform: none; display: block; } 100% { opacity: 0; display: block; } }

.panel.is-live .gain__heart { animation: g2-heart 6s infinite; }
.panel.is-live .gain__plane { animation: g2-plane 6s infinite; }
.panel.is-live .gain__sent { animation: g2-sent 6s infinite; }
@keyframes g2-heart { 0%, 12% { transform: scale(0); } 18% { transform: scale(1.5); } 24%, 100% { transform: scale(1); } }
@keyframes g2-plane { 0%, 26% { opacity: 0; transform: rotate(90deg) translateX(-14px); } 34%, 44% { opacity: 1; transform: rotate(90deg) translateX(0); } 52%, 100% { opacity: 0.25; transform: rotate(90deg) translateX(10px); } }
@keyframes g2-sent { 0%, 44% { opacity: 0; transform: scale(0.7); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.panel.is-live .gain__stack { animation: g3-scroll 9s infinite; }
.panel.is-live .gain__stack em { animation: g3-check 9s infinite; }
.panel.is-live .gain__stack li:nth-child(2) em { animation-delay: 0.9s; }
.panel.is-live .gain__stack li:nth-child(3) em { animation-delay: 1.8s; }
@keyframes g3-check { 0%, 8% { opacity: 0; transform: scale(0.6); } 14%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes g3-scroll { 0%, 80% { transform: none; opacity: 1; } 92% { transform: translateY(-12px); opacity: 0; } 100% { transform: none; opacity: 1; } }

.panel.is-live .gain__switch { animation: g4-track 6s infinite; }
.panel.is-live .gain__switch i { animation: g4-knob 6s infinite; }
.panel.is-live .gain__post { animation: g4-post 6s infinite; }
.panel.is-live .gain__pulse { animation: g4-pulse 1.4s infinite; }
@keyframes g4-track { 0%, 18% { background: #d9d3e6; } 26%, 92% { background: var(--tint-fg); } 100% { background: #d9d3e6; } }
@keyframes g4-knob { 0%, 18% { transform: none; } 26%, 92% { transform: translateX(20px); } 100% { transform: none; } }
@keyframes g4-post { 0%, 28% { opacity: 0; transform: translateY(8px); } 36%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes g4-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--tint-fg) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
/* Ohne Bewegung: Schalter an, alles sichtbar */
.gain__switch { background: var(--tint-fg); }
.gain__switch i { transform: translateX(20px); }
.gain__typing { display: none; }
@media (prefers-reduced-motion: reduce) {
  .gain__art * { animation: none !important; }
}

/* =====================================================================
   Ruhiger Stil für 3, 7–11: heller Grund, Farbe nur in Bühnen/Szenen, viel Bewegung
   ===================================================================== */
.panel--calm h2 {
  color: #23173a;
}
.panel--calm .btn:not(.btn--sso) {
  background: #23173a;
  border-color: #23173a;
  color: var(--white);
}
.panel--calm .btn:not(.btn--sso):hover {
  background: #3a2a5c;
  border-color: #3a2a5c;
}
@media (min-width: 980px) {
  .pain__grid,
  .trades__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
  }
}

/* ---------- 3 Kennst du das? Sperrbildschirm voller Nachrichten ---------- */
.panel--pain {
  --media-bg: linear-gradient(160deg, #ff9b7a 0%, #ff6f8e 55%, #c86dd7 100%);
  --blob-1: #ffd38a;
  --blob-2: #ff4f7b;
}
.pain__says {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pain;
}
.pain__says li {
  counter-increment: pain;
  position: relative;
  padding-inline-start: 56px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: #23173a;
}
.pain__says li::before {
  content: counter(pain);
  position: absolute;
  inset-inline-start: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffe3da;
  color: #e5484d;
  font-size: 1.05rem;
}
.pain__screen {
  margin-top: 32px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 980px) {
  .pain__screen { margin-top: 0; }
}
.pain__clock {
  margin: 4px 0 22px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
}
.pain__notes {
  display: grid;
  gap: 10px;
  width: min(100%, 400px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.pain__note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2px 10px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px -22px rgba(60, 10, 40, 0.6);
  color: #23173a;
  font-size: 0.92rem;
}
.pain__note::before {
  content: '';
  grid-row: span 2;
  width: 34px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5);
}
.pain__app {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6c6282;
}
.pain__when {
  font-size: 0.75rem;
  color: #6c6282;
}
.pain__note strong {
  grid-column: 2 / 4;
  font-weight: 600;
}
.pain__note--live {
  opacity: 0;
}
.panel.is-live .pain__note--live {
  animation: pain-live 5s 3s infinite;
}
@keyframes pain-live {
  0% { opacity: 0; transform: translateY(-18px) scale(0.96); }
  10%, 70% { opacity: 1; transform: none; }
  74% { transform: translateX(-4px); }
  78% { transform: translateX(4px); }
  82% { transform: none; }
  100% { opacity: 0; transform: translateY(6px); }
}

/* ---------- 7 Kontrolle: falsche Antwort wird durchgestrichen und verbessert ---------- */
.panel--control {
  --media-bg: linear-gradient(150deg, #b9a4ff 0%, #d9a7f3 50%, #ffc0d8 100%);
  --blob-1: #fff0a8;
  --blob-2: #8f6bff;
}
.control__list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.control__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}
.control__list p {
  color: #5d5374;
}
.control__list strong {
  color: #23173a;
}
.control__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #efe9ff;
  font-size: 1.25rem;
}
.control__stage {
  padding-top: clamp(72px, 9vw, 104px);
}
.control__stage .fix {
  box-shadow: 0 30px 60px -30px rgba(60, 30, 110, 0.55);
}
.control__stage .fix img {
  top: -70px;
  inset-inline-end: 6px;
}
.panel.is-live .control__stage .fix img {
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(-3deg); }
}
.panel--calm .bubble--old {
  opacity: 1;
  text-decoration: line-through;
  text-decoration-color: transparent;
}
.js .home .in .bubble--old {
  animation:
    seq-in 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.2) forwards calc(0.35s + 2 * 0.45s),
    strike 0.6s ease forwards 2.2s;
}
@keyframes strike {
  to { opacity: 0.5; text-decoration-color: currentColor; }
}
.panel--calm .fix__label {
  color: #6d3df5;
}

/* ---------- 8 Branchen: Bühne mit Gespräch, wechselt von selbst ---------- */
.panel--trades {
  --media-bg: linear-gradient(140deg, #d6f56b 0%, #8ef0a8 50%, #5fe0d6 100%);
  --blob-1: #ffffff;
  --blob-2: #2fd3b4;
  --pill: rgba(255, 255, 255, 0.35);
}
.trades__text .chip {
  border-color: rgba(35, 23, 58, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.trades__text .chip:hover {
  transform: translateY(-2px);
}
.trades__stage {
  margin-top: 32px;
  min-height: 320px;
  display: grid;
  align-items: center;
}
@media (min-width: 980px) {
  .trades__stage { margin-top: 0; }
}
.trades__stage .trades__chat {
  margin: 0 auto;
  width: min(100%, 460px);
  box-shadow: 0 30px 60px -30px rgba(20, 90, 70, 0.55);
}
.trades__chat .pop {
  animation: seq-in 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.2) both;
}
.trades__chat [data-trade-a].pop {
  animation-delay: 0.7s;
}
.trades__chat .bubble {
  opacity: 1;
}

/* ---------- 9 Beratung: zarter Verlauf, Chub winkt ---------- */
.panel--advice.panel--calm {
  --panel-bg: linear-gradient(120deg, #efe9ff 0%, #fdeef3 55%, #fff1e4 100%);
}
.panel.is-live .advice__chub,
.advice__chub.in {
  transform-origin: 50% 90%;
}
.panel.is-live .advice__chub.in {
  animation: wave 3.2s ease-in-out infinite;
}
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  70% { transform: rotate(-7deg); }
  80% { transform: rotate(5deg); }
  90% { transform: rotate(-4deg); }
}
.panel--advice .btn--ghost {
  background: #23173a;
  border-color: #23173a;
  color: var(--white);
}

/* ---------- 10 Fragen: zwei Spalten, Antworten klappen weich auf ---------- */
@media (min-width: 980px) {
  .home main > section.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
  }
  .faq__side {
    position: sticky;
    top: 120px;
  }
}
.faq__chub {
  width: 132px;
  margin: 24px 0 12px;
}
.panel.is-live .faq__chub {
  animation: bob 4.5s ease-in-out infinite;
}
.faq__more {
  color: #5d5374;
}
.faq__more a {
  color: #23173a;
  font-weight: 600;
}
.faq__list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
@media (min-width: 980px) {
  .faq__list { margin-top: 0; }
}
.panel--calm.faq details {
  max-width: none;
  padding: 0 22px;
  border: 1px solid rgba(35, 23, 58, 0.08);
  border-radius: 20px;
  background: #f7f4ee;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.panel--calm.faq details:hover,
.panel--calm.faq details[open] {
  background: var(--white);
  box-shadow: 0 20px 36px -28px rgba(35, 23, 58, 0.5);
}
.panel--calm.faq summary::after {
  content: '+';
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #efe9ff;
  color: #6d3df5;
  transition: transform 0.3s ease;
}
.panel--calm.faq details[open] summary::after {
  content: '+';
  transform: rotate(45deg);
}
.panel--calm.faq details[open] p {
  animation: seq-in 0.35s ease both;
}

/* ---------- 11 Schluss: eine große, kräftige Bühne ---------- */
.home main > section.panel--final {
  padding-top: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(16px, 2vw, 28px);
  padding-inline: clamp(16px, 2vw, 28px);
}
.panel--final {
  --media-bg: linear-gradient(120deg, #3b0f8c 0%, #8a1fc4 45%, #d4317a 85%, #f0703a 120%);
  --blob-1: #ff8a3d;
  --blob-2: #6d28d9;
  --pill: rgba(255, 255, 255, 0.12);
}
.final__stage {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 64px);
  text-align: center;
  color: var(--white);
}
.final__stage h2 {
  color: var(--white) !important;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}
.final__stage p {
  max-width: 44rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.88);
}
.final__chub {
  width: 200px;
}
.panel.is-live .final__chub {
  animation: bob 4s ease-in-out infinite;
}
.panel--calm .final__stage .btn {
  background: var(--white);
  border-color: var(--white);
  color: #23173a;
}
.panel--calm .final__stage .btn:hover {
  background: #f3eefc;
  border-color: #f3eefc;
}

@media (prefers-reduced-motion: reduce) {
  .pain__note--live { display: none; }
  .js .home .in .bubble--old { animation: none; opacity: 0.5; text-decoration-color: currentColor; }
  .control__stage .fix img, .faq__chub, .final__chub, .advice__chub, .trades__chat .pop { animation: none !important; }
}

.final__stage .blob {
  opacity: 0.55;
}

/* Google/Apple ausgeschaltet: auch auf dem Desktop ein Knopf, kein E-Mail-Link */
@media (min-width: 760px) {
  .home [data-sso='off'] .hero__start {
    display: inline-flex;
  }
  .home [data-sso='off'] .btn--sso,
  .home [data-sso='off'] .hero__email,
  .home [data-sso='off'] .hero__dot {
    display: none;
  }
}

/* ---------- 3: Problem → Lösung. Erst Stress (Koralle), dann beantwortet Chub alles (Mint) ---------- */
.pain__says li {
  display: grid;
  gap: 6px;
}
.pain__problem {
  font-family: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  color: #4a3f63;
  text-decoration: line-through;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.4s ease;
}
.pain__fix {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: #23173a;
}
/* Haken legt sich über die Nummer */
.pain__says li::after {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #d6f7ea;
  color: #0e9f6e;
  font-family: var(--display);
  font-weight: 700;
}
.js .home .pain__fix,
.js .home .pain__says li::after {
  opacity: 0;
}
.js .home .pain__says li.in .pain__fix {
  animation: seq-in 0.55s cubic-bezier(0.2, 0.8, 0.3, 1.2) forwards;
  animation-delay: calc(1.4s + var(--i, 0) * 0.55s);
}
.js .home .pain__says li.in::after {
  animation: tick 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.4) forwards;
  animation-delay: calc(1.4s + var(--i, 0) * 0.55s);
}
.js .home .pain__says li.in .pain__problem {
  animation: strike 0.4s ease forwards;
  animation-delay: calc(1.4s + var(--i, 0) * 0.55s);
}
@keyframes tick {
  from { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  to { opacity: 1; transform: none; }
}
.pain__more {
  display: inline-block;
  margin-top: 26px;
  color: #23173a;
}
/* Sperrbildschirm: jede Nachricht bekommt „Chub hat geantwortet“, dann wird die Fläche ruhig (Mint) */
.pain__done {
  grid-column: 2 / 4;
  justify-self: start;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #d6f7ea;
  color: #0b7a55;
  font-size: 0.78rem;
  font-weight: 600;
}
.js .home .pain__done {
  opacity: 0;
}
.js .home .in .pain__done:not(.pain__done--live) {
  animation: badge 0.4s ease-out forwards;
  animation-delay: calc(1.6s + var(--n) * 0.55s);
}
.panel.is-live .pain__done--live {
  animation: pain-live-done 5s 3s infinite;
}
@keyframes pain-live-done {
  0%, 38% { opacity: 0; transform: scale(0.7); }
  46%, 70% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
.pain__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(160deg, #4fd8a8 0%, #36c3d6 60%, #7b8cff 100%);
  opacity: 0;
  pointer-events: none;
}
.js .home .pain__screen.in::after {
  animation: solved 1.2s ease forwards 4.6s;
}
@keyframes solved {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .home .pain__fix, .js .home .pain__says li::after, .js .home .pain__done { opacity: 1; animation: none !important; }
  .pain__problem { text-decoration-color: currentColor; }
  .pain__screen::after { opacity: 1; animation: none !important; }
}

/* Erst steht das Problem kräftig da, mit der Lösung wird es leise */
.js .home .pain__says li.in .pain__problem {
  animation: strike-soft 0.5s ease forwards;
  animation-delay: calc(1.4s + var(--i, 0) * 0.55s);
}
@keyframes strike-soft {
  to { color: #a69cb8; font-weight: 500; text-decoration-color: currentColor; }
}

/* ---------- Texte im Video neben Chub: erscheinen nacheinander beim Scrollen ---------- */
.film__captions {
  display: none;
}
@media (min-width: 760px) {
  .film__captions {
    position: absolute;
    z-index: 2;
    inset-inline-start: clamp(20px, 4%, 64px);
    top: 50%;
    display: grid;
    width: min(380px, 30%);
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateY(-50%);
  }
  .film__cap {
    grid-area: 1 / 1;
    align-self: center; /* jede Karte so hoch wie ihr Text, alle mittig übereinander */
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 22px 24px 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 30px 60px -34px rgba(35, 23, 58, 0.55);
    color: #23173a;
  }
  .film__cap strong {
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.1vw, 1.9rem);
    font-weight: 600;
    line-height: 1.1;
  }
  .film__cap > span:last-child {
    color: #4a3f63;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.45;
  }
  .film__cap-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-self: start;
    padding: 3px 10px;
    border-radius: 999px;
    background: #23173a;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .film__cap-label i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ee38a;
    animation: live 1.4s ease-out infinite;
  }
  @keyframes live {
    0% { box-shadow: 0 0 0 0 rgba(62, 227, 138, 0.7); }
    100% { box-shadow: 0 0 0 8px rgba(62, 227, 138, 0); }
  }
  /* Ohne Scroll-Bühne (kein JS, Bewegung reduziert): erster Text steht einfach da */
  .film__cap:not(:first-child) {
    visibility: hidden;
  }
}
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .js .film__cap {
    visibility: visible;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition:
      opacity 0.45s ease,
      transform 0.55s cubic-bezier(0.2, 0.8, 0.3, 1.15);
  }
  .js .stage[data-cap='1'] .film__cap:nth-child(1),
  .js .stage[data-cap='2'] .film__cap:nth-child(2),
  .js .stage[data-cap='3'] .film__cap:nth-child(3) {
    opacity: 1;
    transform: none;
  }
  .js .stage[data-cap='2'] .film__cap:nth-child(1),
  .js .stage[data-cap='3'] .film__cap:nth-child(2) {
    transform: translateY(-18px) scale(0.98);
  }
}

/* ---------- Nachbesserungen aus der Prüfung ---------- */
.blob,
.pills i {
  animation-name: none;
}
.panel.is-live .blob {
  animation-name: drift;
}
.panel.is-live .pills i {
  animation-name: breathe;
}
/* Kopfzeile so breit wie die Abteile, deckend (färbt sich nicht mit) */
.home .topbar {
  max-width: none;
  background: rgba(255, 255, 255, 0.97);
}
.btn--small {
  min-height: 44px;
}
.mnav a {
  padding-block: 10px;
}
.topbar__nav > a,
.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer__cols a {
  display: inline-block;
  padding-block: 6px;
}
/* Fokus auf farbiger Bühne sichtbar */
.final__stage :focus-visible,
.media :focus-visible {
  outline-color: #fff;
}
/* Sprung zu #ankern: schwebende Kopfzeile verdeckt die Überschrift nicht */
.home main > section {
  scroll-margin-top: 96px;
}
/* Druck: Abteile ohne Flächen, alles sichtbar, Bühne flach */
@media print {
  .topbar, .panel__bg, .film__sound, .film__captions, .signup { display: none !important; }
  .home main > section.panel, .media { background: none !important; box-shadow: none !important; border: 1px solid #ddd; }
  .js .home [data-reveal], .js .home .seq, .js .home .pain__fix, .js .home .pain__done, .js .film__cap { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js main > section.stage { height: auto !important; }
  .js .stage__sticky { position: static !important; height: auto !important; padding: 0 !important; }
  .js .stage .film { width: 100% !important; transform: none !important; }
  * { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Funktions-Tour (Stil Calendly): Symbole oben, darunter verbundene Karte,
   beim Scrollen gleitet es zur nächsten Funktion nach rechts.
   ===================================================================== */
@property --tour-a {
  syntax: '<color>';
  inherits: true;
  initial-value: #dccfff;
}
@property --tour-b {
  syntax: '<color>';
  inherits: true;
  initial-value: #f5d8f1;
}
.home main > section.tour {
  --edge-x: clamp(16px, 4vw, 64px);
  --card-w: min(1120px, 100vw - 2 * var(--edge) - 2 * var(--edge-x));
  position: relative;
  max-width: none;
  width: calc(100% - 2 * var(--edge));
  margin: 0 auto var(--gap);
  padding: 0;
  border-radius: var(--r);
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(255, 255, 255, 0.65), transparent 70%),
    radial-gradient(50% 60% at 90% 85%, rgba(255, 255, 255, 0.45), transparent 70%),
    linear-gradient(135deg, var(--tour-a), var(--tour-b));
  transition:
    --tour-a 0.9s ease,
    --tour-b 0.9s ease;
}
.tour__sticky {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
  overflow: hidden;
  border-radius: inherit;
}
.tour__title {
  margin: 0 var(--edge-x) 28px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-align: center;
  color: #23173a;
}
/* Symbol-Reihe */
.tour__tabs {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 6px;
}
.tour__tab {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #ebe7f0;
  color: #9a92a8;
  box-shadow: 0 0 0 5px rgba(255, 253, 249, 0.75);
  cursor: pointer;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.3);
}
.tour__tab:hover {
  transform: translateY(-2px);
  color: #5d5374;
}
.tour__tab svg {
  width: 30px;
  height: 30px;
}
.tour__tab[aria-selected='true'] {
  background: var(--tint);
  color: var(--accent);
  box-shadow: 0 0 0 5px #fffdf9;
  transform: none;
}
/* Hals: verbindet das aktive Symbol mit der Karte (oben schmal, unten breit) */
.tour__stem {
  position: absolute;
  top: calc(100% - 6px);
  left: var(--stem-x, 38px);
  width: 56px;
  height: 22px;
  margin-left: -28px;
  background: #fffdf9;
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent 21px, #000 21.5px) left / 50% 100% no-repeat,
    radial-gradient(circle at 100% 0, transparent 21px, #000 21.5px) right / 50% 100% no-repeat;
  mask:
    radial-gradient(circle at 0 0, transparent 21px, #000 21.5px) left / 50% 100% no-repeat,
    radial-gradient(circle at 100% 0, transparent 21px, #000 21.5px) right / 50% 100% no-repeat;
  transition: left 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.tour__stem::before {
  content: '';
  position: absolute;
  inset: 0 50%;
  margin: 0 -6px;
  background: #fffdf9;
}
/* Kartenband */
.tour__window {
  width: 100%;
  margin-top: 16px;
}
.tour__track {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0 calc((100% - var(--card-w)) / 2);
  list-style: none;
}
.tour__card {
  flex: 0 0 var(--card-w);
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 32px;
  background: #fffdf9;
  box-shadow: 0 40px 80px -50px rgba(35, 23, 58, 0.45);
  color: #23173a;
}
@media (min-width: 900px) {
  .tour__card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 440px;
  }
}
.tour__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}
.tour__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border-radius: 11px;
  background: var(--tint);
  color: var(--accent);
}
.tour__icon svg {
  width: 20px;
  height: 20px;
}
.tour__badge {
  padding: 3px 10px;
  border-radius: 8px;
  background: #efebe4;
  color: #5d5374;
  font-family: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}
.tour__card h3 {
  margin-top: 18px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
}
.tour__card .tour__text > p:not(.tour__label) {
  margin-top: 14px;
  max-width: 30rem;
  color: #5d5374;
  font-size: 1.05rem;
}
.tour__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 2px solid #23173a;
  color: #23173a;
  font-weight: 600;
  text-decoration: none;
}
.tour__more span {
  transition: transform 0.25s ease;
}
.tour__more:hover span {
  transform: translateX(4px);
}
/* Demo-Fläche mit feinen Streifen an den Seiten (wie bei Calendly) */
.tour__demo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
  padding: clamp(20px, 3vw, 36px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--tint);
}
.tmock {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: min(380px, 100%);
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 30px 60px -36px rgba(35, 23, 58, 0.5);
  font-size: 0.92rem;
  line-height: 1.35;
}
.tm__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0ecf5;
  font-weight: 600;
}
.tm__head small {
  margin-inline-start: auto;
  color: #8a7f9e;
  font-weight: 400;
}
.tm__av {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb35c, #fd648c);
  color: var(--white);
  font-family: var(--display);
  font-size: 0.85rem;
}
.tm {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 17px;
}
.tm strong {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}
.tm--in {
  align-self: flex-start;
  background: #f0ecf5;
  border-end-start-radius: 5px;
}
.tm--out {
  align-self: flex-end;
  margin-inline-start: auto;
  background: var(--accent);
  color: var(--white);
  border-end-end-radius: 5px;
}
.tm--out u {
  text-underline-offset: 3px;
}
.tm__slot {
  display: grid;
}
.tm__slot > * {
  grid-area: 1 / 1;
  align-self: end;
}
.tm--typing {
  display: flex;
  gap: 4px;
  justify-self: end;
  width: max-content;
}
.tm--typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: dot 1s infinite ease-in-out;
}
.tm--typing i:nth-child(2) { animation-delay: 0.15s; }
.tm--typing i:nth-child(3) { animation-delay: 0.3s; }
.tkey {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tfile {
  display: table;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #23173a;
  font-size: 0.82rem;
  font-weight: 600;
}
.tpost__img {
  display: grid;
  place-items: center;
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3effa, #e7f6f2);
}
.tpost__img img {
  width: 110px;
}
.tcomment {
  margin-top: 8px;
}
.tpill {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}
.tstory {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #faf7fd;
}
.tstory__ring {
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}
.tstory__ring img {
  width: 48px;
  height: 48px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #efe9ff;
  object-fit: cover;
}
.tevent {
  align-self: center;
  padding: 7px 12px;
  border-radius: 12px;
  background: #f6f3f9;
  color: #6c6282;
  font-size: 0.82rem;
  text-align: center;
}
.tevent b {
  color: #23173a;
}
.tlist {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tlist li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #faf8fc;
}
.tlist span {
  min-width: 70px;
  font-weight: 700;
}
.tlist b {
  min-width: 56px;
}
.tlist em {
  margin-inline-start: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: #efebe4;
  color: #5d5374;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 600;
}
.tlist em.tdone,
.tlist em.tlive {
  background: var(--tint);
  color: var(--accent);
}
.tlist em.twarn {
  background: #ffe9dc;
  color: #c2410c;
}

/* Szenen spielen nur in der aktiven Karte, in Schleife (9 s) */
.js .tour__card .ts {
  opacity: 0;
}
.js .tour__card.is-active .ts {
  animation: ts-show 9s cubic-bezier(0.2, 0.8, 0.3, 1.15) infinite;
  animation-delay: calc(0.3s + var(--n) * 0.8s);
}
.js .tour__card.is-active .ts--brief {
  animation-name: ts-brief;
}
@keyframes ts-show {
  0% { opacity: 0; transform: translateY(10px) scale(0.97); }
  6%, 82% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes ts-brief {
  0% { opacity: 0; }
  5%, 15% { opacity: 1; }
  18%, 100% { opacity: 0; }
}
.js .tour__card.is-active .tlist em.tlive {
  animation: tlive 1.6s ease-in-out infinite;
}
@keyframes tlive {
  50% { opacity: 0.55; }
}

/* Breite Bildschirme mit JS: Abschnitt hängt fest, Scrollen schiebt die Karten nach rechts */
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .js .home main > section.tour {
    height: calc(100vh + var(--n) * 62vh);
  }
  .js .tour__sticky {
    position: sticky;
    top: var(--edge);
    height: calc(100vh - 2 * var(--edge));
    justify-content: center;
    padding: 20px 0 20px;
  }
  .js .tour__track {
    /* --nudge: kleiner Ruck nach der ersten Geste („noch einmal, dann geht's weiter“) */
    transform: translateX(calc(var(--i, 0) * -1 * (var(--card-w) + 28px) + var(--nudge, 0px)));
    transition: transform 0.85s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  .js .tour__card {
    opacity: 0.45;
    transform: scale(0.94);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }
  .js .tour__card.is-active {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 760px) and (max-height: 820px) {
  .js .tour__title {
    display: none;
  }
}
@media (min-width: 900px) and (max-height: 760px) {
  .tour__card { min-height: 0; }
  .tour__demo { min-height: 280px; }
}
/* Handy, ohne JS oder „Bewegung reduzieren“: Karten wischen */
@media (prefers-reduced-motion: reduce) {
  .tour__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .tour__track::-webkit-scrollbar { display: none; }
  .tour__card { scroll-snap-align: center; }
}
html:not(.js) .tour__track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
html:not(.js) .tour__card { scroll-snap-align: center; }
@media (max-width: 759px) {
  .home main > section.tour {
    --card-w: calc(100vw - 2 * var(--edge) - 32px);
  }
  .tour__tabs {
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px 8px 10px;
  }
  .tour__tabs::-webkit-scrollbar { display: none; }
  .tour__tab {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }
  .tour__tab svg {
    width: 23px;
    height: 23px;
  }
  .tour__stem { display: none; }
  .tour__track { gap: 12px; }
  .tour__demo { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tour__card .ts { opacity: 1 !important; animation: none !important; }
  .tour__card .ts--brief { display: none; }
  .home main > section.tour { transition: none; }
}

/* =====================================================================
   Preisseite im Abteil-Stil
   ===================================================================== */
.home main.sub > section.price-hero {
  text-align: center;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.price-hero .crumbs {
  text-align: start;
}
.price-hero h1 {
  margin-top: clamp(16px, 3vw, 36px);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #23173a;
}
.price-hero__lead {
  max-width: 38rem;
  margin: 18px auto 0;
  color: #5d5374;
  font-size: 1.15rem;
}
.price-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 20px;
  margin-top: 32px;
}
.price-hero .ivswitch {
  background: #f1ede6;
}
.acc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: #f1ede6;
}
.acc__label {
  padding: 0 10px 0 14px;
  color: #5d5374;
  font-size: 0.9rem;
  font-weight: 600;
}
.acc__chip {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #23173a;
  font: 600 0.95rem var(--text);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.acc__chip:hover {
  background: rgba(255, 255, 255, 0.8);
}
.acc__chip[aria-checked='true'] {
  background: #23173a;
  color: var(--white);
}
html:not(.js) .acc {
  display: none;
}

/* Bühne mit den Paketen */
.panel--plans {
  --panel-bg: linear-gradient(135deg, #e4d9ff 0%, #f6dcef 50%, #ffe6d4 100%);
  --blob-1: #ffffff;
  --blob-2: #d9c6ff;
}
.home main.sub > section.panel--plans {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.panel--plans .pkgs {
  margin-top: 0;
  gap: 18px;
  align-items: stretch;
}
.panel--plans .pkg {
  border: 1px solid rgba(35, 23, 58, 0.06);
  background: #fffdf9;
  box-shadow: 0 30px 60px -40px rgba(60, 30, 110, 0.45);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    box-shadow 0.3s ease,
    opacity 0.3s ease;
}
.panel--plans .pkg:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -40px rgba(60, 30, 110, 0.6);
}
.panel--plans .pkg__name,
.panel--plans .pkg__price strong {
  color: #23173a;
}
.panel--plans .pkg__tag,
.panel--plans .pkg__sub,
.panel--plans .pkg__price {
  color: #5d5374;
}
.pkg__acc {
  margin-top: 10px;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: #f1ede6;
  color: #23173a;
  font-size: 0.82rem;
  font-weight: 600;
}
.pkg.is-off {
  opacity: 0.55;
}
.pkg.is-off .pkg__acc {
  background: #ffe9dc;
  color: #c2410c;
}
/* Empfohlenes Paket: wandernder Farbrahmen */
@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.panel--plans .pkg--hl {
  border: 2px solid transparent;
  background:
    linear-gradient(#fffdf9, #fffdf9) padding-box,
    conic-gradient(from var(--ang), #6d3df5, #e23d7a, #ffb35c, #0e9f8a, #6d3df5) border-box;
  animation: ring 6s linear infinite;
}
@keyframes ring {
  to { --ang: 360deg; }
}
.panel--plans .pkg__badge {
  background: #23173a;
}
.panel--plans .pkg .btn {
  background: #23173a;
  border-color: #23173a;
  color: var(--white);
}
.panel--plans .pkg .btn--ghost {
  background: transparent;
  color: #23173a;
}
.panel--plans .pkg .btn--ghost:hover {
  background: #f1ede6;
}
.panel--plans .pkg__list li::before {
  background-color: #efe8ff;
}
/* Preis springt beim Umschalten */
.pkg__price.bump strong {
  display: inline-block;
  animation: bump 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.5);
}
@keyframes bump {
  0% { transform: translateY(8px) scale(0.92); opacity: 0.2; }
  100% { transform: none; opacity: 1; }
}
.panel--plans .pricing__fine {
  max-width: 52rem;
  margin: 26px auto 0;
  color: #4a3f63;
  text-align: center;
}
.panel--plans .pricing__fine a {
  color: #23173a;
}

/* Konten-Tabelle als Karte, gewählte Zeile hervorgehoben */
.home main.sub > section.tiers .tiers__head {
  max-width: 40rem;
}
.tiers.panel--calm h2 {
  color: #23173a;
}
.tiers.panel--calm .tiers__lead {
  color: #5d5374;
}
.tiers.panel--calm .tiers__wrap {
  border: 1px solid rgba(35, 23, 58, 0.08);
  background: #f7f4ee;
}
.tiers.panel--calm table th,
.tiers.panel--calm table td {
  color: #23173a;
}
.tiers tbody tr {
  transition: background-color 0.3s ease;
}
.tiers tbody tr.is-sel {
  background: #efe8ff;
}
.tiers tbody tr.is-sel th {
  color: #6d3df5;
}

/* Einrichtung als farbige Bühne mit Chub */
.panel--calm.setup {
  --media-bg: linear-gradient(130deg, #c7f0e2 0%, #e6f7cf 55%, #fff1c7 100%);
  --blob-1: #ffffff;
  --blob-2: #9fe6cf;
  --pill: rgba(255, 255, 255, 0.4);
}
.setup__stage {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 760px) {
  .setup__stage {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 40px;
  }
}
.setup__chub {
  width: 170px;
}
.panel.is-live .setup__chub {
  animation: bob 4s ease-in-out infinite;
}
.setup__text h2 {
  color: #23173a;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.setup__text p {
  max-width: 40rem;
  margin-top: 10px;
  color: #23173a;
}
.home main.sub > section.final {
  padding: clamp(16px, 2vw, 28px);
}
@media (prefers-reduced-motion: reduce) {
  .panel--plans .pkg--hl { animation: none; }
  .pkg__price.bump strong { animation: none; }
}

/* Logo: Symbol (@ mit Pfeil) + Name in ruhiger Schrift; Blau nur im Symbol */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #23173a;
  font-family: var(--text);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}
.topbar__logo.brand img,
.brand img {
  width: auto;
  height: 38px;
}
.brand span {
  transform: translateY(-1px);
}
.brand--footer {
  font-size: 1.35rem;
}
.brand--footer img {
  height: 28px;
}
@media (max-width: 420px) {
  .topbar__logo.brand { font-size: 1.35rem; gap: 8px; }
  .topbar__logo.brand img { height: 30px; }
}

/* Paketkarten kompakter: alles auf einen Blick am Laptop */
.home main.sub > section.price-hero {
  padding-top: 20px;
  padding-bottom: 32px;
}
.price-hero h1 {
  margin-top: 8px;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
}
.price-hero__lead {
  margin-top: 12px;
  font-size: 1.05rem;
}
.price-controls {
  margin-top: 22px;
}
.home main.sub > section.panel--plans {
  padding-top: clamp(24px, 3vw, 40px);
}
.panel--plans .pkg {
  padding: 22px 20px 20px;
  border-radius: 24px;
}
.panel--plans .pkg__name {
  font-size: 1.3rem;
}
.panel--plans .pkg__tag {
  min-height: 2.8em;
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.panel--plans .pkg__price {
  margin-top: 12px;
}
.panel--plans .pkg__price strong {
  font-size: 2.15rem;
}
.panel--plans .pkg__sub {
  margin-top: 4px;
  font-size: 0.78rem;
}
.panel--plans .pkg__acc {
  margin-top: 8px;
  font-size: 0.78rem;
}
.panel--plans .pkg__list {
  margin: 14px 0 18px;
}
.panel--plans .pkg__list li {
  padding-inline-start: 26px;
  font-size: 0.9rem;
  line-height: 1.35;
}
.panel--plans .pkg__list li + li {
  margin-top: 7px;
}
.panel--plans .pkg__list li::before {
  top: 0.1em;
}
.panel--plans .pkg .btn {
  min-height: 46px;
  font-size: 0.98rem;
}

/* Paketkarten: die Karte unter der Maus tritt hervor, die anderen werden leicht blasser.
   Ohne Maus bleibt „Empfohlen“ hervorgehoben; auf Touch-Geräten passiert nichts. */
@media (hover: hover) and (pointer: fine) {
  .panel--plans .pkg {
    transition:
      transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.2),
      box-shadow 0.35s ease,
      opacity 0.35s ease,
      filter 0.35s ease;
  }
  .panel--plans .pkgs:hover .pkg:not(:hover) {
    opacity: 0.6;
    filter: saturate(0.7);
    transform: scale(0.98);
  }
  .panel--plans .pkgs .pkg:hover {
    z-index: 2;
    opacity: 1;
    filter: none;
    transform: translateY(-10px) scale(1.02);
    border: 2px solid transparent;
    background:
      linear-gradient(#fffdf9, #fffdf9) padding-box,
      conic-gradient(from var(--ang), #6d3df5, #e23d7a, #ffb35c, #0e9f8a, #6d3df5) border-box;
    box-shadow: 0 50px 80px -40px rgba(60, 30, 110, 0.65);
    animation: ring 6s linear infinite;
  }
  /* Knopf der hervorgehobenen Karte wird gefüllt */
  .panel--plans .pkgs .pkg:hover .btn--ghost {
    background: #23173a;
    color: var(--white);
  }
  /* Fährt man über eine andere Karte, verliert „Empfohlen“ seinen Rahmen kurz */
  .panel--plans .pkgs:hover .pkg--hl:not(:hover) {
    background: #fffdf9;
    border-color: rgba(35, 23, 58, 0.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .panel--plans .pkgs .pkg:hover { animation: none; transform: none; }
  .panel--plans .pkgs:hover .pkg:not(:hover) { transform: none; }
}

/* Während man scrollt, folgt die Karte direkt (kurze Übergangszeit) */
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .js .tour__track.is-dragging {
    transition-duration: 0.25s;
  }
}

/* =====================================================================
   Funktions-Tour wie bei Calendly: der farbige Kasten passt komplett in den
   Bildschirm (unter der Kopfzeile, abgerundet) und hängt dort fest.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .home main > section.tour {
    background: none;
  }
  .js .tour__sticky {
    background:
      radial-gradient(60% 70% at 15% 20%, rgba(255, 255, 255, 0.65), transparent 70%),
      radial-gradient(50% 60% at 90% 85%, rgba(255, 255, 255, 0.45), transparent 70%),
      linear-gradient(135deg, var(--tour-a), var(--tour-b));
    border-radius: var(--r);
  }
}
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .js .home main > section.tour {
    /* Strecke = 62vh je Karte; der Kasten selbst ist 100vh − 100px hoch */
    height: calc(100vh - 100px + var(--n) * 62vh);
  }
  .js .tour__sticky {
    top: var(--edge);
    height: calc(100vh - 2 * var(--edge));
    padding: clamp(20px, 3vh, 36px) 0;
    justify-content: center;
  }
}

/* =====================================================================
   Punkte mit Bühne (Stil Calendly): auf einer Seite die Punkte, auf der anderen eine ruhige Farbbühne mit weißer
   Karte. Der Abschnitt hängt fest, jede Scroll-Geste schaltet weiter. „Kennst du das?“: erst das Problem, dann die
   Lösung (data-steps="2"); „Was Chub für dich erledigt“ gespiegelt, ein Schritt je Punkt.
   ===================================================================== */
@property --stage-a {
  syntax: '<color>';
  inherits: true;
  initial-value: #f4cdbd;
}
@property --stage-b {
  syntax: '<color>';
  inherits: true;
  initial-value: #dcc6ee;
}
.scrolly {
  --accent: #5cbf97;
  --stage-a: #f4cdbd;
  --stage-b: #dcc6ee;
  transition:
    --stage-a 0.9s ease,
    --stage-b 0.9s ease;
}
.scrolly--chub {
  --accent: #7b98ee;
  --stage-a: #c6dcfa;
  --stage-b: #d9c9f3;
}
.scrolly__grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
@media (min-width: 900px) {
  .scrolly__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
  }
  .scrolly--flip .scrolly__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }
  .scrolly--flip .scrolly__text {
    order: 2;
  }
}

/* Textseite */
.scrolly__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.02rem;
  font-weight: 600;
  color: #23173a;
}
.scrolly__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--stage-a), var(--stage-b));
  color: #23173a;
}
.scrolly__mark svg {
  width: 18px;
  height: 18px;
}
.scrolly__badge {
  padding: 3px 10px;
  border-radius: 8px;
  background: #efeae4;
  font-size: 0.82rem;
  color: #5d5374;
}
.home .scrolly h2 {
  margin: 0 0 clamp(20px, 3vw, 36px);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.scrolly__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(35, 23, 58, 0.12);
}
.scrolly__item {
  position: relative;
  border-bottom: 1px solid rgba(35, 23, 58, 0.12);
}
/* Linie unter dem Punkt füllt sich mit jedem Schritt (--fill kommt aus site.js) */
.scrolly__item::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(var(--fill, 0));
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.scrolly__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: start;
  color: inherit;
  cursor: pointer;
}
.scrolly__icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fbe4dc;
  color: #c4563a;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}
.scrolly--chub .scrolly__icon {
  background: #e6ecfd;
  color: #3d5bd0;
}
.scrolly__icon svg {
  width: 21px;
  height: 21px;
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.2),
    filter 0.3s ease;
}
.scrolly__icon .scrolly__tick {
  position: absolute;
  opacity: 0;
  transform: scale(0.6);
  filter: blur(3px);
}
/* gelöst: Haken statt Symbol, Kästchen wird mint */
.scrolly--pain .scrolly__item.is-solved .scrolly__icon {
  background: #d4f1e4;
  color: #138a5e;
}
.scrolly--pain .scrolly__item.is-solved .scrolly__icon svg:not(.scrolly__tick) {
  opacity: 0;
  transform: scale(0.6);
  filter: blur(3px);
}
.scrolly--pain .scrolly__item.is-solved .scrolly__icon .scrolly__tick {
  opacity: 1;
  transform: none;
  filter: none;
}
.scrolly__title {
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.25;
  color: #23173a;
}
.scrolly__body {
  display: grid;
  grid-template-rows: 1fr;
}
.scrolly__body > div {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 0;
  overflow: hidden;
  padding-inline-start: 54px;
}
.scrolly__body p {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #5d5374;
}
.scrolly--pain .scrolly__body p {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: #138a5e;
}
.scrolly__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  border: 1px solid rgba(35, 23, 58, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #23173a;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.scrolly__go:hover {
  background: #f3efe9;
}

/* Mit JS: nur der aktive Punkt ist offen, die anderen treten zurück */
.js .scrolly__item {
  opacity: 0.42;
  transition: opacity 0.5s ease;
}
.js .scrolly__item:hover {
  opacity: 0.7;
}
.js .scrolly__item.is-active {
  opacity: 1;
}
.js .scrolly__body {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.js .scrolly__item.is-active .scrolly__body {
  grid-template-rows: 1fr;
}
.js .scrolly--pain .scrolly__item.is-active:not(.is-solved) .scrolly__body {
  grid-template-rows: 0fr;
}
.js .scrolly__body > div {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(3px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}
.js .scrolly__item.is-active .scrolly__body > div {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.45s ease 0.12s,
    transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1) 0.12s,
    filter 0.45s ease 0.12s;
}
.js .scrolly--pain .scrolly__item.is-active:not(.is-solved) .scrolly__body > div {
  opacity: 0;
}

/* Bühne: ruhiger Verlauf je Punkt, Säulenband dahinter, weiße Karte davor */
.scrolly__stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(420px, 62vh, 620px);
  padding: clamp(56px, 6vw, 80px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 56px);
  border-radius: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
    linear-gradient(175deg, var(--stage-a), var(--stage-b));
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
    linear-gradient(175deg in oklch, var(--stage-a), var(--stage-b));
}
.scrolly__bars {
  position: absolute;
  z-index: 0;
  inset: 36% -60px auto;
  height: 34%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.62) 0 9px, transparent 9px 26px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
}
.panel.is-live .scrolly__bars {
  animation: bars-drift 7s linear infinite;
}
@keyframes bars-drift {
  to { transform: translateX(-52px); }
}
.scrolly__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 430px);
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 0 0 9px rgba(255, 255, 255, 0.4),
    0 40px 70px -36px rgba(35, 23, 58, 0.42);
}
.scrolly__scene {
  grid-area: 1 / 1;
}
.js .scrolly__scene {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease,
    visibility 0s linear 0.25s;
}
.js .scrolly__scene.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.5s ease 0.15s,
    transform 0.6s cubic-bezier(0.2, 0.75, 0.2, 1) 0.15s,
    filter 0.5s ease 0.15s,
    visibility 0s linear 0s;
}
html:not(.js) .scrolly__scene:not(:first-child) {
  display: none;
}

/* Szenen in der Karte */
.sc {
  display: grid;
  gap: 10px;
  align-content: start;
}
.sc__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
}
.sc__time {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  color: #23173a;
}
.sc__time--small {
  font-size: 1.05rem;
}
.sc__post {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f7c9a8, #e9a7c4 55%, #b9b0ee);
}
.sc__state {
  display: grid;
  margin-inline-start: auto;
}
.sc__state > * {
  grid-area: 1 / 1;
  justify-self: end;
}
.sc__tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.sc__tag--warn {
  background: #fde8e1;
  color: #b4492c;
}
.sc__tag--ok {
  background: #d8f3e7;
  color: #0d7a52;
}
.sc__rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sc__rows li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f8f6fb;
}
.sc__rows p {
  grid-column: 2;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #23173a;
}
.sc__rows p b {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #6c6282;
}
.sc__av {
  grid-row: span 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
}
.sc__av--a { background: #ffdccb; color: #a3502c; }
.sc__av--b { background: #d9e4ff; color: #3552b8; }
.sc__av--c { background: #eadcff; color: #6a3fc4; }
.sc__dot {
  grid-column: 3;
  grid-row: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4c7cf0;
}
.sc__ok,
.sc__none,
.sc__plan,
.sc__hand {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 600;
}
.sc__ok { background: #d8f3e7; color: #0d7a52; }
.sc__none { background: #efeaf4; color: #8a809c; }
.sc__plan { background: #fff1d1; color: #946100; }
.sc__hand { background: #fde8e1; color: #b4492c; }
.sc__rows--plan li {
  grid-template-columns: 70px minmax(0, 1fr);
}
.sc__rows--plan li > b {
  grid-row: span 2;
  align-self: start;
  font-family: var(--display);
  font-weight: 600;
  color: #23173a;
}
.sc__slot {
  display: grid;
}
.sc__slot > * {
  grid-area: 1 / 1;
}
.sc__bubble {
  justify-self: end;
  max-width: 88%;
  margin: 2px 0 0;
  padding: 10px 14px;
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(135deg, #4a78ea, #6f8ff0);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.4;
}
.sc__bubble b {
  display: block;
  font-size: 0.74rem;
  opacity: 0.85;
}
.sc__bubble--in {
  justify-self: start;
  border-radius: 18px 18px 18px 6px;
  background: #efeaf6;
  color: #23173a;
}
.sc__typing {
  justify-self: end;
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  padding: 10px 14px;
  border-radius: 18px 18px 6px 18px;
  background: #efeaf6;
  font-size: 0.86rem;
  color: #6c6282;
}
.sc__typing span {
  display: inline-flex;
  gap: 4px;
}
.sc__typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}
.panel.is-live .sc__typing i {
  animation: sc-dot 1.2s ease-in-out infinite;
}
.panel.is-live .sc__typing i:nth-child(2) { animation-delay: 0.15s; }
.panel.is-live .sc__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes sc-dot {
  30% { opacity: 1; transform: translateY(-3px); }
}
/* Chub schaut über die Karte: bei Problemen erst mit der Lösung, bei Chubs Aufgaben immer */
.sc__chub {
  position: absolute;
  z-index: 2;
  top: -62px;
  inset-inline-end: 18px;
  width: 96px;
  height: auto;
  pointer-events: none;
}
.sc__chub--pose {
  inset-inline-end: auto;
  inset-inline-start: 14px;
  top: -78px;
  width: 112px;
}

/* Problem → Lösung: Warnungen gehen, Haken kommen nacheinander */
html:not(.js) .sc-warn,
html:not(.js) .sc-brief {
  display: none;
}
.js .sc-warn {
  transition: opacity 0.3s ease;
}
.js .sc.is-solved .sc-warn {
  opacity: 0;
}
.js .sc-ok,
.js .scrolly--pain .sc__chub {
  opacity: 0;
  transform: translateY(4px) scale(0.96);
  filter: blur(3px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease;
}
.js .sc.is-solved .sc-ok,
.js .scrolly--pain .sc.is-solved .sc__chub {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1.15),
    filter 0.4s ease;
  transition-delay: calc(0.3s + var(--n, 0) * 0.22s);
}
.js .scrolly--pain .sc.is-solved .sc__chub {
  transition-delay: 1.2s;
}
/* Chubs Aufgaben: die Szene baut sich beim Öffnen nacheinander auf */
.js .sc-in {
  opacity: 0;
}
.js .sc.is-active .sc-in {
  animation: sc-in 0.55s cubic-bezier(0.2, 0.75, 0.2, 1) both;
  animation-delay: calc(0.3s + var(--n, 0) * 0.35s);
}
.js .sc.is-active .sc-brief {
  animation-name: sc-brief;
  animation-duration: 0.75s;
}
@keyframes sc-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes sc-brief {
  0% { opacity: 0; transform: translateY(6px); }
  20%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

/* Festhängen: Abschnitt so hoch wie seine Schritte, Kasten bleibt im Bild */
@media (prefers-reduced-motion: no-preference) {
  .js .home main > section.scrolly {
    overflow: visible;
    height: calc(100vh + var(--steps) * 48vh);
    padding-block: 0;
  }
  .js .scrolly__sticky {
    position: sticky;
    top: var(--edge);
    display: flex;
    align-items: center;
    height: calc(100vh - 2 * var(--edge));
    padding: 24px 0;
  }
  .js .scrolly__grid {
    width: 100%;
    align-items: start; /* Überschrift bleibt stehen, wenn ein Punkt aufgeht */
  }
}
@media (min-width: 900px) and (max-height: 760px) and (prefers-reduced-motion: no-preference) {
  .js .scrolly__label { display: none; }
  .js .home .scrolly h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
  .js .scrolly__head { padding: 13px 0; }
  .js .scrolly__stage { min-height: 0; height: calc(100vh - 140px); }
}

/* Handy/Tablet: Überschrift, Bühne, darunter nur der aktive Punkt */
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .js .home main > section.scrolly {
    height: calc(100svh + var(--steps) * 62svh);
  }
  .js .scrolly__sticky {
    height: calc(100svh - 2 * var(--edge));
    align-items: stretch;
    padding: 18px 0 14px;
  }
  .js .scrolly__grid {
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 14px;
  }
  .js .scrolly__text {
    display: contents;
  }
  .js .scrolly__label {
    display: none;
  }
  .js .home .scrolly h2 {
    order: 1;
    margin: 0;
    font-size: 1.7rem;
  }
  .js .scrolly__stage {
    order: 2;
    min-height: 0;
    padding: 64px 14px 18px;
  }
  .js .scrolly__list {
    order: 3;
    display: grid;
    min-height: 9.5rem;
    border-top: 0;
  }
  .js .scrolly__item {
    grid-area: 1 / 1;
    visibility: hidden;
    opacity: 0;
    border-bottom: 0;
    transition:
      opacity 0.35s ease,
      visibility 0s linear 0.35s;
  }
  .js .scrolly__item.is-active {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.45s ease 0.1s;
  }
  .js .scrolly__item::after {
    display: none;
  }
  .js .scrolly__head {
    padding: 4px 0 10px;
  }
  .js .scrolly__body p {
    margin-bottom: 4px;
  }
  .scrolly__card {
    padding: 16px;
  }
  .sc__chub {
    width: 78px;
    top: -52px;
  }
  .sc__chub--pose {
    width: 92px;
    top: -64px;
  }
}
/* kleine Handys: Karte etwas dichter, damit sie ganz in die Bühne passt */
@media (max-width: 899px) and (max-height: 760px) {
  .scrolly__card { padding: 12px; }
  .sc { gap: 7px; }
  .sc__rows { gap: 6px; }
  .sc__rows li { padding: 7px 10px; row-gap: 4px; }
  .sc__time { font-size: 1.3rem; }
  .sc__bubble, .sc__typing { padding: 8px 12px; font-size: 0.85rem; }
  .scrolly--pain .sc__slot,
  .scrolly--pain .sc__rows p b { display: none; }
  .js .scrolly__body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scrolly,
  .scrolly * {
    transition: none !important;
    animation: none !important;
  }
  .js .sc-in {
    opacity: 1;
  }
  .js .sc-brief {
    display: none;
  }
}

/* =====================================================================
   Schluss (Stil Calendly): das cremeweiße Blatt endet mit runden Ecken,
   darunter geht es auf einer durchgehend farbigen Seite weiter (Aufruf + Fußzeile)
   ===================================================================== */
.home {
  --sheet-r: clamp(36px, 5vw, 64px);
}
.home main.sheet {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(12px, 2vw, 28px);
  border-radius: 0 0 var(--sheet-r) var(--sheet-r);
  background: var(--paper);
  box-shadow: 0 40px 60px -42px rgba(35, 23, 58, 0.4);
}
.outro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--sheet-r));
  padding-top: calc(var(--sheet-r) + clamp(80px, 11vw, 150px));
  color: #fff;
  background: linear-gradient(170deg, #3f5fc2 0%, #6276d6 40%, #8579d2 72%, #9d72c0 100%);
  background: linear-gradient(170deg in oklch, #3f5fc2 0%, #6276d6 40%, #8579d2 72%, #9d72c0 100%);
}
.outro__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.outro__glow--1 {
  top: 2%;
  left: -12vw;
  width: 52vw;
  height: 52vw;
  background: rgba(30, 48, 140, 0.55);
}
.outro__glow--2 {
  top: 34%;
  right: -10vw;
  width: 46vw;
  height: 46vw;
  background: rgba(240, 190, 235, 0.32);
}
@media (prefers-reduced-motion: no-preference) {
  .outro__glow--1 { animation: glow-drift 18s ease-in-out infinite alternate; }
  .outro__glow--2 { animation: glow-drift 22s ease-in-out -6s infinite alternate-reverse; }
}
@keyframes glow-drift {
  to { transform: translate(6vw, 4vw) scale(1.08); }
}
.outro__final {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(72px, 10vw, 128px);
  text-align: center;
}
.outro__chub {
  width: 170px;
  height: auto;
}
.outro__kicker {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.home .outro h2 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1;
  color: #fff;
}
.outro__final p:not(.outro__kicker) {
  max-width: 34rem;
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}
.outro .btn {
  background: #fff;
  border-color: #fff;
  color: #23173a;
}
.outro .btn:hover {
  background: #f1eefc;
  border-color: #f1eefc;
}
.outro .footer {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
}
.outro .footer a,
.outro .footer__cols a {
  color: rgba(255, 255, 255, 0.9);
}
.outro .footer__cols a:hover {
  color: #fff;
}
.outro .footer__head,
.outro .footer__head a,
.outro .brand--footer {
  color: #fff;
}
.outro .brand--footer img {
  filter: brightness(0) invert(1);
}
.outro :focus-visible {
  outline-color: #fff;
}

/* =====================================================================
   Laufende Striche hinter den Demo-Karten der Funktions-Tour – je Funktion ein eigenes Muster
   (lines in funktionen.json). Die Muster sind exakte Kacheln (SVG-Maske), die als ganze Ebene
   per transform verschoben werden: so bleiben alle Abstände gleich, und es läuft nahtlos
   (genau eine Kachelbreite --p pro Runde). Linke und rechte Hälfte laufen getrennt, damit die
   Striche auch nach außen oder nach innen fließen können.
   ===================================================================== */
.lines {
  --line: color-mix(in srgb, var(--accent) 30%, transparent);
  --p: 14px; /* Kachelbreite = Weg pro Runde */
  --cl: calc(50% - 190px); /* linke bzw. rechte Kante der Demo-Karte (.tmock, 380 px breit, mittig) */
  --cr: calc(50% + 190px);
  --dur: 1.1s;
  --tile-h: 100%;
  position: absolute;
  inset: 22% 0;
  pointer-events: none;
}
.lines__half {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
}
.lines__half--r {
  left: 50%;
}
.lines__half::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * var(--p));
  right: calc(-1 * var(--p));
  background: var(--line);
  -webkit-mask: var(--tile) 0 50% / var(--p) var(--tile-h) repeat;
  mask: var(--tile) 0 50% / var(--p) var(--tile-h) repeat;
}

/* Muster */
.lines--thin {
  --p: 14px;
  --dur: 1.2s;
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10' preserveAspectRatio='none'%3E%3Crect width='2' height='10'/%3E%3C/svg%3E");
}
.lines--bold {
  --p: 26px;
  --dur: 2.2s;
  --line: color-mix(in srgb, var(--accent) 16%, transparent);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='10' viewBox='0 0 26 10' preserveAspectRatio='none'%3E%3Crect width='9' height='10' rx='0'/%3E%3C/svg%3E");
}
.lines--pairs {
  --p: 26px;
  --dur: 1.8s;
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='10' viewBox='0 0 26 10' preserveAspectRatio='none'%3E%3Crect width='2' height='10'/%3E%3Crect x='6' width='2' height='10'/%3E%3C/svg%3E");
}
.lines--rhythm {
  --p: 46px;
  --dur: 3s;
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='10' viewBox='0 0 46 10' preserveAspectRatio='none'%3E%3Crect width='2' height='10'/%3E%3Crect x='6' width='2' height='10'/%3E%3Crect x='18' width='4' height='10'/%3E%3Crect x='32' width='2' height='10'/%3E%3C/svg%3E");
}
.lines--dashes {
  --line: color-mix(in srgb, var(--accent) 40%, transparent);
  --p: 16px;
  --tile-h: 14px;
  --dur: 1.3s;
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Crect width='2' height='8' rx='1'/%3E%3C/svg%3E");
}
.lines--dots {
  --p: 16px;
  --tile-h: 16px;
  --dur: 1.5s;
  --line: color-mix(in srgb, var(--accent) 42%, transparent);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='3' cy='3' r='2.2'/%3E%3C/svg%3E");
}
/* Welle: Striche unterschiedlich hoch, wie ein Equalizer */
.lines--wave {
  --p: 72px;
  --dur: 4.5s;
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='100' viewBox='0 0 72 100' preserveAspectRatio='none'%3E%3Crect y='35' width='2' height='30'/%3E%3Crect x='12' y='22' width='2' height='56'/%3E%3Crect x='24' y='9' width='2' height='82'/%3E%3Crect x='36' width='2' height='100'/%3E%3Crect x='48' y='9' width='2' height='82'/%3E%3Crect x='60' y='22' width='2' height='56'/%3E%3C/svg%3E");
}

/* Ausblenden, gemessen an der Kartenkante: zur Karte hin (außen kräftig) oder zum Rand hin (an der Karte kräftig) */
.lines--fade-card {
  -webkit-mask: linear-gradient(90deg, #000 0, transparent var(--cl) var(--cr), #000 100%);
  mask: linear-gradient(90deg, #000 0, transparent var(--cl) var(--cr), #000 100%);
}
.lines--fade-edges {
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--cl) var(--cr), transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 var(--cl) var(--cr), transparent 100%);
}
/* Form: Striche werden von außen zur Karte hin kürzer bzw. länger */
.lines--shape-shrink {
  clip-path: polygon(0 0, var(--cl) 34%, var(--cr) 34%, 100% 0, 100% 100%, var(--cr) 66%, var(--cl) 66%, 0 100%);
}
.lines--shape-grow {
  clip-path: polygon(0 36%, var(--cl) 0, var(--cr) 0, 100% 36%, 100% 64%, var(--cr) 100%, var(--cl) 100%, 0 64%);
}
/* Nach außen/innen: rechte Hälfte gespiegelt, dann laufen beide Hälften vom bzw. zum Bild */
.lines--flow-out .lines__half--r,
.lines--flow-in .lines__half--r {
  transform: scaleX(-1);
}

@media (prefers-reduced-motion: no-preference) {
  .tour__card.is-active .lines__half::before {
    will-change: transform;
    animation: lines-run var(--dur) linear infinite;
  }
  .tour__card.is-active :is(.lines--flow-right, .lines--flow-in) .lines__half::before {
    animation-direction: reverse;
  }
}
@keyframes lines-run {
  to { transform: translateX(calc(-1 * var(--p))); }
}

/* ---------- Zweifarbige Symbole in den Auslöser- und Kontroll-Kästen (statt Emojis) ---------- */
.duo {
  --ic-line: #0f5c52;
  --ic-acc: #6fd6b4;
  display: block;
  overflow: visible;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.duo .f { fill: #fff; stroke: var(--ic-line); }
.duo .a { fill: var(--ic-acc); stroke: var(--ic-line); }
.duo .a0 { fill: var(--ic-acc); stroke: none; }
.duo .l { fill: none; stroke: var(--ic-line); }
.duo .l.soft { opacity: 0.35; }
.duo .w { fill: none; stroke: var(--ic-line); stroke-width: 1.4; } /* Zeichen auf der Akzentfläche */
.duo .d { fill: var(--ic-line); stroke: none; }
.duo .dw { fill: #fff; stroke: none; }
.duo .ring { fill: none; stroke: var(--ic-acc); stroke-width: 2.4; stroke-dasharray: 11.2 2; }
.duo .pop {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.3);
}
.triggers__icon,
.control__icon {
  font-size: 0; /* falls je wieder ein Zeichen statt Symbol drinsteht, bleibt der Kasten ruhig */
}
.triggers__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #dcf6ec, #eefbdc);
  box-shadow: inset 0 0 0 1px rgba(15, 92, 82, 0.08);
}
.control__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: inset 0 0 0 1px rgba(60, 42, 120, 0.08);
}
.control__icon .duo {
  --ic-line: #3c2a78;
  --ic-acc: #b9a5ff;
}
@media (prefers-reduced-motion: no-preference) {
  .triggers li:hover .duo .pop,
  .control__list li:hover .duo .pop,
  .control li:hover .duo .pop {
    transform: translate(1px, -1px) scale(1.07) rotate(-3deg);
  }
}
.fix__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fix__pen {
  width: 15px;
  height: 15px;
}

/* Laufende Striche auch in farbigen Bühnen (weiß auf dem Verlauf), laufen nur, solange das Abteil im Bild ist */
.lines--fade-soft {
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 8% 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 8% 92%, transparent 100%);
}
.media > .lines {
  position: absolute;
  z-index: 0;
}
.lines--stage {
  --line: rgba(255, 255, 255, 0.42);
}
.lines--stage.lines--dots,
.lines--stage.lines--dashes {
  --line: rgba(255, 255, 255, 0.6);
}
/* Branchen: Band hinter dem Chat, blendet zur Seite hin aus (Chat ist bis 440 px breit) */
.lines--trades {
  inset: 16% 0;
  --cl: calc(50% - 220px);
  --cr: calc(50% + 220px);
}
/* Automations-Beispiel: hohe Equalizer-Welle über die ganze Bühne */
.lines--auto {
  inset: 6% 0;
}
@media (prefers-reduced-motion: no-preference) {
  .panel.is-live .lines__half::before {
    will-change: transform;
    animation: lines-run var(--dur) linear infinite;
  }
  .panel.is-live :is(.lines--flow-right, .lines--flow-in) .lines__half::before {
    animation-direction: reverse;
  }
}

/* Safari: Während eine Karte hereinfährt (Übergang auf opacity/transform), malt er die laufenden Muster
   (eigene Ebene wegen der Animation) kurz ÜBER die weiße Kartenfläche, die nur in die Ebene der Karte gemalt wird.
   Lösung: Die Karte bekommt fest eine eigene Ebene, ausdrücklich über den Mustern. */
.tour__demo {
  isolation: isolate;
}
.tour__demo > .lines {
  z-index: 0;
}
.tour__demo > .tmock {
  z-index: 1;
  will-change: transform;
}
.scrolly__card,
.trades__chat,
.media .post,
.media .dm {
  will-change: transform;
}

/* =====================================================================
   Branchenseiten, neue Fassung (zuerst Handwerk): Abteile wie Start- und Preisseite.
   Kopf: Überschrift mittig, darunter die Bühne mit Chub, einem Gespräch, das Nachricht für
   Nachricht abläuft, und dem Anfrage-Zettel, der sich dabei ausfüllt (site.js: playCase).
   ===================================================================== */
.home main.sub > section.case-hero {
  text-align: center;
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.case-hero .crumbs {
  padding-inline: 0;
  text-align: start;
}
.case-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: clamp(14px, 2.5vw, 28px) 0 0;
  padding: 5px 16px 5px 6px;
  border-radius: 999px;
  background: #f1ede6;
  color: #23173a;
  font-size: 0.95rem;
  font-weight: 600;
}
.case-hero__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dccfff, #f5d8f1);
}
.case-hero__mark svg {
  width: 18px;
  height: 18px;
}
.case-hero h1 {
  max-width: 18ch;
  margin: clamp(14px, 2.5vw, 24px) auto 0;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #23173a;
}
.case-hero__lead {
  max-width: 40rem;
  margin: 18px auto 0;
  font-size: 1.15rem;
  color: #5d5374;
}
.case-hero__actions {
  margin-top: 26px;
}
.case-hero__note {
  margin-top: 12px;
  font-size: 0.92rem;
  color: #5d5374;
}

/* Bühne: eigenes Abteil mit Farbverlauf, füllt den Bildschirm bis auf den Rand; darin Chub, das Gespräch und die Checkliste */
.home main > section.panel.case-stage {
  --panel-bg: linear-gradient(140deg, #dccfff 0%, #f7cfe0 50%, #ffe0bd 100%);
  --blob-1: #ffffff;
  --blob-2: #c9a7ff;
  --pill: rgba(255, 255, 255, 0.42);
  --accent: #3b6ff0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 56px) clamp(14px, 4vw, 48px);
  text-align: start;
}
.case-stage__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(16px, 3vw, 36px);
  width: 100%;
}
@media (min-width: 760px) {
  .home main > section.panel.case-stage {
    min-height: calc(100vh - 2 * var(--edge));
  }
}
.case-stage__chub {
  grid-column: 1;
  grid-row: 2;
  width: clamp(96px, 30vw, 230px);
  align-self: end;
}
.panel.is-live .case-stage__chub {
  animation: bob 4.5s ease-in-out infinite;
}
.case-chat {
  grid-column: 1 / -1;
  grid-row: 1;
  width: min(420px, 100%);
}
.case-thread {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  height: 400px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  /* ältere Nachrichten laufen oben weich aus dem Bild */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 56px);
  mask-image: linear-gradient(to bottom, transparent, #000 56px);
}
.case-thread .tm {
  flex: none;
}
.case-thread .tm.is-new {
  animation: pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.case-thread.is-clearing .tm {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Der Anfrage-Zettel: Klemmbrett, leicht schief, Felder füllen sich mit Haken */
.cs {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  width: min(240px, 100%);
  padding: 22px 18px 16px;
  border-radius: 18px;
  background: #fffdf7;
  color: #23173a;
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.35),
    0 30px 50px -28px rgba(35, 23, 58, 0.5);
  transform: rotate(-2deg);
  font-size: 0.92rem;
  line-height: 1.35;
}
.cs::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 64px;
  height: 18px;
  margin-left: -32px;
  border-radius: 7px;
  background: #23173a;
}
.cs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #e8e2ee;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
}
.cs__head span {
  white-space: nowrap;
}
.cs__head svg {
  width: 20px;
  height: 20px;
  color: #6d3df5;
}
.cs__head small {
  flex-basis: 100%;
  margin-inline-start: 28px;
  font: 400 0.76rem var(--text);
  color: #8a7f9e;
}
.cs__fields {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
/* Checkliste „Chub fragt ab“: leeres Kästchen, das sich mit der Antwort des Kunden abhakt */
.cs__field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.cs__label {
  flex: 1;
}
.cs__field:not(.is-set) .cs__label {
  color: #8a7f9e;
  font-weight: 500;
}
.cs__tick {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #d8f3e7;
  color: #0d7a52;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}
.cs__field:not(.is-set) .cs__tick {
  background: transparent;
  border: 2px dashed #d9d3e6;
  color: transparent;
}
.cs__field.is-set .cs__tick {
  animation: cs-tick 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}
.cs__field.is-set .cs__label {
  animation: cs-in 0.45s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
@keyframes cs-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes cs-tick {
  from { transform: scale(0.4); }
  to { transform: scale(1); }
}
.cs__status {
  display: grid;
  margin-top: 14px;
}
.cs__status > span {
  grid-area: 1 / 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.cs__open {
  background: #fff1d1;
  color: #946100;
}
.cs__open::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0a500;
}
.panel.is-live .cs__status:not(.is-done) .cs__open::before {
  animation: cs-pulse 1.3s ease-out infinite;
}
@keyframes cs-pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.55); }
  100% { box-shadow: 0 0 0 8px transparent; }
}
.cs__done {
  background: #d8f3e7;
  color: #0d7a52;
}
.cs__status:not(.is-done) .cs__done {
  opacity: 0;
  transform: scale(0.7);
}
.cs__status.is-done .cs__open {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cs__status.is-done .cs__done {
  animation: badge 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@media (max-width: 759px) {
  .case-thread {
    height: 340px;
  }
}
@media (min-width: 760px) {
  .case-stage__inner {
    grid-template-columns: auto minmax(0, 420px) auto;
    justify-content: center;
    column-gap: clamp(28px, 4vw, 64px);
  }
  .case-stage__chub,
  .case-chat,
  .cs {
    grid-row: 1;
  }
  .case-chat {
    grid-column: 2;
  }
  .cs {
    grid-column: 3;
    width: 262px;
  }
  .case-stage__chub {
    align-self: center;
    margin-bottom: -24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-stage__chub,
  .case-thread .tm.is-new,
  .cs__field.is-set .cs__label,
  .cs__field.is-set .cs__tick,
  .cs__status.is-done .cs__done {
    animation: none !important;
  }
}

/* Frag Chub: Knöpfe mit Kundenfragen, rechts die Antwort und woher Chub sie hat */
.panel--ask {
  --media-bg: linear-gradient(140deg, #c6dcfa 0%, #d9c9f3 55%, #f3cfd9 100%);
  --blob-1: #ffffff;
  --blob-2: #8fb0ff;
  --pill: rgba(255, 255, 255, 0.35);
}
.ask__lead {
  max-width: 34rem;
  margin-top: 14px;
  color: #5d5374;
}
.ask__text .chip {
  border-color: rgba(35, 23, 58, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.ask__text .chip:hover {
  transform: translateY(-2px);
}
.ask__stage {
  margin-top: 32px;
  min-height: 340px;
  display: grid;
  align-items: center;
}
.ask__chat {
  margin: 0 auto;
  width: min(100%, 460px);
  box-shadow: 0 30px 60px -30px rgba(35, 23, 58, 0.45);
}
.ask__chat .dm__bar {
  margin-bottom: 4px;
}
.ask__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--lilac);
  font-size: 0.88rem;
  color: #5d5374;
}
.ask__note svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #6d3df5;
}
.ask__note a {
  color: #23173a;
  font-weight: 600;
}
.ask__chat .pop {
  animation: seq-in 0.45s cubic-bezier(0.2, 0.8, 0.3, 1.2) both;
}
.ask__chat [data-ask-a].pop {
  animation-delay: 0.7s;
}
.ask__chat [data-ask-note].pop {
  animation-delay: 1.2s;
}
@media (min-width: 980px) {
  .ask__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
  }
  .ask__stage {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ask__chat .pop {
    animation: none !important;
  }
}

/* Drei Schritte nebeneinander */
.casesteps__head {
  max-width: 42rem;
}
.casesteps__head p {
  margin-top: 14px;
  color: #5d5374;
}
.casesteps__head a {
  color: #23173a;
  font-weight: 600;
}
.steps__list--cols {
  margin-top: clamp(28px, 4vw, 44px);
}
.steps__list--cols li {
  padding: 62px 0 0;
}
.steps__list--cols li::before {
  top: 0;
  background: #23173a;
}
.steps__list--cols p {
  color: #5d5374;
}
@media (min-width: 760px) {
  .steps__list--cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

/* ---------- Einrichten lassen (/einrichtung/) ---------- */
.casesteps__cta,
.setup__cta {
  margin-top: 18px;
}
.panel--calm .btn--ghost.casesteps__cta,
.panel--calm .btn--ghost.setup__cta {
  background: transparent;
  border-color: rgba(35, 23, 58, 0.25);
  color: #23173a;
}
.panel--calm .btn--ghost.casesteps__cta:hover,
.panel--calm .btn--ghost.setup__cta:hover {
  background: #23173a;
  border-color: #23173a;
  color: var(--white);
}
/* Kopf: Chub am Laptop, daneben die Checkliste als Klemmbrett */
.home main > section.panel.req-stage {
  --panel-bg: linear-gradient(140deg, #dccfff 0%, #d8e4ff 50%, #ffe0bd 100%);
}
.cs--list {
  width: min(420px, 100%);
  transform: rotate(-1deg);
}
.cs__items {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.cs__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
}
.cs__item .cs__tick {
  margin-top: 1px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
}
@media (min-width: 760px) {
  .req-stage .case-stage__inner {
    grid-template-columns: auto minmax(0, 420px);
  }
  .req-stage .cs--list {
    grid-column: 2;
    grid-row: 1;
    width: 420px;
  }
}
@media (max-width: 759px) {
  /* Handy: Chub klein oben links, die Checkliste in voller Breite darunter */
  .req-stage .case-stage__inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
  .req-stage .case-stage__chub {
    grid-column: 1;
    grid-row: 1;
    width: 120px;
    margin-bottom: -10px;
  }
  .req-stage .cs--list {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    transform: none;
  }
}
/* Vier Schritte */
@media (min-width: 600px) and (max-width: 979px) {
  .steps__list--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .steps__list--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }
}
/* Ehrliche Erwartungen: Text links, Korrektur-Beispiel rechts */
.honest__text p {
  margin-top: 14px;
  color: #5d5374;
  max-width: 34rem;
}
/* Anfrageformular */
.req__lead {
  margin-top: 14px;
  color: #5d5374;
  max-width: 32rem;
}
.req__promise {
  margin-top: 24px;
  padding: 16px 18px 16px 20px;
  border-inline-start: 4px solid #6d3df5;
  border-radius: 0 18px 18px 0;
  background: #f1ecff;
}
.req__promise strong {
  font-family: var(--display);
  font-size: 1.1rem;
}
.req__promise p {
  margin-top: 6px;
  color: #3d3158;
  font-size: 0.98rem;
}
.req__form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(35, 23, 58, 0.08);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(35, 23, 58, 0.4);
}
.req__row {
  display: grid;
  gap: 14px;
}
.req__field {
  display: grid;
  gap: 6px;
}
.req__field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.req__field input,
.req__field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--lilac);
  border-radius: 16px;
  background: #fffdf9;
  font: 400 1rem var(--text);
  color: var(--plum);
}
.req__field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.req__field input:focus,
.req__field textarea:focus {
  border-color: var(--action);
  outline: none;
}
.req__hp {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.req__form .btn {
  justify-self: start;
  margin-top: 4px;
}
.req__form.is-sent .btn {
  display: none;
}
.req__msg[data-tone='ok'] {
  padding: 14px 16px;
  border-radius: 14px;
  background: #d8f3e7;
  color: #0d7a52;
  font-weight: 600;
}
.req__legal {
  margin-top: 2px;
}
@media (min-width: 600px) {
  .req__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .req__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }
  .req__form {
    margin-top: 0;
  }
}

/* =====================================================================
   Handy (bis 759 px): jeder Abschnitt ein Bildschirm (Stil Apple) – alles auf einen Blick, natürliches
   Scrollen ohne Festhängen und Einrasten. Mehrteiliges wird zum Karussell (wischen), Szenen laufen im Takt.
   Desktop und Tablet (ab 760 px) bleiben unverändert.
   ===================================================================== */
.screen {
  display: contents;
}
.auto__sub,
.dots,
.scrolly__dots {
  display: none;
}
@media (max-width: 759px) {
  .home {
    --edge: 10px;
    --gap: 10px;
    --r: 24px;
    --screen: calc(100svh - 2 * var(--edge)); /* ein Bildschirm zwischen den Rändern */
  }
  .home .topbar {
    margin-top: 10px;
    padding: 8px 14px;
  }
  .home main > section {
    scroll-margin-top: 10px;
  }
  .home main > section.panel {
    padding: 24px 18px 22px;
  }
  /* Hereingleiten: kürzer und leiser */
  .js .home [data-reveal] {
    transform: translateY(16px);
    transition:
      opacity 0.55s ease,
      transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  /* Farbflecken kleiner (Grafikspeicher); Unschärfe-Übergänge aus – die sind auf dem Handy teuer und ruckeln */
  .blob {
    width: 56vmax;
    height: 56vmax;
  }
  .js .scrolly__scene,
  .js .scrolly__body > div,
  .js .sc-ok,
  .js .scrolly--pain .sc__chub,
  .scrolly__icon .scrolly__tick,
  .scrolly--pain .scrolly__item.is-solved .scrolly__icon svg:not(.scrolly__tick) {
    filter: none;
  }
  @keyframes sc-in-m {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .js .sc.is-active .sc-in {
    animation-name: sc-in-m;
  }
  .js .sc.is-active .sc-brief {
    animation-name: sc-brief;
  }

  /* Punkte unter einem Karussell: der aktive wird breit; die Tippfläche ist größer als der Punkt */
  .dots,
  .scrolly__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .dots__dot,
  .scrolly__dot {
    position: relative;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(35, 23, 58, 0.18);
    cursor: pointer;
    transition:
      width 0.3s ease,
      background-color 0.3s ease;
  }
  .dots__dot::before,
  .scrolly__dot::before {
    content: '';
    position: absolute;
    inset: -11px -8px;
  }
  .dots__dot[data-on],
  .scrolly__dot[data-on] {
    width: 20px;
    background: #23173a;
  }

  /* ---- Kopf: Überschrift, kurzer Text, Knopf – und direkt darunter das Video (ein Bildschirm) ---- */
  main > section.hero--center {
    padding: 18px var(--gutter) 0;
  }
  .hero--center h1 {
    font-size: 2.4rem;
    line-height: 1;
  }
  .hero--center .hero__lead {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.5;
  }
  .hero__lead-more {
    display: none;
  }
  .hero__actions {
    margin-top: 18px;
  }
  .hero__note {
    margin-top: 10px;
    font-size: 0.9rem;
  }
  main > section.stage {
    padding: 16px var(--edge) var(--gap);
  }
  .film {
    border-radius: var(--r);
  }
  .film__screen {
    aspect-ratio: 2 / 1;
  }
  .film__video,
  .film__still {
    object-position: 50% 45%;
  }
  .film__sound {
    top: 10px;
    inset-inline-end: 10px;
    height: 38px;
    font-size: 0.86rem;
  }
  .film__chat {
    padding: 8px 14px 12px;
  }
  .film__head {
    padding-bottom: 8px;
  }
  /* Gespräch: mindestens zwei, drei Nachrichten sichtbar – nicht nur die letzte */
  .film__thread {
    height: clamp(10rem, 100svh - 32rem, 12rem);
    padding-top: 8px;
  }

  /* ---- Funktions-Tour: Titel, Symbolreihe, Kartenband zum Wischen – füllt genau einen Bildschirm ---- */
  .home main > section.tour {
    --card-w: calc(100vw - 2 * var(--edge) - 56px);
    height: var(--screen);
    min-height: 560px;
  }
  .tour__sticky {
    position: static;
    height: 100%;
    padding: 20px 0 16px;
    justify-content: flex-start;
  }
  .tour__title {
    margin: 0 20px 16px;
    font-size: 1.55rem;
  }
  .tour__tabs {
    display: grid;
    grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr));
    gap: 6px;
    width: calc(100% - 28px);
    max-width: 360px;
    padding: 4px 4px 0;
    overflow: visible;
  }
  .tour__tab,
  .tour__tab[aria-selected='true'] {
    width: 100%;
    max-width: 44px;
    height: auto;
    aspect-ratio: 1;
    justify-self: center;
    border-radius: 30%;
    box-shadow: 0 0 0 4px rgba(255, 253, 249, 0.75);
  }
  .tour__tab[aria-selected='true'] {
    box-shadow: 0 0 0 4px #fffdf9;
  }
  .tour__tab svg {
    width: 52%;
    height: 52%;
  }
  /* Bogen vom aktiven Symbol zur Karte */
  .tour__stem {
    display: block;
    top: 100%;
    width: 44px;
    height: 16px;
    margin-left: -22px;
    -webkit-mask:
      radial-gradient(circle at 0 0, transparent 15px, #000 15.5px) left / 50% 100% no-repeat,
      radial-gradient(circle at 100% 0, transparent 15px, #000 15.5px) right / 50% 100% no-repeat;
    mask:
      radial-gradient(circle at 0 0, transparent 15px, #000 15.5px) left / 50% 100% no-repeat,
      radial-gradient(circle at 100% 0, transparent 15px, #000 15.5px) right / 50% 100% no-repeat;
  }
  .tour__stem::before {
    margin: 0 -7px;
  }
  .tour__window {
    flex: 1;
    min-height: 0;
    margin-top: 14px;
  }
  /* Kartenband: site.js zieht es mit dem Finger und lässt es zur nächsten Karte gleiten (touch-action: pan-y –
     der Browser scrollt nur die Seite senkrecht); die nächste Karte lugt am Rand hervor */
  .tour__track {
    position: relative;
    height: 100%;
    align-items: stretch;
    gap: 12px;
    padding: 2px calc((100% - var(--card-w)) / 2) 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    touch-action: pan-y;
  }
  .js .tour__track.is-dragging .tour__card {
    transition: none;
  }
  .tour__track::-webkit-scrollbar {
    display: none;
  }
  .tour__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    overflow: hidden;
  }
  .js .tour__card {
    opacity: 0.55;
    transform: scale(0.96);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }
  .js .tour__card.is-active {
    opacity: 1;
    transform: none;
  }
  .tour__label {
    font-size: 0.98rem;
  }
  .tour__icon {
    width: 30px;
    height: 30px;
  }
  .tour__card h3 {
    margin-top: 8px;
    font-size: 1.3rem;
  }
  .tour__card .tour__text > p:not(.tour__label) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-top: 6px;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .tour__more {
    min-height: 36px;
    margin-top: 2px;
    font-size: 0.92rem;
  }
  .tour__demo {
    flex: 1;
    min-height: 0;
    padding: 12px;
    border-radius: 16px;
  }
  .tmock {
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    font-size: 0.8rem;
  }
  .tpost__img {
    height: 64px;
  }
  .tpost__img img {
    width: 60px;
  }
  .tlist li {
    padding: 7px 10px;
  }

  /* ---- Was sich für dich ändert: ein Bildschirm, die vier Karten zum Wischen ---- */
  .home main > section.gains {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--screen);
  }
  .gains h2 {
    font-size: 1.9rem;
  }
  .gains__list {
    position: relative;
    display: flex;
    gap: 12px;
    margin: 18px -18px 0;
    padding: 6px 18px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    touch-action: pan-y;
  }
  .gains__list::-webkit-scrollbar {
    display: none;
  }
  .gain {
    flex: 0 0 min(300px, 100% - 44px);
  }
  .gains__list.is-dragging .gain {
    transition: none;
  }
  .gain {
    padding: 14px 14px 24px;
  }
  .gain__art {
    height: 190px;
    font-size: 0.92rem;
  }
  .panel--calm .gain h3 {
    margin-top: 18px;
    font-size: 1.3rem;
  }
  .panel--calm .gain p:not(.gain__art p) {
    font-size: 1rem;
  }

  /* ---- Kennst du das? / Was Chub erledigt: Überschrift, Bühne, der aktive Punkt und Punkte darunter ---- */
  .js .home main > section.scrolly {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: var(--screen);
    padding: 22px 18px 18px;
    overflow: hidden;
  }
  .js .scrolly__sticky {
    position: static;
    flex: 1;
    display: flex;
    align-items: stretch;
    height: auto;
    padding: 0;
  }
  .js .scrolly__grid {
    flex: 1;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    gap: 12px;
  }
  .js .home .scrolly h2 {
    font-size: 1.75rem;
  }
  .js .scrolly__stage {
    min-height: 220px;
    padding: 54px 12px 14px;
  }
  .js .scrolly__list {
    min-height: 7.5rem;
  }
  .js .scrolly__head {
    padding: 2px 0 8px;
  }
  .js .scrolly__body p {
    margin-bottom: 2px;
    font-size: 0.98rem;
  }
  .scrolly__dots {
    order: 4;
    margin-top: 0;
  }

  /* ---- Automationen: zwei Bildschirme – erst das Beispiel, dann die vier Auslöser ---- */
  .home main > section.auto {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .auto .screen {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: var(--screen);
    margin-bottom: var(--gap);
    padding: 24px 18px 22px;
    border-radius: var(--r);
    background: #fffdf9;
    box-shadow: 0 1px 0 rgba(35, 23, 58, 0.04);
    overflow: hidden;
  }
  .auto .screen:last-child {
    margin-bottom: 0;
  }
  .auto__head h2 {
    font-size: 1.45rem;
  }
  .auto__lead {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .auto__lead-more {
    display: none;
  }
  .auto__demo {
    flex: 1;
    min-height: 0;
    align-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px;
  }
  .post {
    padding: 12px;
    border-radius: 20px;
  }
  .post__head {
    padding-bottom: 8px;
    font-size: 0.95rem;
  }
  .post__media {
    aspect-ratio: 2 / 1;
    border-radius: 14px;
  }
  .post__media img {
    width: 30%;
  }
  .post__badge {
    padding: 4px 10px;
    font-size: 0.8rem;
  }
  .post__caption {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 8px 2px 4px;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.4;
  }
  .post__comments {
    gap: 5px;
    font-size: 0.88rem;
  }
  .dm {
    gap: 7px;
    padding: 12px 12px 14px;
    border-radius: 20px;
  }
  .dm__head {
    font-size: 0.8rem;
  }
  .dm .bubble {
    padding: 8px 12px;
    font-size: 0.88rem;
  }
  .dm .bubble:nth-of-type(n + 3) {
    display: none;
  }
  .auto__sub {
    display: block;
    margin-bottom: 14px;
    font-size: 1.5rem;
  }
  .triggers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
  }
  .triggers li {
    padding: 14px 12px;
    border-radius: 18px;
  }
  .triggers__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  .triggers h3 {
    font-size: 1rem;
    line-height: 1.2;
  }
  .triggers p {
    margin-top: 6px;
    font-size: 0.84rem;
    line-height: 1.4;
  }
  .auto__note {
    margin-top: 16px;
    font-size: 0.92rem;
  }
  .screen--triggers .more {
    margin-top: 8px;
  }

  /* ---- Kontrolle ---- */
  .home main > section.control {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-height: var(--screen);
  }
  .control__text h2 {
    font-size: 1.75rem;
  }
  .control__list {
    gap: 12px;
    margin-top: 16px;
  }
  .control__list li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .control__list p {
    font-size: 0.95rem;
    line-height: 1.45;
  }
  .control__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .control__stage {
    flex: 1;
    display: grid;
    align-content: center;
    min-height: 0;
    padding: 70px 14px 16px;
  }
  .control__stage .fix {
    padding: 20px 16px 18px;
  }
  .control__stage .fix img {
    top: -66px;
    width: 92px;
  }
  .fix .bubble {
    font-size: 0.9rem;
  }

  /* ---- Branchen: Chips in einer Reihe zum Wischen, darunter die Bühne ---- */
  .home main > section.trades {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--screen);
  }
  .trades__grid {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .trades__text {
    display: contents;
  }
  .trades h2 {
    order: 1;
    max-width: none;
    font-size: 1.75rem;
  }
  .trades__chips {
    order: 2;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 16px -18px 0;
    padding: 4px 18px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .trades__chips::-webkit-scrollbar {
    display: none;
  }
  .trades__chips .chip {
    flex: none;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
  }
  .trades__stage {
    order: 3;
    flex: 1;
    min-height: 240px;
    margin-top: 14px;
  }
  .trades__text .more {
    order: 4;
    align-self: flex-start;
    margin-top: 12px;
  }

  /* ---- Fragen: Chub neben der Überschrift, Liste darunter ---- */
  .home main > section.faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--screen);
  }
  .faq__side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
  }
  .faq__side h2 {
    font-size: 1.75rem;
  }
  .faq__chub {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 84px;
    margin: 0;
  }
  .faq__more {
    grid-column: 1;
    margin-top: 8px;
    font-size: 0.95rem;
  }
  .faq__list {
    gap: 8px;
    margin-top: 18px;
  }
  .panel--calm.faq details {
    padding: 0 16px;
    border-radius: 16px;
  }
  .faq summary {
    gap: 12px;
    padding: 13px 0;
    font-size: 1.02rem;
  }
  .panel--calm.faq summary::after {
    width: 28px;
    height: 28px;
  }
  .faq details p {
    padding-bottom: 14px;
    font-size: 0.95rem;
  }

  /* ---- Schluss ---- */
  .outro {
    padding-top: calc(var(--sheet-r) + 56px);
  }
  .outro__final {
    gap: 12px;
    padding-bottom: 64px;
  }
  .outro__chub {
    width: 140px;
  }
  .home .outro h2 {
    font-size: 2.5rem;
  }
  .outro__final p:not(.outro__kicker) {
    font-size: 1rem;
  }
}
