/* Rundum Kollisionsprüfer – alle Regeln unter .rkp. Farben folgen den Elementor-Variablen der Website. */
.rkp {
	--rkp-blue: var(--e-global-color-primary, #367CC6);
	--rkp-blue-soft: var(--e-global-color-secondary, #E1EFFF);
	--rkp-text: var(--e-global-color-text, #363636);
	--rkp-orange: var(--e-global-color-accent, #FC6D21);
	--rkp-yellow: var(--e-global-color-a348270, #FFDE00);
	--rkp-bg: var(--e-global-color-38b2979, #ECF2F9);
	--rkp-line: #C9D6E4;
	--rkp-muted: #5B6672;
	font-family: Roboto, system-ui, sans-serif;
	color: var(--rkp-text);
	width: 100%;
	max-width: none;
	line-height: 1.5;
}
.rkp *, .rkp *::before, .rkp *::after { box-sizing: border-box; }
.rkp [hidden] { display: none !important; }

.rkp-intro { margin: 0 0 16px; color: var(--rkp-muted); }

.rkp-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.rkp-steps li {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px 6px 8px; border: 1px solid var(--rkp-line); border-radius: 6px;
	background: #fff; color: var(--rkp-muted); font-weight: 500;
}
.rkp-steps li[aria-current="step"] { border-color: var(--rkp-blue); color: var(--rkp-blue); }
.rkp-steps li.is-done { color: var(--rkp-text); }
.rkp-n { display: inline-flex; width: 24px; height: 24px; }
.rkp-n svg { width: 24px; height: 24px; display: block; }
.rkp-n circle { fill: #fff; stroke: currentColor; stroke-width: 1.5; }
.rkp-n text { fill: currentColor; font: 700 12px Roboto, system-ui, sans-serif; text-anchor: middle; }
.rkp-steps li[aria-current="step"] .rkp-n circle { fill: var(--rkp-blue); stroke: var(--rkp-blue); }
.rkp-steps li[aria-current="step"] .rkp-n text { fill: #fff; }

.rkp-card { background: #fff; border: 1px solid var(--rkp-line); border-radius: 6px; padding: 20px; }
.rkp-card h2 { margin: 0 0 14px; font-size: 1.25rem; line-height: 1.3; color: var(--rkp-text); }
.rkp-card h2:focus { outline: none; }
.rkp-card h3 { margin: 18px 0 8px; font-size: 1rem; }

.rkp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.rkp-wide { grid-column: 1 / -1; }
.rkp-field label { display: block; margin-bottom: 4px; font-size: .875rem; font-weight: 500; }
.rkp-field input, .rkp-field select {
	width: 100%; min-height: 42px; padding: 8px 10px; font: inherit; color: var(--rkp-text);
	background: #fff; border: 1px solid #9AA8B8; border-radius: 3px;
}
.rkp-field input:focus-visible, .rkp-field select:focus-visible, .rkp-btn:focus-visible, .rkp-ics pre:focus-visible {
	outline: 2px solid var(--rkp-blue); outline-offset: 2px;
}

.rkp-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 18px;
	font: 500 1rem Roboto, system-ui, sans-serif; text-decoration: none; cursor: pointer;
	color: var(--rkp-blue); background: #fff; border: 1.5px solid var(--rkp-blue); border-radius: 3px;
	box-shadow: none;
}
.rkp-btn:hover { background: var(--rkp-blue-soft); }
.rkp-btn--primary { background: var(--rkp-blue); color: #fff; }
.rkp-btn--primary:hover { background: #2B66A8; border-color: #2B66A8; }
.rkp-btn--cta { background: var(--rkp-orange); border-color: var(--rkp-orange); color: #fff; }
.rkp-btn--cta:hover { background: #E85D14; border-color: #E85D14; }
.rkp-btn--quiet { border-color: transparent; background: transparent; text-decoration: underline; padding-inline: 10px; }
.rkp-btn[disabled] { opacity: .6; cursor: progress; }

.rkp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.rkp-form .rkp-actions { margin-top: 4px; }

.rkp-err { margin: 0; padding: 10px 12px; border-left: 4px solid #B3261E; background: #FDECEA; color: #7A1712; border-radius: 3px; }
.rkp-form .rkp-err { grid-column: 1 / -1; }
.rkp-note { margin: 12px 0 0; color: var(--rkp-muted); font-size: .9375rem; }

.rkp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; color: var(--rkp-muted); }
.rkp-tag { background: var(--rkp-yellow); color: #3A3200; font-weight: 700; padding: 0 8px; border-radius: 3px; }

.rkp-check { padding: 14px 16px; border-radius: 3px; border-left: 4px solid #2E7D32; background: #EEF7EF; }
.rkp-check--hint { border-left-color: var(--rkp-blue); background: var(--rkp-blue-soft); }
.rkp-check--soft { border-left-color: #B7791F; background: #FFF6E0; }
.rkp-check--hard { border-left-color: var(--rkp-orange); background: #FFF0E8; }
.rkp-check p { margin: 0 0 8px; }
.rkp-check ul { margin: 0 0 8px; padding-left: 20px; }
.rkp-check > :last-child { margin-bottom: 0; }
.rkp-rec { padding-top: 8px; border-top: 1px solid rgba(0, 0, 0, .12); }

.rkp-done { display: flex; align-items: center; gap: 10px; }
.rkp-done svg { width: 28px; height: 28px; flex: none; color: #2E7D32; }
.rkp-done h2 { margin: 0; }

.rkp-ics pre {
	margin: 0; padding: 12px; overflow-x: auto; font: .8125rem/1.45 ui-monospace, Menlo, Consolas, monospace;
	background: var(--rkp-bg); border-radius: 3px; white-space: pre; max-height: 260px;
}
.rkp-feed { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.rkp-feed code { padding: 2px 6px; background: var(--rkp-bg); border-radius: 3px; word-break: break-all; }

.rkp-notice p { margin: 0 0 12px; }
.rkp-notice p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
	.rkp-form { grid-template-columns: 1fr; }
	.rkp-card { padding: 16px; }
	.rkp-actions .rkp-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
	.rkp-btn { transition: background-color .15s ease; }
}

.rkp .rkp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
