*:focus::-webkit-input-placeholder {
  opacity: 0;
} /* Chrome <=56, Safari < 10 */
*:focus:-moz-placeholder {
  opacity: 0;
} /* FF 4-18 */
*:focus::-moz-placeholder {
  opacity: 0;
} /* FF 19-50 */
*:focus:-ms-input-placeholder {
  opacity: 0;
} /* IE 10+ */
*:focus::placeholder {
  opacity: 0;
} /* Modern Browsers */


    #blackout {
        width: 100%;
        height: 100%;
        /* make sure you have set parents to a height of 100% too*/
        position: fixed;
        left: 0;
        top: 0;


        background-color: lightgray;
        opacity: 0.8;
        display: none;
        z-index: 2;
            /*just to make sure its on top*/
    }

    #blackout img {
        opacity: 1;
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index:20;
    }
    
.rundeckenaussen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.rundeecken {
  margin-top: 20px;
  margin-bottom: 15px;
  width: 95%;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 15px 15px 5px 5px;
  border-color: #ec8b56;
  border-style: solid;
  border-width: 2px;
  background: #fffafa;
  font-size: 16px;
}

#blackout {
  width: 100%;
  height: 100%;
  /* make sure you have set parents to a height of 100% too*/
  position: fixed;
  left: 0;
  top: 0;

  background-color: lightgray;
  opacity: 0.8;
  display: none;
  z-index: 2;
  /*just to make sure its on top*/
}

#blackout img {
  opacity: 1;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 20;
}

.formfelder {
  display: flex;
  align-items: center;
}
center .ankauf fieldset {
  max-width: 90%;
  background-color: #ffffff;
  text-align: left;
  margin-top: 16px;
  font-size: large;

  border: thin solid #ec8b56;
}
.banner center #ankaufdiv {
  z-index: 10;
  width: 100%;
  padding-bottom: 26px;
  visibility: hidden;
  height: 0px;
}
textarea {
  height: 176px;
  border: none;
  border-bottom: 2px solid grey;
  border-left: 2px solid grey;
  margin-bottom: 9px;
  margin-top: 4px;
  background-color: #ffffff;
  line-height: 28px;
  font-size: 16px;
  font-family: Verdana;
  width: 95%;
}
textarea:focus {
  background-color: #ffffff;
  border-bottom: medium solid #ec8b56;
  border-left: medium solid #ec8b56;
  border-right: thin solid black;
  outline: none;
  transition: all 0.3s;
}

.ankauf fieldset input {
  margin-bottom: 9px;
  border: none;
  border-bottom: 2px solid grey;
  border-left: 2px solid grey;
  margin-top: 4px;
  background-color: white;
  line-height: 28px;
  font-size: 16px;
  font-family: Verdana;
  padding: 4px;
  width: 95%;
  height: 33px;
}

.ankauf fieldset input[type="submit"] {
  width: 350px;
}
.ankauf fieldset legend {
  font-size: 20px;
}
#ankaufdiv form {
  background-color: #ffffff;
  padding-right: 10px;
  padding-bottom: 25px;
  padding-left: 10px;
  padding-top: 1px;
  clear: left;
}
.ankauf fieldset input:focus {
  background-color: #ffffff;
  border-bottom: medium solid #ec8b56;
  border-left: medium solid #ec8b56;
  border-right: thin solid black;
  outline: none;
  background-size: 100% 100%;
  transition: all 0.3s;
}

.ankauf fieldset input::placeholder, .ankauf fieldset textarea::placeholder  {
  color: transparent;
}


.ankauf fieldset label {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  pointer-events: none;
  color: gray;
  float: none;
  display: block;
  opacity: 1;
  transform: translateY(-2.8em);
  transform-origin: 0 0;
  transition: font-size 2s,  all 0.3s;
  padding-left: 10px;
  margin-left: 3px;
  width: 94%;
}

.ankauf fieldset input:focus + label,
.ankauf fieldset input:not(:placeholder-shown) + label {
  transform: translateY(-73px);
  font-size: 14px;
  color: black;
  border-bottom: thin solid black;
}

.ankauf fieldset textarea:focus + label,
.ankauf fieldset textarea:not(:placeholder-shown) + label {
  transform: translateY(-216px);
  font-size: 14px;
  color: black;
  border-bottom: thin solid black;
}
.fkasten {
  width: 100%;
  float: left;
  margin-left: 30px;
}

@media (max-width: 700px) {
  textarea {
    font-size: 14px;
    width: 95%;
  }
  .ankauf fieldset input {
    font-size: 14px;
    height: 33px;
    width: 95%;
  }

  #ankaufdiv form {
    padding: 0;
    width: 98%;
  }
  .rundeecken {
    width: 100%;
    text-align: center;
  }
  .ankauf fieldset input[type="submit"] {
    width: 100%;
    margin-left: 0px;
  }
  .banner center #ankaufdiv {
    max-width: 100%;
    margin: 0;
  }

  .ankauf fieldset {
    width: 100%;
  }
  .formfelder {
    display: block;
  }
  .fkasten {
    width: 99%;
    clear: left;
    margin: 0;
  }
}
@media (max-width: 500px) {

  .ankauf fieldset label {
    font-size: 0.8rem;
  }
  textarea {
    font-size: 14px;
  }

  #provensy {
    height: 35px;
  }
}
