/* A static overview, a separate section bar and responsive reading space. */
@layer marketing {
  .home-page #main-content > section { min-height: 0; }
  .home-page #main-content > .hero { min-height: calc(100svh - var(--site-nav-height)); }
  .home-page .hero { padding-block: 28px 22px; }
  .home-page .hero-layout { align-items: center; }
  .home-page .hero h1 { font-size: clamp(2.4rem, 3.2vw, 2.65rem); line-height: 1.18; }
  .home-page .hero-accent { margin-top: 12px; }
  .home-page .hero .sub { margin-top: 28px; font-size: 1.05rem; line-height: 1.8; gap: 16px; }
  .home-page .hero-actions {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "trial" "micro" "circle" "messengers";
    margin-top: 28px;
    row-gap: 14px;
  }
  .home-page .hero-actions > .hero-trial-cta {
    width: 100%;
    min-height: 72px;
    justify-content: center;
    padding: 18px 24px;
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--action-fill) 18%, transparent);
  }
  .home-page .hero-trial-cta > span { text-wrap: balance; }
  .home-page .hero-actions > .hero-circle-note { grid-area: circle; }
  .home-page .hero-trust-block { grid-area: messengers; margin-top: 6px; padding-top: 0; border: 0; }
  .home-page .hero-aside { position: relative; align-self: start; margin-top: 8px; }
  .home-page .hero-origin { margin-top: 10px; font-size: .75rem; }
  .home-page .hero::before { background: var(--blush); opacity: .4; }
  .home-page .hero::after { opacity: .4; }

  @media (min-width: 900px) {
    .home-page .hero-copy {
      grid-template-areas: "title visual" "intro visual" "actions visual";
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: auto auto auto;
      column-gap: 64px;
    }
    .home-page .hero-aside { align-self: center; margin-top: 0; }
  }
  .home-page .hero-assistant-scene { position: relative; width: 100%; }
  .home-page .hero-assistant-scene .work-proof-card { position: relative; z-index: var(--z-raised); width: 100%; }
  .home-page .hero-assistant-scene .work-proof-head { padding: 12px 14px; gap: 10px; }
  .home-page .hero-assistant-scene .work-proof-avatar { width: 32px; height: 32px; }
  .home-page .hero-assistant-scene .assistant-exchange { padding: 18px 16px; gap: 12px; }
  .home-page .hero-assistant-scene .assistant-message,
  .home-page .hero-assistant-scene .assistant-reply { max-width: none; font-size: .875rem; line-height: 1.65; padding: 11px 14px; }
  .home-page .hero-assistant-scene .assistant-message + .assistant-event { margin-top: 4px; }
  .home-page .hero-assistant-scene .work-proof-note { padding: 10px 14px; }
  .home-page .hero-messenger-links {
    grid-area: auto;
    position: static;
    display: grid;
    justify-self: end;
    width: 148px;
    margin-bottom: 12px;
    gap: 8px;
  }
  .home-page .hero-messenger-links .messenger-contact-link {
    min-width: 0;
    min-height: 56px;
    gap: 8px;
    padding: 8px;
    text-decoration: none;
    text-underline-offset: initial;
    box-shadow: 0 4px 16px rgba(45, 45, 42, .04);
  }
  .home-page .hero-messenger-links .messenger-contact-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mint);
  }
  .home-page .hero-messenger-links .messenger-contact-link strong { font-size: .8125rem; }
  .home-page .hero-messenger-links .messenger-contact-link small { font-size: .6875rem; }

  .path-heading { padding: 14px 0 8px; background: var(--cream); border-top: 1px solid var(--hairline); }
  .path-heading h2 { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
  .journey-navigation { padding: 0 0 10px; background: var(--cream); border-bottom: 1px solid var(--hairline); }
  .journey-links { position: relative; min-height: 144px; }
  .journey-path { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--teal); stroke-dasharray: 3 12; stroke-linecap: round; stroke-width: 3; pointer-events: none; }
  .journey-path path { vector-effect: non-scaling-stroke; }
  .journey-link { position: absolute; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; width: 15%; min-height: 64px; padding: 8px 10px; border-radius: 12px; border-bottom: 2px solid transparent; background: var(--surface); }
  .journey-link:nth-of-type(1) { left: 0; top: 0; }
  .journey-link:nth-of-type(2) { left: 17%; top: 34px; }
  .journey-link:nth-of-type(3) { left: 34%; top: 62px; }
  .journey-link:nth-of-type(4) { left: 51%; top: 4px; }
  .journey-link:nth-of-type(5) { left: 68%; top: 38px; }
  .journey-link:nth-of-type(6) { right: 0; top: 4px; }
  .journey-link:hover { background: var(--surface); }
  .journey-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blush); font-size: .8rem; font-weight: 600; }
  .journey-link:nth-of-type(2) .journey-number { background: var(--sand); }
  .journey-link:nth-of-type(3) .journey-number { background: var(--mint); }
  .journey-link:nth-of-type(4) .journey-number { background: var(--stone); }
  .journey-link:nth-of-type(5) .journey-number { background: var(--cream); }
  .journey-link strong { display: block; font-size: .875rem; line-height: 1.35; font-weight: 600; }
  .journey-link small { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; line-height: 1.3; }
  .journey-link[aria-current="location"] { border-bottom-color: var(--selection-indicator); background: var(--surface); }
  .journey-current { display: block; position: sticky; top: var(--site-nav-height); z-index: var(--z-sticky); background: var(--cream); border-bottom: 1px solid var(--hairline); }
  .journey-current summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--site-max); min-height: 52px; margin-inline: auto; padding: 8px 40px; list-style: none; cursor: pointer; font-size: .875rem; line-height: 1.5; }
  .journey-current summary::-webkit-details-marker { display: none; }
  .journey-current-copy { min-width: 0; }
  .journey-current-copy strong { font-weight: 600; }
  .journey-current-copy [data-current-description] { color: var(--muted); }
  .journey-current-copy [data-current-description]::before { content: ": "; }
  .journey-choice { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--teal-text); }
  .journey-toggle-icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .journey-current[open] .journey-toggle-icon { transform: rotate(180deg); }
  .journey-options { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100svh - var(--site-nav-height) - 64px); overflow-y: auto; padding-block: 16px; border-bottom: 1px solid var(--hairline); background: var(--cream); box-shadow: 0 16px 28px rgba(80, 50, 25, .1); }
  .journey-option-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; max-width: var(--site-max); margin-inline: auto; padding-inline: 40px; }
  .journey-option-list > .journey-path { display: none; }
  .journey-option { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 88px; padding: 12px; border-radius: 12px; border-bottom: 2px solid transparent; background: var(--surface); }
  .journey-option strong { display: block; font-size: .875rem; line-height: 1.4; font-weight: 600; }
  .journey-link strong,
  .journey-option strong { overflow-wrap: anywhere; hyphens: auto; }
  .journey-option small { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
  .journey-option[aria-current="location"] { border-bottom-color: var(--selection-indicator); }
  .journey-option:nth-of-type(2) .journey-number { background: var(--sand); }
  .journey-option:nth-of-type(3) .journey-number { background: var(--mint); }
  .journey-option:nth-of-type(4) .journey-number { background: var(--stone); }
  .journey-option:nth-of-type(5) .journey-number { background: var(--cream); }
  .journey-more { display: none; }

  .home-page .chapter,
  .home-page .assist,
  .home-page .product-showcase,
  .home-page .privacy,
  .home-page .pricing,
  .home-page .payoff { min-height: 0; padding-block: 36px 24px; }
  .home-page .chapter { display: block; border-bottom: 1px solid var(--hairline); }
  .home-page .chapter > .chapter-grid { margin-block: 0; }
  .home-page .chapter-next-link { margin-top: 20px; }
  .home-page .chapter-grid,
  .home-page .chapter.flip .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .home-page .chapter .vignette { padding: 36px 32px; }
  .home-page .chapter .v-head { margin-bottom: 24px; }
  .home-page .chapter-visual::before { inset: -16px -14px; }
  .home-page .chapter p { font-size: 1.05rem; line-height: 1.8; margin-top: 24px; }
  .home-page .chapter h2 { font-size: clamp(1.9rem, 2.6vw, 2.45rem); line-height: 1.28; text-wrap: balance; }
  /* Weiterführende Seiten sind Teil des Satzes, nicht eine Linkliste darunter. */
  .home-page .chapter-copy p a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--action-fill) 55%, transparent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
  .home-page .chapter-copy p a:hover { color: var(--action-text); }
  .home-page .instrument-name { white-space: nowrap; }
  .home-page .chapter .e-mark { display: inline-grid; place-items: center; letter-spacing: 0; }
  .home-page .chapter .e-mark::before { content: attr(data-step); }
  .home-page :is(.chapter, .assist, .product-showcase, .privacy, .pricing, .payoff) { scroll-margin-top: var(--journey-scroll-margin, 53px); }

  @media (min-width: 900px) {
    .home-page #main-content > .chapter {
      min-height: calc(100svh - var(--site-nav-height) - var(--journey-scroll-margin, 53px));
      display: grid;
      grid-template-rows: 1fr auto;
      align-items: center;
      padding-block: 36px 20px;
    }
    .home-page .chapter > .chapter-grid { margin-block: auto; }
    .home-page .chapter :is(h2, p) { max-width: none; }
  }

  @media (min-width: 900px) and (max-height: 820px) {
    .home-page .hero { padding-block: 20px 16px; }
    .home-page .hero h1 { font-size: clamp(2.4rem, 3.2vw, 2.85rem); line-height: 1.16; }
    .home-page .hero .sub { margin-top: 20px; font-size: 1rem; line-height: 1.7; gap: 12px; }
    .home-page .hero-actions { margin-top: 20px; row-gap: 10px; }
    .home-page .hero-actions > .btn { justify-self: start; }
    .home-page .hero-trust-block { margin-top: 6px; padding-top: 0; }
    .home-page .hero-assistant-scene .work-proof-head { padding-block: 8px; }
    .home-page .hero-assistant-scene .assistant-exchange { padding: 10px 14px; gap: 6px; }
    .home-page .hero-assistant-scene .assistant-message,
    .home-page .hero-assistant-scene .assistant-reply { padding-block: 7px; }
    .home-page .hero-assistant-scene .assistant-message + .assistant-event { margin-top: 0; }
    .home-page .hero-assistant-scene .work-proof-note { padding-block: 6px; }
    .home-page .hero-origin { margin-top: 8px; line-height: 1.35; }
    .home-page .chapter h2 { font-size: clamp(1.8rem, 2.6vw, 2.25rem); line-height: 1.24; }
    .home-page .chapter p { font-size: 1rem; line-height: 1.7; margin-top: 16px; }
    .home-page .chapter .eyebrow { margin-bottom: 16px; }
    .home-page .chapter .vignette { padding-block: 28px; }
  }
  @media (min-width: 900px) and (max-width: 1099.98px) {
    .journey-links { min-height: 118px; }
    .journey-link:nth-of-type(2) { top: 26px; }
    .journey-link:nth-of-type(3) { top: 48px; }
    .journey-link:nth-of-type(5) { top: 32px; }
    .journey-link { padding-inline: 4px; gap: 5px; }
    .journey-link small { display: none; }
  }
  @media (max-width: 899.98px) {
    .home-page .hero { padding-block: 20px 12px; }
    .home-page .hero h1 { font-size: clamp(2rem, 8.3vw, 2.75rem); line-height: 1.16; }
    .home-page .hero .sub { margin-top: 18px; }
    .home-page .hero-actions { margin-top: 20px; gap: 8px; grid-template-areas: "trial" "micro" "circle" "messengers"; }
    .home-page .hero-scroll-link { display: none; }
    .home-page .hero-aside { display: block; margin-top: 16px; }
    .home-page .hero-aside > .hero-assistant-scene,
    .home-page .hero-aside > .hero-origin { display: none; }
    .home-page .hero-messenger-links { position: static; width: 100%; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .home-page .hero-messenger-links .messenger-contact-link { justify-content: center; }
    .home-page .hero-trust-block { margin-top: 12px; padding-top: 6px; }
    .home-page .hero-trust-row { display: flex; flex-wrap: wrap; gap: 5px 10px; font-size: .75rem; }
    .home-page .hero-trust-row span { flex-basis: 100%; margin-left: 30px; }
    .path-heading { padding-block: 16px 8px; }
    .path-heading h2 { font-size: 1rem; }
    .journey-navigation { display: none; }
    .journey-number { width: 26px; height: 26px; }
    .journey-current summary { min-height: 60px; padding-inline: 24px; gap: 12px; }
    .journey-current-copy [data-current-description] { display: block; margin-top: 2px; font-size: .75rem; }
    .journey-current-copy [data-current-description]::before { content: none; }
    .journey-options { padding: 12px 24px; }
    .journey-option-list > .journey-path { display: block; }
    .journey-option-list { display: block; position: relative; min-height: 436px; padding-inline: 0; }
    .journey-option { position: absolute; width: 79%; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 60px; padding: 8px 10px; border-radius: 12px; background: var(--surface); }
    .journey-option strong { display: block; font-size: .875rem; line-height: 1.35; font-weight: 600; }
    .journey-option small { display: block; margin-top: 2px; color: var(--muted); font-size: .75rem; line-height: 1.3; }
    .journey-option:nth-of-type(1) { top: 0; left: 0; }
    .journey-option:nth-of-type(2) { top: 72px; right: 0; }
    .journey-option:nth-of-type(3) { top: 144px; left: 0; }
    .journey-option:nth-of-type(4) { top: 216px; right: 0; }
    .journey-option:nth-of-type(5) { top: 288px; left: 0; }
    .journey-option:nth-of-type(6) { top: 360px; right: 0; }
    .journey-option:nth-of-type(2) .journey-number { background: var(--sand); }
    .journey-option:nth-of-type(3) .journey-number { background: var(--mint); }
    .journey-option:nth-of-type(4) .journey-number { background: var(--stone); }
    .journey-option:nth-of-type(5) .journey-number { background: var(--cream); }
    .journey-option[aria-current="location"] { outline: 2px solid var(--selection-indicator); }
    .journey-more { display: flex; gap: 24px; margin-top: 8px; border-top: 1px solid var(--hairline); }
    .journey-more a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
    .journey-options a[aria-current="location"] { color: var(--action-text); text-decoration: underline; text-underline-offset: 5px; }
    .home-page .chapter,
    .home-page .assist,
    .home-page .product-showcase,
    .home-page .privacy,
    .home-page .pricing,
    .home-page .payoff { padding-block: 36px 28px; }
    .home-page .chapter-grid,
    .home-page .chapter.flip .chapter-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .home-page .chapter h2 { font-size: 1.8rem; }
    .home-page .chapter .vignette { padding: 24px 20px; }
    .home-page .chapter-next-link { margin-top: 24px; }
    .home-page :is(.chapter, .assist, .product-showcase, .privacy, .pricing, .payoff) { scroll-margin-top: var(--journey-scroll-margin, 61px); }
  }
}
