@media(max-width:1199px){
    .flip-order {
        display:flex !important;
        flex-direction: column-reverse;
    }
    .klein-breit {
        width:auto !important;
    }
}



.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay.hidden {
    display: none;
}

.overlay-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
    width: 400px;
}

.overlay-close-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #E21B28;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.overlay-close-button:hover {
    background-color: #C51A24;
}




.kontakt_mail {
    color:#811A1A;
    text-decoration: none;
}
.kontakt_mail:hover {
    text-decoration: underline;
}
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    cursor: pointer;
    font-size:20px;
    line-height:28px;
    font-family: "Lato";
    user-select: none;
}

.formular-bereich .custom-checkbox:last-child {
    margin-bottom:0px;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.custom-checkbox span.text {
    margin-left:7px;
    display:block;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    border: 2px solid black;
    background-color: transparent;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: rgba(187,0,0,0.2);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #811A1A;
    border: 2px solid #811A1A;
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.custom-checkbox input:checked + .checkmark + span {
    color: #811A1A;
    font-weight:700;
}
.checkmark + span:hover {
    color:#811A1A;
    font-weight:700;
}

.kontaktdaten-feld {
    /* margin-top:50px; */
    display:flex;
    flex-direction: column;
}
input, textarea {
    color: #393939;
    font-family: Lato;
    font-size: 20px;
    background-color: #ccc;
    border:none;
    padding:20px;
    font-weight:400;
    box-sizing: border-box;
}
input {
    margin-bottom:20px;
}
textarea {
    min-height:300px;
}
.checkbox-container {
    display:flex;
    flex-direction: row;
    align-items: baseline;
}
input[type="checkbox"] {
    margin-right: 10px;
    margin-bottom:0;
    margin-top:0px;
    margin-left:0;
    width: 20px;
    height: 20px;
    min-width: 20px !important;
}
/* input[type="checkbox"]+label {
    transform: translateY(-2px);
} */
input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

input[type="checkbox"] + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    background-color: #fff;
}

input[type="checkbox"]:checked + label:before {
    content: "✔";
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
::placeholder {
    color:#393939;
    font-family: Lato;
    font-size: 20px;
    font-weight:400;
}
.textarea-error {
    background-color: #E21B28 !important;
    color: white !important;
}
/* Styling für den Placeholder innerhalb der fehlerhaften Textarea */
.textarea-error::placeholder {
    color: white !important;
}
h2.form-headline {
    font-family: 'Lato';
    color: #393939;
    font-size:30px;
    line-height:40px;
    font-weight:900;
}
.contact-button {
    height:50px;
    width:250px;
    font-family: 'Lato';
    font-size:20px;
    font-weight:900;
    border-radius: 5px;
    background-color: #393939;
    color: #ffffff;
    border:none;
    border-radius:3px;
    margin-top:40px;
}
.contact-button:hover {
    background-color: #393939;
    /* color:#FFF861; */
    cursor:pointer;
}
#datenschutz-hinweis {
    margin-top:20px;
    color:#393939;
    font-family: 'Lato';
    font-size:18px;
    line-height:26px;
    font-weight:400;
    margin-bottom:30px;
}
.kontaktformular_erfolg {
    /* margin-top:20px; */
    color:#393939;
    font-family: 'Lato';
    font-size:22px;
    line-height:30px;
    font-weight:900;
}
.kontaktdaten-feld div {
    position:relative;
}
.kontaktdaten-feld div input, .kontaktdaten-feld div textarea {
    width:100%;
}
input:focus ~ .floating-label,
input:not([value='']) ~ .floating-label {
  top: 0px;
  bottom: 10px;
  left: 20px;
  font-size: 14px;
  opacity: 0.5;
}
textarea:focus ~ .floating-label,
textarea:not([value='']) ~ .floating-label {
  top: 0px;
  bottom: 10px;
  left: 20px;
  font-size: 14px;
  opacity: 0.5;
}
.floating-label {
	color:#393939;
	font-family: "Lato";
	font-size:19px;
	line-height:28px;
	position: absolute;
    pointer-events: none;
    left: 20px;
    top: 18px;
    transition: 0.2s ease all;
}