/* KI-Richtlinie Generator */
.krg-form {
	max-width: 720px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.5;
}
.krg-form fieldset {
	border: 1px solid #e2e5ea;
	border-radius: 10px;
	padding: 1.5rem;
	margin: 0 0 1rem;
	background: #fff;
}
.krg-form legend {
	font-weight: 700;
	font-size: 1.15rem;
	color: #1f3864;
	padding: 0 .5rem;
}
.krg-form label {
	display: block;
	margin: .75rem 0;
	font-weight: 500;
}
.krg-form input[type="text"],
.krg-form input[type="email"],
.krg-form input[type="date"],
.krg-form select {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: .35rem;
	padding: .6rem .7rem;
	border: 1px solid #c7ccd6;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 400;
}
.krg-form input:focus,
.krg-form select:focus {
	outline: none;
	border-color: #1f3864;
	box-shadow: 0 0 0 3px rgba(31, 56, 100, .15);
}
.krg-q {
	font-weight: 600;
	margin: 1.1rem 0 .4rem;
}
.krg-options {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.krg-opt {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0 !important;
	padding: .5rem .8rem;
	border: 1px solid #c7ccd6;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 400;
	background: #f8f9fb;
}
.krg-opt input { margin: 0; }
.krg-opt:hover { border-color: #1f3864; }
.krg-req { color: #c0392b; }
.krg-note { font-size: .85rem; color: #6b7280; }

/* Honeypot verstecken */
.krg-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

/* Fortschritt */
.krg-progress {
	height: 6px;
	background: #e9ecf2;
	border-radius: 3px;
	margin: 0 0 1.25rem;
	overflow: hidden;
}
.krg-progress-bar {
	height: 100%;
	width: 16%;
	background: #1f3864;
	transition: width .25s ease;
}

/* Navigation */
.krg-nav {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	margin-top: .5rem;
}
.krg-btn {
	appearance: none;
	border: 0;
	border-radius: 8px;
	padding: .7rem 1.4rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}
.krg-next, .krg-submit {
	background: #1f3864;
	color: #fff;
	margin-left: auto;
}
.krg-next:hover, .krg-submit:hover { background: #16294a; }
.krg-back {
	background: #eef1f6;
	color: #1f3864;
}
.krg-btn:disabled { opacity: .6; cursor: default; }

/* Ergebnis */
.krg-result {
	margin-top: 1rem;
	padding: 1rem 1.2rem;
	border-radius: 10px;
	font-weight: 500;
}
.krg-result.krg-ok {
	background: #e7f6ec;
	border: 1px solid #b6e2c4;
	color: #1e6b3a;
}
.krg-result.krg-err {
	background: #fdecea;
	border: 1px solid #f5c6c0;
	color: #a52b1e;
}
.krg-field-error {
	border-color: #c0392b !important;
}
.krg-inline-error {
	color: #c0392b;
	font-size: .85rem;
	margin: .25rem 0 0;
}
