/* SIEMON ZP8-Abfrage. Farben über CSS-Variablen im Theme überschreibbar. */
.szp8 {
	--szp8-accent: #0e3a2f;
	--szp8-accent-light: #78faae;
	--szp8-border: #d9dde1;
	--szp8-muted: #5f6b76;
	--szp8-bg: #f5f7f8;
	--szp8-error: #b3261e;
	max-width: 640px;
	margin: 0 auto 2rem;
	font-size: 16px;
	line-height: 1.5;
}
.szp8 *,
.szp8 *::before,
.szp8 *::after { box-sizing: border-box; }

.szp8__title { margin: 0 0 .5rem; }
.szp8__intro { margin: 0 0 1.25rem; color: var(--szp8-muted); }

.szp8__form {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: flex-end;
}
.szp8__field { display: flex; flex-direction: column; flex: 1 1 180px; }
.szp8__field label { font-weight: 600; font-size: .875rem; margin-bottom: .25rem; }
.szp8__field input {
	width: 100%;
	padding: .7rem .85rem;
	font-size: 1.05rem;
	border: 1px solid var(--szp8-border);
	border-radius: 6px;
	background: #fff;
	letter-spacing: .05em;
}
.szp8__field input:focus { outline: 2px solid var(--szp8-accent); outline-offset: 1px; border-color: var(--szp8-accent); }

.szp8__button {
	flex: 0 0 auto;
	padding: .75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	background: var(--szp8-accent);
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}
.szp8__button:hover { filter: brightness(1.15); }
.szp8__button:disabled { opacity: .6; cursor: wait; }

.szp8__help { margin: .5rem 0 0; font-size: .85rem; color: var(--szp8-muted); }

.szp8__result { margin-top: 1.5rem; }
.szp8__msg { padding: .9rem 1rem; border-radius: 6px; background: var(--szp8-bg); }
.szp8__msg--error { background: #fdecea; color: var(--szp8-error); }

.szp8__card { border: 1px solid var(--szp8-border); border-radius: 10px; overflow: hidden; background: #fff; }
.szp8__head { display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.25rem; background: var(--szp8-bg); }
.szp8__nr { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--szp8-muted); }
.szp8__model { font-weight: 600; }

.szp8__zp8 { padding: 1.25rem; border-bottom: 1px solid var(--szp8-border); }
.szp8__zp8-label { font-size: .875rem; color: var(--szp8-muted); }
.szp8__zp8-value { font-size: 1.6rem; font-weight: 700; color: var(--szp8-accent); line-height: 1.25; }
.szp8__zp8-note { margin-top: .35rem; font-size: .9rem; }

.szp8__status { padding: 1.25rem; }
.szp8__status-label { font-weight: 600; }
.szp8__status-text { margin-top: .2rem; color: var(--szp8-muted); }

.szp8__steps {
	display: flex;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: szp8;
}
.szp8__step {
	position: relative;
	flex: 1;
	padding-top: 1.6rem;
	font-size: .75rem;
	text-align: center;
	color: var(--szp8-muted);
}
.szp8__step::before {
	content: "";
	position: absolute;
	top: .35rem;
	left: 50%;
	width: .9rem;
	height: .9rem;
	margin-left: -.45rem;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--szp8-border);
	z-index: 1;
}
.szp8__step::after {
	content: "";
	position: absolute;
	top: .73rem;
	left: -50%;
	width: 100%;
	height: 2px;
	background: var(--szp8-border);
}
.szp8__step:first-child::after { display: none; }
.szp8__step.is-done::before,
.szp8__step.is-current::before { background: var(--szp8-accent); border-color: var(--szp8-accent); }
.szp8__step.is-done::after,
.szp8__step.is-current::after { background: var(--szp8-accent); }
.szp8__step.is-current { color: var(--szp8-accent); font-weight: 700; }
.szp8__step.is-current::before { box-shadow: 0 0 0 4px var(--szp8-accent-light); }

.szp8__hint,
.szp8__stand { margin: 0; padding: 0 1.25rem 1rem; font-size: .8rem; color: var(--szp8-muted); }
.szp8__hint { padding-top: .25rem; }
.szp8__intro,
.szp8__hint,
.szp8__msg,
.szp8__status-text,
.szp8__zp8-note { white-space: pre-line; }

@media (max-width: 480px) {
	.szp8__button { width: 100%; }
	.szp8__step { font-size: .65rem; }
	.szp8__zp8-value { font-size: 1.3rem; }
}
