div.success {
    background-color: #85C058;
    color: #666666;
}
div.error {
    background-color: #C30E21;
    color: #FFFFFF;
}
div.success, div.error {
    padding: .5em .5em .5em .66em;
    margin-bottom: .2em;
	clear: both;
}
form, form div {
	position: relative;
}
form fieldset {
	margin-bottom: 1em;
}
form legend {
	font-size: 1.5em;
	margin: 0 0 .33em;
}
form.row > *,
form .row > * {
	margin-bottom: 0;
}
form .short {
	width: 31.33%;
	float: left;
}
form .medium {
	float: right;
	width: 64.67%;
}
form input, form select, form textarea {
	background: transparent;
	border: solid currentcolor;
	border-width: 1px 0;
	color: #262d33;
	line-height: 2;
	margin: 0 0 -1px;
	padding: 1.2em 0 0.5em;
	position: relative;
	width: 100%;
}
form input[type="checkbox"], form input[type="radio"] {
	margin-bottom: initial;
	padding: initial;
	width: auto;
}
main form input:hover, main form input:focus,
main form textarea:hover, main form textarea:focus {
	border-color: var(--textcolor);
	z-index: 1;
}
main form select:hover,
main form select:focus {
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' height='20px' width='25px'> <text x='0' y='15' fill='%23333' font-family='icomoon' font-size='16'>&%23x2335;</text> </svg>");
	border-color: #999;
}
main form input[type="checkbox"],
main form input[type="radio"] {
	margin: 0 5px 0 0;
	width: auto;
}
main form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #fff no-repeat right center;
	background-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' height='20px' width='25px'> <text x='0' y='15' fill='%23666' font-family='icomoon' font-size='16'>&%23x2335;</text> </svg>");
	text-indent: 0.01px;
	text-overflow: "";
}
form label {
	clear: both;
	display: block;
	line-height: 1;
	position: relative;
}
form label span.lbl {
	color: #555;
	line-height: 1.5;
	padding: 0;
	pointer-events: none;
	position: absolute;
	left: 0;
	transition: .2s;
}
form label :placeholder-shown + span.lbl,
form label select:invalid + span.lbl {
	opacity: .8;
	font-size: 1em;
	max-width: calc(100% - 0.6rem);
	top: 1.1em;
}
form label textarea:placeholder-shown + span.lbl {
	white-space: normal;
}
form label.lbl-chk,
form label input + span.lbl,
form label textarea + span.lbl,
form label select + span.lbl,
form label input:focus + span.lbl,
form label textarea:focus + span.lbl {
	display: inline-block;
	font-size: 0.8em;
	overflow: hidden;
	text-overflow: ellipsis;
	top: .2em;
	white-space: nowrap;
}
form span.lbl[class*=" icon-"]::before{
	padding-right: .2em;
}

form textarea {
	height: calc(10em + 4px); /* Höhe von drei Input */
}
main form input::-webkit-input-placeholder,
main form textarea::-webkit-input-placeholder {
	color: transparent;
}
main form input::-ms-input-placeholder,
main form textarea::-ms-input-placeholder {
	color: transparent;
}
main form input::-moz-placeholder,
main form textarea::-moz-input-placeholder {
	color: transparent;
}
main form input::placeholder,
main form textarea::placeholder {
	color: transparent;
}

/* Checkboxen, Radio-Buttons */
form label.lbl-chk {
	display: flex;
		align-items: center;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.25;
	margin: 1em 0 .5rem;
	min-height: 2.3em;
	overflow: visible;
	padding-left: 3.5em;
	position: relative;
		top: 0;
	white-space: normal;
	width: auto;
}
form label.lbl-chk input {
	height: auto;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}
form label.lbl-chk .icon {
	font-size: 2.3em;
	height: 0.9em;
	line-height: 1;
	opacity: 1;
	position: absolute;
	left: 0;
	top: -.1rem;
}

/* Animierte SVG für Checkboxen und Radio-Buttons */
.lbl-chk .icon svg {
	fill:none;
	stroke-width:40;
	stroke-linecap:round;
	stroke-linejoin:round;
	stroke:#173557;
	vertical-align: middle;
}
.lbl-chk .icon svg .tick {
	opacity: 0;
	stroke:#173557;
	stroke-dasharray: 0% 590%;
	stroke-dashoffset: 0%;
	transition: stroke-dasharray .6s, stroke-dashoffset .6s, opacity .1s .5s;
}
.lbl-chk .icon svg .box {
	fill:#fff;
	stroke:#fff;
	transition: stroke .2s;
}
.lbl-chk .icon svg .dot {
	fill: transparent;
	stroke: transparent;
	transition: fill .5s;
}
.lbl-chk input:checked ~ .icon svg .tick {
	opacity: 1;
	stroke-dasharray: 100% 590%;
	stroke-dashoffset: -320%;
	transition: stroke-dasharray 1s cubic-bezier(0,.85,.5,.8), stroke-dashoffset .6s, opacity 0s;
}
.lbl-chk input:checked ~ .icon svg .box {
	stroke: #173557;
	transition: stroke .3s .3s;
}
.lbl-chk input:checked ~ .icon svg .dot {
	fill: #173557;
	transition: fill 0.4s 0.2s;
}

/* Anpassung für Radio-Buttons */
.lbl-chk input[type="radio"]:checked ~ .icon svg .tick {
	stroke-dasharray: 230% 590%;
	stroke-dashoffset: 0%;
	transition: stroke-dasharray .3s, stroke-dashoffset .6s, opacity 0s;
}
.lbl-chk input[type="radio"]:checked ~ .icon svg .dot {
	transition: fill 0.3s 0.3s;
}


form small.help {
	clear: both;
	display: block;
	line-height: 0.5;
	padding-bottom: 1em;
	text-align: right;
}
form div.send {
	text-align: right;
}

@media (min-width: 500px) {
	form input, form select, form textarea {
		padding: 1.2em 2rem 0.5em;
	}
	form label span.lbl {
		padding: 0 3em;
	}
}