So what I'm trying to do, is to put an input-field over a label and change the background-color of the input-field on focus. So that the bgColor covers the text of the label.
Here is what it looks like:
<div class="d-faq-field">
<label class="i-faq-lastname-label" for="i-faq-lastname">Nachname</label>
<input id="i-faq-lastname" type="text" name="lastname">
</div>
I've put both input field and label in a div so that everythings responsive and the div's can float beside each other.
Also, have a look at the jsFiddle. There is a div on the top where it already works but I cannot seem to reconstruct it properly.