/* --------------------------------------------------------------
JOBS FORM STYLESHEET
Last edited: 2026-03-29
-------------------------------------------------------------- */

span.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item-label,
form .reg {
	font-size: smaller;
	line-height: 1.3em;
}
form .mark {
	background-color: #8B8378;
	color: #fff;
	font-weight: 600;
}
.fontawe {
	font-family: 'Font Awesome 6 Free', FontAwesome, Arial, Helvetica, sans-serif !important;
}

form *[class*='req'] {
    background-image: url('/wp-content/uploads/2018/05/required.png');
    background-position: right top;
    background-repeat: no-repeat;
}

/* base wrapper */
label.cf-icon{
	position:relative;
	display:block;
}
/* shared icon styling */
label[class*="cf-icon-"]::before{
	font-family:"Font Awesome 6 Free", FontAwesome !important;
	font-weight:900;
	position:relative;
	left: 12px;
	top: 2rem;
	color:#999;
	font-size:16px;
	z-index:2;
	pointer-events:none;
}

/* icon definitions */
label.cf-icon-vorname::before{ content:"\f007"; }      /* user */
label.cf-icon-zuname::before{ content:"\f007"; }      /* user */
label.cf-icon-email::before{ content:"\f0e0"; }     /* envelope */
label.cf-icon-tel::before{ content:"\f095"; }       /* phone */
label.cf-icon-message::before{ content:"\f044"; }   /* pen */

/* textarea icon override */
label.cf-icon-message::before{
	top: 1.6rem;
}
label[class^="cf-icon-"]::before:active,
label[class^="cf-icon-"]::before:focus{
	color:#c61a1a !important;
}

/* input padding */
label[class^="cf-icon-"] input,
label[class^="cf-icon-"] textarea{
	padding-left:2.5rem !important;
}
label[class^="cf-icon-"] textarea{
	padding-top: .2rem !important;
}

label[class*="cf-icon-"] .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

input:not([type=checkbox]):not([type=radio]):not([type=reset]):not([type=submit]):not([type=button]) {
    height: 2.5rem;
}

textarea, input {
	font-family: Arial, Helvetica, sans-serif !important;
}
input[type=text], input[type=email], textarea {
	font-size: 1.5em;
	max-width: 100%;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
	border: solid 1px #e31e25 !important;
}
input#betreff {
/*	margin-top: 10px;*/
}
input.wpcf7-submit {
	font-size: 1.5em;
	padding: .5vw 1.5vw;
	margin-top: 1vw;
	color: #fff;
	background-color: #c61a1a;
}
input[type=submit]:hover {
	color: #fff;
	background-color: #a81515;
}
.scaladent-btn {
    background: #c61a1a !important;
}
.scaladent-btn:focus,
.scaladent-btn:hover,
.scaladent-btn:active {
	background:#a81515 !important;
	box-shadow:
	0 6px 14px rgba(0,0,0,0.20);
	  cursor:pointer;
}
.input, .textarea, select, textarea, input, input[type=text], input[type=password], input[type=email], input[type=search] {
	outline: none;
	background-color: #f5f5f5;
	border: solid 1px #ccc;
	border-radius: 3px;
	box-shadow: none;
	box-sizing: border-box;
	padding: 0 0.5em;
	color: rgba(0, 0, 0, 0.8);
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: normal;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

/* FORM RESPONSE OUTPUT
-------------------------------------------------------------- */
.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0.5rem !important;
	padding: 0.2rem 1rem !important;
	border: 0 !important; 
	font-size: x-large;
    line-height: normal;
}
div.wpcf7-mail-sent-ok,
div.wpcf7-validation-errors {
	font-size: x-large;
	line-height: 1.3em;
	width: auto !important;
}
div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14;
}
div.wpcf7-validation-errors {
	border: 2px solid #f59e00;
}

/* Wrapper */
.job-form-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 24px;
	width: 100%;
}

/* 2 columns */
.job-col {
	width: calc(50% - 12px);
}

/* Full-width rows below columns */
.job-full {
	width: 100%;
}

/* Field spacing */
.job-field {
	margin-bottom: 18px;
}

.job-field:last-child {
	margin-bottom: 0;
}

/* Titles / helper copy */
.job-section-title {
	margin: 0 0 10px;
	font-weight: 600;
	line-height: 1.4;
}

/* Make CF7 controls fill available width */
.job-form-grid input[type="text"],
.job-form-grid input[type="email"],
.job-form-grid input[type="tel"],
.job-form-grid textarea,
.job-form-grid select {
	width: 100%;
	box-sizing: border-box;
}

/* Checkbox / radio layout */
.job-options .wpcf7-form-control-wrap {
	display: block;
}

.job-options .wpcf7-checkbox,
.job-options .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

.job-options .wpcf7-list-item {
	margin: 0;
	display: inline-flex;
	align-items: center;
}

.job-options .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

/* Acceptance */
.job-acceptance {
	margin-top: 8px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.job-acceptance .wpcf7-list-item {
	margin: 0;
}

/* Submit row */
.job-submit {
	text-align: center;
}

/* Mobile */
@media only screen and (max-width: 767px) {
	.job-col {
		width: 100%;
	}

	.job-form-grid {
		gap: 18px;
	}

	.job-options .wpcf7-checkbox,
	.job-options .wpcf7-radio {
		flex-direction: column;
		gap: 8px;
	}
}