/*************/
/*  form settings  */
/*************/
.form-control:focus, form input:focus, form textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
 }
input {
     color-scheme: dark;
}
input:-webkit-autofill {
    filter: none;
    border: 1px solid var(--Stroke-Primary);
    -webkit-text-fill-color: #fff!important;
    -webkit-box-shadow: 0 0 0px 1000px var(--Background-Primary) inset;
    transition: background-color 5000s ease-in-out 0s;
}
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    filter: none;
    border: 1px solid var(--Stroke-Primary);
    -webkit-text-fill-color: #fff!important;
    -webkit-box-shadow: 0 0 0px 1000px var(--Stroke-Primary) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    animation-name: autofill;
    -webkit-animation-fill-mode: both;
} */

/* @keyframes autofill {
    100% {
        background: var(--Background-Primary);
        color: var(--Text-Secondary);
    }
}
@-webkit-keyframes autofill {
    100% {
        background: var(--Background-Primary);
        color: var(--Text-Secondary);
    }
} */
/* input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s !important;
} */
/* placeholder */
*::-webkit-input-placeholder {
    color: var(--Text-Secondary);
}
*:focus::-webkit-input-placeholder {
    color:var(--Text-Secondary);
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: var(--Text-Secondary);
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: var(--Text-Secondary);
    opacity: 1;
}
*:focus::-moz-placeholder {
    color:var(--Text-Secondary);
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: var(--Text-Secondary);
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: var(--Text-Secondary);
}
*:focus::-ms-input-placeholder {
    color:var(--Text-Secondary);
}
*::placeholder {
    /* modern browser */
    color: var(--Text-Secondary)!important;
}
*:focus::placeholder {
    color: var(--Text-Secondary);
}
/**/
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input, select, textarea {
    font-weight: 400;
    font-size: 1rem;
    color: var(--Text-Secondary);
}
input, select {
    color: var(--Text-Secondary);
    width: 100%;
    height: 3.25rem;
    line-height: 3.25rem;
    padding: 0 1rem;
    background: var(--Background-Primary);
    border: 1px solid var(--Stroke-Primary);
    border-radius: 0;
    /* line-height: 1.425;
    padding: 1.325rem 1rem 0.5rem; */
}
/*
label:not(.checkbox), label:not(.radio) {
    left: 1rem;
    line-height: 1.5 !important;
    margin: 0;
    max-width: calc(100% - 2rem);
    overflow: hidden;
    position: absolute;
    text-decoration: inherit;
    text-overflow: ellipsis;
    text-transform: inherit;
    top: 0;
    transform: translateY(1.125rem);
    transform-origin: top left;
    transition: all .2s ease;
    white-space: nowrap;
    z-index: 1;
}
.form-row.is_active label {
    transform: translateY(0.575rem) scale(.875);
}
*/
input[type="radio"], input[type="checkbox"] {
    height: auto;
    line-height: 1.6;
    width: auto
}
input[type="file"] {
    border:none;
    padding: 0;
    margin: 10px 0;
}
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--Background-Primary);
    color: var(--Text-Secondary);
    border: 1px solid var(--Stroke-Primary);
    border-radius: 0;
    width:100%;
    display: block;
    padding: .5rem 1rem;
	height: 10rem;
}
.form-control:hover, input:hover, textarea:hover, select:hover {
    border: 1px solid var(--Stroke-Primary);
    background: var(--Stroke-Primary);
}
.form-control:focus, input:focus, textarea:focus, select:focus {
    outline-style:none;
    outline:0 !important;
    color:#fff;
    background-color: var(--Stroke-Primary);
    border-color: var(--Stroke-onHover);
	transition: all .5s
}
.form-control:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: none !important;
    box-shadow: none
}

input[type="submit"] {
    display: table;
    width: auto;
    margin: 0 0 0 auto;
}
.wpcf7 .wpcf7-submit {
    box-shadow: none;
    margin-top: 1.5rem;
}
@media (max-width: 767px) {
    .wpcf7 .wpcf7-submit {
        margin: 1.5rem auto 0;
        width: 100%
    }
}
.wpcf7 .wpcf7-submit:disabled {
    background:var(--Background-Light);
    border-color:var(--Background-Light);
    color: var(--Background-Primary);
}
label {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--Text-Secondary);
}


label > input, label > textarea {
    margin-top: .5rem
}
.wpcf7-form {
    position: relative
}
.wpcf7-form label {
    display: block
}
.wpcf7-form-control-wrap {
    display: block;
    /* padding-top: 6px; */
}
/**/
.wpcf7-form-control.wpcf7-acceptance {
    display: block;
}
.wpcf7-form-control-wrap[data-name*="acceptance"] {
    padding-top:0;
    display: block;
}
.wpcf7-list-item {
    position: relative;
    display: block;
    /* min-height: 2rem; */
    margin-left:0;
}
.wpcf7-radio.inline-radio {
    display: inline-block;
    margin-bottom: 10px;
}
.wpcf7-radio.inline-radio .wpcf7-list-item {
	display: inline-block;
	margin-right: 25px;
}
@media (max-width:767px) {
	.wpcf7-radio.inline-radio .wpcf7-list-item {
		width: calc(50% - 25px);
	}
}
.wpcf7-list-item > label, label.custom-checkbox, label.custom-radio {
    display:flex
}
.wpcf7-list-item input, label.custom-checkbox input, label.custom-radio input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.wpcf7-list-item-label, label.custom-checkbox > span, label.custom-radio > span {
    padding-left: 1.75rem;
    padding-top: 2px;
    position: relative;
    display: inline-block;
    cursor:pointer;
    line-height: 1.3;
}
.wpcf7 .wpcf7-form-control-wrap[data-name*="acceptance"] .wpcf7-list-item-label {
    font-size: .875rem;
    font-weight: 500;
    color: #fff;
}
.wpcf7 .wpcf7-form-control-wrap[data-name*="acceptance"] .wpcf7-list-item-label a {
    color: #fff;
    text-decoration: underline;
}
.wpcf7-list-item label input + span.wpcf7-list-item-label::before,
.wpcf7-list-item input + span.wpcf7-list-item-label::before,
label.custom-checkbox input + span::before, label.custom-radio input + span::before {
    position: absolute;
    display: block;
    top: 3px;
    left: 0;
    width: 1rem;
    height: 1rem;
    line-height: .85rem;
    font-size: .625rem;
    content: '\e90e';
    font-family: "midgards";
    color: transparent;
    text-align: center;
    background-color: var(--Background-Primary);
    pointer-events: none;
    border: 1px solid var(--Stroke-Primary);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.wpcf7-list-item label input[type=radio] + span.wpcf7-list-item-label::before,
.wpcf7-list-item input[type=radio] + span.wpcf7-list-item-label::before,
label.custom-radio input[type=radio] + span::before {
    border-radius: 50%;
    content: '';
    padding: 1px;
    font-size: .75rem;
}
.wpcf7-list-item label:hover input + span.wpcf7-list-item-label::before,
label.custom-checkbox:hover input + span::before,
label.custom-radio:hover input[type=radio] + span::before {
    background-color: var(--Stroke-Primary);
    border-color: var(--Stroke-onHover);
}
.wpcf7-list-item label input:checked + span.wpcf7-list-item-label::before,
.wpcf7-list-item input:checked + span.wpcf7-list-item-label::before,
label.custom-checkbox input:checked + span::before {
    background-color: var(--Background-Primary);
    border-color: var(--Stroke-Primary);
    color: #fff
}

.wpcf7-radio label input[type=radio]:checked + span::before {
    background-color: var(--Background-Primary);
    border-width: 2px;
    border-color: var(--Text-Tertiary);
    color: #fff
}
.wpcf7-list-item label input.invalid + span.wpcf7-list-item-label::before,
.wpcf7-list-item input.invalid + span.wpcf7-list-item-label::before {
    color: transparent;
	border-color: #F05252;
	background-color: #FDF2F2;
}
.wpcf7-list-item > input.invalid + span.wpcf7-list-item-label::after {
    left: -2.5rem;
    width: 1.5rem;
    height: 1.5rem;
}
/**/
span.wpcf7-not-valid-tip {
    color: #ff0000;
    font-size: .725rem;
    line-height: .9;
    font-weight: normal;
    display: block;
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.15rem;
}
.cf7-acceptance span.wpcf7-not-valid-tip {
    bottom: -.875rem;
    width: 100%;
}
.wpcf7-textarea + span.wpcf7-not-valid-tip {
    bottom: -.875rem;
}
.wpcf7-checkbox + span.wpcf7-not-valid-tip {
    bottom: -.875rem;
}
.wpcf7 form .wpcf7-response-output {
    position: absolute;
    bottom: 0;
    cursor: pointer;
    border: 1px solid var(--Text-Tertiary);
    font-size: .875rem;
    width: 100%;
    margin: 0;
    text-align: center;
    background-color: var(--Background-Secondary);
    color: #fff;
    padding: 1.5rem .875rem !important;
    border-radius: 0;
    z-index: 1;
}
.wpcf7 form .wpcf7-response-output:before {
    content: '×';
    position: absolute;
    line-height: 1;
    top: .25rem;
    right: .5rem;
    color: #fff
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #F05252;
    cursor: pointer;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid var(--akzent);
}
div.wpcf7-mail-sent-ok {
    border: 1px solid var(--Text-Tertiary);
}
div.wpcf7 {
    position: relative
}
.wpcf7-spinner {
    margin: 0!important;
    position: absolute!important;
    bottom: 9px!important;
    left: calc(50% - 12px)!important;
}
.wpcf7 .ajax-loader {
    margin: 5px auto 0;
    position: absolute;
    bottom: 1rem;
    z-index: 2;
}
div.wpcf7 h1, div.wpcf7 h2, div.wpcf7 h3, div.wpcf7 h4 {
	line-height: 1.5;
    margin-bottom: 2.75rem;
}

.wpcf7-form-control.wpcf7-not-valid {
	border-color: #F05252;
}

.wpcf7-form p:last-of-type {
    margin-bottom:0
}

/**/
.ws-submit-block {
    position: relative;
}
.ws-submit-block:after {
    content:'Gesendet!';
    position: absolute;
    left:.5rem; top:0;right:.5rem;
    height: 2.75rem;
    z-index: -1;
    background-color: #ffcd00;
    color: #000;
    font-family: 'Satoshi', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    line-height: 2.75rem;
    text-align: center;
    transition: all .5s
}
form[data-status="sent"] .ws-submit-block:after {
    z-index: 1;
    animation: sent-shadow 1s;
}
@keyframes sent-shadow {
    0% { box-shadow: 0 0 0 0 var(--Background-Primary); }
    50% { box-shadow: 0 0 12px 3px rgba(255,255,255,0.4), 0 0 0 2px var(--Background-Primary); }
    100% {box-shadow: 0 0 0 0 var(--Background-Primary); }
}

.ws-submit-block {
	position: relative;
}
.ws-submit-block .wpcf7-spinner {
	position: absolute;
    z-index: -1;
    /* left: calc(50% - 32px);
    margin-top: 12px;*/
    width: calc(100% - 1rem);
    left: 0.5rem !important;
    top: 0;
    height: 2.75rem;
    border-radius: 0.5rem;
    background: transparent
}
form.submitting .ws-submit-block .wpcf7-spinner {
    animation: glowing .5s linear infinite;
}
.ws-submit-block .wpcf7-spinner:before {
    content: '';
    position: absolute;
    animation: none;
    top: 0px;
    left:-2px;
    background: var(--Background-Primary);
    /* background-size: 400%; */
    z-index: -1;
    filter: blur(6px);
    box-shadow: 0 0 8px rgba(255,255,255,.2);
    width: 3rem;
    height: 1.1rem;
    opacity: 1;
    transform-origin: 0 0;
    /* transition: glowing .3s ease-in-out; */
    border-radius: 100%;
}

@keyframes glowing {
    0% { transform: translate(0, 0); }
    45% { transform: translate(calc(100% - 2.6rem),0); }
    50% { transform: translate(calc(100% - 2.6rem), calc(100% - .95rem)); }
    95% { transform: translate(0, calc(100% - .95rem)); }
    100% { transform: translate(0,0); }
}


@media (max-width: 767px) {
	input, select {
		height: 3rem;
		line-height: 3rem;
	}
}
/* rm-form */
.rm-form ul {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem -.25rem 0;
}
.rm-form ul li {
    padding: 0 .25rem
}
.rm-form ul li.rm-success-container {
    flex-basis: 100%
}
/**/
.site-footer .widget .rm-form {
    max-width: 15rem;
    width: 100%;
}
@media (max-width: 767px) {
    .site-footer .widget .rm-form {
        margin: 0 auto;
        max-width: 100%;
    }
}
.site-footer .widget .rm-form li,
.site-footer .widget .rm-form li input {
    width: 100%
}
.site-footer .widget .rm-form li input[type=submit] {
    min-width: unset
}
/**/
.newsletter-block-wrap .rm-form li label {
    color: var(--Text-Light);
    width: 18.6rem;
    max-width: 100%;
}
.newsletter-block-wrap .rm-form li input:not([type=submit]) {
    color: var(--Text-Light);
    background: var(--Background-Light);
    border: 1px solid var(--Text-Secondary);
    width: 18.6rem;
    max-width: 100%;
}
.newsletter-block-wrap .rm-form li input:-webkit-autofill {
    border: 1px solid var(--Text-Secondary);
    -webkit-text-fill-color: var(--Text-Light)!important;
    -webkit-box-shadow: 0 0 0px 1000px var(--Background-Light) inset;
    transition: background-color 5000s ease-in-out 0s;
}
/**/
.newsletter-popup-wrap .rm-form li {
    flex-basis: 100%;
}
.newsletter-popup-wrap .rm-form li[rel="firstname"],
.newsletter-popup-wrap .rm-form li[rel="lastname"] {
    flex-basis: 50%;
    margin-bottom: .5rem;
}
.newsletter-popup-wrap  .rm-form li input[type="submit"] {
    width: 100%
}
/**/
.rm-form .rm-form-container .rm-error {
    background: transparent;
    color: #d9414e;
    position: absolute;
    left: .25rem;
    top: 100%;
    line-height: 1rem;
    padding: 0;
    font-size: .75rem;
}
.rm-form.rm-subscribe-success li:not(.rm-success-container) {
    display: none;
}

@media (max-width: 600px) {
    .rm-form ul li {
        flex-basis: 100%;
    }
    .newsletter-block-wrap .rm-form li input:not([type=submit]),
    .newsletter-block-wrap .rm-form li input[type=submit] {
        width: 100%;
    }
}

/*  label inside input */
.label-inside, .rm-form li {
    position: relative;
}
.label-inside input, .label-inside textarea,
.rm-form li input:not([type=submit]), .rm-form li textarea {
    line-height: 1.5rem;
    padding: 1rem 1rem 0;
}
.label-inside textarea, .rm-form li textarea {
    padding-top: 1.25rem
}
.label-inside label, .rm-form li label {
    max-width: calc(100% - 2rem);
    overflow: hidden;
    position: absolute;
    text-overflow: ellipsis;
    top: 0;
    left: 1rem;
    margin: 0;
    text-align: left;
    pointer-events: none;
    transform: translateY(.925rem);
    transform-origin: top left;
    transition: all .2s ease;
}
.label-inside.is_active label, .rm-form li.is_active label {
    transform: translateY(0.5rem) scale(.75);
}
