Let $\langle x,y\rangle$ be the scalar product of $x$ and $y$ in a linear space $X$ over either $\mathbb{R}$ or $\mathbb{C}$. This scalar product satisfies the three properties: Bilinerity/Sesquilinearity, Symmetry/Skew symmetry, and Positivity.
The Schwarz inequality for this scalar product is: $$ \lvert\langle x,y\rangle\rvert \leq \lVert x \rVert \lVert y\rVert \tag{*} $$ where $\lVert x \rVert = \langle x,x\rangle^{1/2}$, the induced norm of $x$.
The following proof for this theorem is taken from Lax's functional analysis book: Let $t \in \mathbb{R}$ and $y \in X \neq 0$, then: $$ \lVert x+ty \rVert^2=\lVert x \rVert^2 + 2tRe(\langle x,y\rangle) + t^2 \lVert y \rVert ^2 \tag{1} $$ Set: $$ t = -Re(\langle x,y\rangle)/\lVert y \rVert ^2 $$ and multiply (1) by $\lVert y \rVert^2 $, we get: $$ Re^2(\langle x,y\rangle) \leq \lVert x \rVert^2\lVert y \rVert^2 $$ Replacing $x = ax$, $\lvert a \rvert =1$, so chosen that $a\langle x,y\rangle\in \mathbb{R}$, we deduce (*). The equality holds in (*) iff $x$ and $y$ are scalar multiples of one another.
The answer to any of these questions would be appreciated:
What is the motivation behind considering the quantity $\lVert x +ty \rVert^2$ in (1)?
Similarly, what is the intuition behind setting $t=-Re(\langle x,y\rangle)/\lVert y \rVert^2$?
Finally, what is the intuition behind setting $x=ax, \lvert a \rvert =1$? Moreover, how do we deduce (*) from setting $x=ax, |a|=1$, and $a$ chosen such that $a\langle x,y\rangle$ real? How do we even know that such a decomposition of $x$ into $ax$ is always possible?
Well... I don't know if this will help, but:
You consider the segment from $x$ to $y$ is a standard thing to try, as that norm "contains" also the scalar product $\langle x,y\rangle$ (or something similar to it).
minimizing the norm (try to take the derivative w.r. of $t$): this is also something you often try
is a standard trick with complex numbers:
As a general suggestion for real analysis proofs (at least these easy ones): often using complex numbers only results in extra care to handle real/complex part, but no "true" addition. If you try to rework the proofs using only reals, you should get a quicker intuition.
In this case I suggest you recall that the scalar product is connected to the cosine of the angle between the two vectors: try to draw some 2d vectors, you might get some geometrical intuition.