/* Kaufseite – ergänzt /assets/css/styles.css (gleiche Schrift, Farben, Kartenstil wie .a_feature) */

.buy_section {
	min-height: calc(100vh - 6rem);
}

.buy_section h1 {
	padding-bottom: 0.5em;
}

.buy_lead {
	text-align: center;
	font-size: var(--fs-md);
	max-width: 24em;
	margin: 0 auto 3rem;
	opacity: .85;
}

.buy_steps {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 2.5rem 2vw;
	max-width: 1100px;
	margin: 0 auto;
}

.buy_card {
	position: relative;
	border: 1px solid var(--white);
	border-radius: 2rem;
	padding: 2.5rem 2rem 2rem;
	width: calc(50% - 1vw);
	min-width: 300px;
	flex: 1 1 360px;
	max-width: 520px;
}

.buy_card_wide {
	max-width: 720px;
}

.buy_card h3 {
	margin: 0;
	padding: 0 0 .75em;
	max-width: none;
}

.buy_card p {
	max-width: none;
	padding-bottom: .75em;
}

.step_no {
	position: absolute;
	top: -1rem;
	left: 2rem;
	width: 2rem;
	height: 2rem;
	line-height: 2rem;
	text-align: center;
	border-radius: 50%;
	background: var(--accnt_col);
	color: #333;
	font-weight: 600;
	font-size: var(--fs-base);
}

/* Upload */

.drop_zone {
	display: block;
	margin-top: 1rem;
	padding: 2rem 1rem;
	border: 1px dashed var(--white);
	border-radius: 1.25rem;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s ease-in-out;
}

.drop_zone:hover,
.drop_zone.is_over {
	background-color: rgba(255, 255, 255, .08);
}

.drop_zone input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.drop_zone:focus-within {
	outline: 2px solid var(--accnt_col);
	outline-offset: 3px;
}

.drop_text {
	font-size: var(--fs-base);
	line-height: 2;
}

.request_result {
	margin-top: 1rem;
	padding: 1.25rem 1.5rem;
	border-radius: 1.25rem;
	background: linear-gradient(to top, var(--accnt_col) 0%, white 100%);
	color: #222;
}

.request_result p {
	padding-bottom: .25em;
}

.result_label {
	font-size: var(--fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: .7;
}

.result_id {
	font-size: var(--fs-md);
	font-weight: 500;
	word-break: break-word;
}

.result_meta {
	font-size: var(--fs-sm);
}

.link_button {
	font: inherit;
	font-size: var(--fs-sm);
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* Preis und Zustimmung */

.price_box {
	padding: .5rem 0 1rem;
}

.price_gross {
	font-size: var(--fs-xl);
	font-weight: 500;
	line-height: 1.1;
	padding-bottom: .25em !important;
}

.price_detail {
	font-size: var(--fs-base);
	opacity: .85;
}

.buy_small,
.buy_small p {
	font-size: var(--fs-sm);
	opacity: .85;
}

.buy_center {
	text-align: center;
}

.buy_footnote {
	max-width: 40em;
	margin: 3rem auto 0;
}

.buy_small a,
.check_line a,
.buy_notice a,
.state_text a {
	text-decoration: underline;
}

.check_line {
	display: flex;
	gap: .75em;
	align-items: flex-start;
	font-size: var(--fs-base);
	margin: .75rem 0;
	cursor: pointer;
}

.check_line input {
	flex: none;
	width: 1.15em;
	height: 1.15em;
	margin-top: .25em;
	accent-color: var(--accnt_col);
}

.check_line span {
	line-height: 1.4;
}

.check_line a {
	text-decoration: underline;
}

.buy_button {
	font-family: inherit;
	cursor: pointer;
	margin: 1.5rem auto 1rem;
	width: 100%;
	max-width: 22ch;
}

a.buy_button {
	margin-top: 1rem;
}

.buy_button:disabled {
	opacity: .35;
	cursor: not-allowed;
}

.buy_button:disabled:hover {
	background-color: var(--white);
	color: #333;
}

.buy_msg {
	margin-top: 1rem;
	padding: .75em 1em !important;
	border-radius: 1rem;
	background: rgba(255, 80, 80, .18);
	border: 1px solid rgba(255, 120, 120, .6);
	font-size: var(--fs-base);
}

.buy_msg a {
	text-decoration: underline;
}

.buy_notice {
	max-width: 720px;
	margin: 0 auto 2.5rem;
	padding: 1rem 1.5rem;
	border-radius: 1.25rem;
	border: 1px solid var(--white);
	background: rgba(255, 255, 255, .08);
	text-align: center;
}

.buy_notice p {
	max-width: none;
}

/* Erfolgsseite */

.activate {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(229, 228, 221, .35);
}

.activate ol {
	max-width: none;
	padding-left: 1.25em;
}

.spinner {
	width: 2.5rem;
	height: 2.5rem;
	margin: 1rem auto;
	border: 3px solid rgba(229, 228, 221, .3);
	border-top-color: var(--accnt_col);
	border-radius: 50%;
	animation: pj_spin 1s linear infinite;
}

@keyframes pj_spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.spinner { animation-duration: 3s; }
}

@media (max-width: 700px) {
	.buy_card {
		width: 100%;
		min-width: 0;
		padding: 2.5rem 1.5rem 1.5rem;
	}
}
