/* Rezept-Widget */

.hz-prescription { background: var(--hz-sand); position: relative; }

.hz-rx-head { text-align: center; margin-bottom: 3rem; }
.hz-rx-head .hz-sec-sub { margin: 0 auto; }

.hz-rx-layout {
	display: grid;
	grid-template-columns: .7fr 1.4fr;
	gap: 5rem;
	align-items: start;
	max-width: 1400px;
	margin: 0 auto;
}

/* Steps */
.hz-rx-steps { padding: .4rem .4rem 0 0; }
.hz-rx-steps h3 {
	font-size: 1.05rem; color: var(--hz-c3);
	margin-bottom: 1.5rem; font-weight: 600;
}
.hz-rx-step { display: flex; gap: 1rem; margin-bottom: 1.4rem; position: relative; }
.hz-rx-step:not(:last-of-type)::after {
	content: ''; position: absolute;
	left: 17px; top: 40px; bottom: -1.2rem;
	width: 2px; background: var(--hz-border);
}
.hz-rx-step-num {
	flex-shrink: 0; width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--hz-c1); color: var(--hz-white);
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: .95rem;
	position: relative; z-index: 1;
}
.hz-rx-step-body h4 {
	font-size: .98rem; color: var(--hz-c3); font-weight: 600;
	margin-bottom: .25rem; margin-top: .3rem;
}
.hz-rx-step-body p { font-size: .92rem; color: var(--hz-muted); margin: 0; line-height: 1.6; }

.hz-rx-notice {
	margin-top: 1.8rem;
	padding: 1rem 1.2rem;
	background: rgba(192, 57, 43, .06);
	border-left: 3px solid var(--hz-red);
	border-radius: var(--hz-radius-sm);
}
.hz-rx-notice strong {
	display: block; font-size: .85rem; color: var(--hz-red);
	font-weight: 700; margin-bottom: .3rem;
	letter-spacing: .04em; text-transform: uppercase;
}
.hz-rx-notice p { font-size: .9rem; color: var(--hz-text); margin: 0; line-height: 1.55; }

/* Form */
.hz-rx-form {
	background: var(--hz-white);
	border-radius: var(--hz-radius-lg);
	padding: var(--hz-card-pad);
	box-shadow: var(--hz-shadow-lg);
	border: 1px solid var(--hz-border);
}

.hz-rx-row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem;
}

.hz-rx-field { grid-column: span 12; }
.hz-rx-col-6 { grid-column: span 6; }
.hz-rx-col-12 { grid-column: span 12; }

.hz-rx-form label {
	font-size: .92rem; font-weight: 600; color: var(--hz-c3);
	margin-bottom: .3rem; display: block;
}

.hz-rx-form input[type="text"],
.hz-rx-form input[type="tel"],
.hz-rx-form input[type="date"],
.hz-rx-form textarea,
.hz-rx-form select {
	width: 100%;
	border: 1.5px solid rgba(51, 102, 153, .1);
	border-radius: var(--hz-radius-sm);
	padding: .72rem 1rem;
	font-family: inherit;
	font-size: .95rem;
	color: var(--hz-text);
	transition: border-color .2s, box-shadow .2s;
	background: var(--hz-white);
	font-weight: 400;
}
.hz-rx-form input:focus,
.hz-rx-form textarea:focus,
.hz-rx-form select:focus {
	outline: none;
	border-color: var(--hz-c1);
	box-shadow: 0 0 0 3px var(--hz-c1-05);
}
.hz-rx-form textarea { resize: vertical; min-height: 88px; }

/* Unterblock: Checkbox, Button, Feedback mit einheitlichem Abstand (1rem,
   identisch zum Grid-Gap der Formularfelder darüber). */
.hz-rx-submit {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.hz-rx-submit > .hz-btn-fill { align-self: flex-start; margin-top: 0; }

.hz-rx-privacy {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: .8rem;
	padding: .85rem 1rem;
	background: var(--hz-sand);
	border-radius: var(--hz-radius);
	border: 1px solid var(--hz-border);
	font-weight: 400 !important;
	font-size: .9rem;
	color: var(--hz-text);
	line-height: 1.5;
	cursor: pointer;
	margin: 0;
	transition: border-color .2s, background .2s;
}
.hz-rx-privacy:hover { border-color: rgba(51, 102, 153, .25); }

/* Custom-Checkbox – ersetzt das native Browser-Styling. */
.hz-rx-privacy > input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px !important; height: 20px;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	border: 1.5px solid rgba(51, 102, 153, .3);
	border-radius: 4px;
	background: var(--hz-white);
	cursor: pointer;
	position: relative;
	transition: border-color .2s, background .2s;
	/* vertikal zur ersten Textzeile ausrichten (line-height 1.5 * .9rem ≈ 21.6px) */
	margin-top: 1px;
}
.hz-rx-privacy > input[type="checkbox"]:hover { border-color: var(--hz-c1); }
.hz-rx-privacy > input[type="checkbox"]:checked {
	background: var(--hz-c1);
	border-color: var(--hz-c1);
}
.hz-rx-privacy > input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 5px; top: 1px;
	width: 6px; height: 11px;
	border: solid var(--hz-white);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.hz-rx-privacy > span {
	flex: 1 1 auto;
	min-width: 0;
	display: inline-block;
}
.hz-rx-privacy a {
	color: var(--hz-c1);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .2s, text-decoration-color .2s;
}
.hz-rx-privacy a:hover,
.hz-rx-privacy a:focus-visible {
	color: var(--hz-c3);
	text-decoration-color: var(--hz-c3);
}

/* Honeypot */
.hz-rx-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.hz-rx-feedback {
	font-size: .95rem;
	min-height: 1.5rem;
	margin: 0;
}
.hz-rx-feedback.is-ok  { color: var(--hz-green); font-weight: 500; }
.hz-rx-feedback.is-err { color: var(--hz-red); font-weight: 500; }

/* Responsive */
@media (max-width: 991px) {
	.hz-rx-layout { grid-template-columns: 1fr; gap: 2.5rem; max-width: 640px; }
	.hz-rx-steps { padding: 0; }
	.hz-rx-steps h3 { text-align: center; }
	.hz-rx-head { text-align: center; }
}

@media (max-width: 767px) {
	.hz-rx-form { padding: 1.8rem; }
	.hz-rx-col-6 { grid-column: span 12; }
	.hz-rx-privacy {
		gap: .65rem;
		padding: .75rem .85rem;
		font-size: .85rem;
	}
}
