/* Anfrageformular mit Kacheln, kam nach dem Rest dazu */

.anfrage-v2{
	padding: 96px 0;
	background: #F5F6F6;
}
.anfrage-v2__grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 64px;
}
.anfrage-v2__klein { font-size: .875em; color: #53565A; }
.anfrage-v2__klein a { color: #005E8A; }
.anfrage-v2__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px 24px;
	padding: 32px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 3px 6px #00000029;
}

.kacheln {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}
.kacheln legend {
    width: 100%;
    margin-bottom: 10px;
    font-weight: 600;
}
.kachel{position: relative;}
.kachel input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.kachel span {
	display: block;
	min-width: 128px;
	padding: .52rem 1.3rem;
	border: 1px solid #d0d0ce;
	border-radius: 4px;
	text-align: center;
	transition: all .3s ease;
}
.kachel input:checked + span {
	border-color: #007CB0;
	color: #fff;
	background: #007cb0;
}
.kachel input:focus-visible + span { outline: 2px dashed #1076a8; outline-offset: 2px; }
.kacheln--klein .kachel span { min-width: 64px; }

.feld label {
    display: block;
    margin-bottom: 4px;
    font-size: .875em;
    font-weight: 600;
}
.feld input, .feld select, .feld textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0ce;
    border-radius: 4px;
    font: inherit;
    background: #fff;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: #007cb0; outline: 0; }
.feld small { font-size: .75em; color: #53565a; }
.feld--breit, .zustimmung, .formfehler { grid-column: 1 / -1; }
.feld-falle { position: absolute; left: -9999px; }

.richtwert {
	align-self: end;
	margin: 0;
	padding: 10px 0;
	font-weight: 600;
}
.richtwert output { color: #1076a8; }

.zustimmung { font-size: .875em; line-height: 22px; }
.zustimmung input { margin-right: 6px; vertical-align: -2px; }
.formfehler { margin: 0; color: #b4232a; font-weight: 600; }
.anfrage-v2__form .btn-pill { justify-self: start; }


/* fix: Kacheln liefen bei 320px aus dem Formular */
@media screen and (max-width:767px) {
    .anfrage-v2 { padding: 64px 0; }
    .anfrage-v2__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .anfrage-v2__form { grid-template-columns: minmax(0, 1fr); padding: 20px 16px; }
    .feld input, .feld select, .feld textarea { font-size: 16px; }
    .kachel { flex: 1 1 calc(50% - 5px); }
    .kachel span { min-width: 0; }
    .kacheln--klein .kachel { flex: 1 1 0; }
    .anfrage-v2__form .btn-pill { justify-self: stretch; }
}
/* fix: Kacheln ends*/

/* fix: Telefonnummer brach in der Kopfleiste um */
@media (min-width: 1024px) and (max-width:1200px){
	.topline__tel { font-size: .875em !important; }
}
/* fix: Telefonnummer ends*/
