/* PD Kartenzahlung – Formular. Schrift und Grundfarben kommen vom Theme. */

.pdkz {
	--pdkz-accent: #e30713;
	--pdkz-line: #d9d9d9;
	--pdkz-muted: #6b6b6b;
	--pdkz-bg-soft: #f6f6f6;
	max-width: 860px;
	margin: 0 auto;
}

.pdkz *,
.pdkz *::before,
.pdkz *::after {
	box-sizing: border-box;
}

.pdkz-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 1.25em;
}

.pdkz-title {
	margin: 0;
}

.pdkz-lang {
	display: inline-flex;
	margin-left: auto;
	border: 1px solid var(--pdkz-line);
	border-radius: 999px;
	padding: 3px;
	background: #fff;
	font-size: 14px;
	line-height: 1;
}

.pdkz .pdkz-lang a {
	display: block;
	padding: 7px 14px;
	border-radius: 999px;
	color: var(--pdkz-muted);
	text-decoration: none;
	font-weight: 600;
	box-shadow: none;
}

.pdkz .pdkz-lang a:hover,
.pdkz .pdkz-lang a:focus-visible {
	color: inherit;
}

.pdkz .pdkz-lang a.is-active {
	background: var(--pdkz-accent);
	color: #fff;
}

.pdkz-intro {
	margin-bottom: 1.5em;
}

.pdkz-form {
	margin: 0;
}

.pdkz-row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 8px 28px;
	align-items: start;
	margin-bottom: 16px;
}

.pdkz-label {
	padding-top: 10px;
	font-weight: 600;
	line-height: 1.35;
}

.pdkz-req {
	color: var(--pdkz-accent);
	margin-left: 2px;
}

.pdkz .pdkz-input {
	display: block;
	width: 100%;
	max-width: none;
	min-height: 44px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid var(--pdkz-line);
	border-radius: 3px;
	background: #fff;
	font: inherit;
	box-shadow: none;
	transition: border-color .15s ease;
}

.pdkz textarea.pdkz-input {
	min-height: 90px;
	resize: vertical;
}

.pdkz .pdkz-input:focus {
	border-color: var(--pdkz-accent);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pdkz-accent) 18%, transparent);
}

.pdkz .pdkz-input--amount {
	max-width: 220px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.pdkz-fixed {
	padding-top: 10px;
	font-weight: 600;
}

.pdkz-row.has-error .pdkz-input {
	border-color: #c62828;
}

.pdkz-error {
	margin: 6px 0 0;
	color: #c62828;
	font-size: .9em;
}

.pdkz-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding-top: 10px;
	font-weight: normal;
	cursor: pointer;
}

.pdkz-check input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--pdkz-accent);
}

.pdkz-check a {
	color: var(--pdkz-accent);
}

.pdkz-row--secure {
	margin-top: 28px;
}

.pdkz-row--secure .pdkz-label {
	justify-self: end;
	padding-top: 2px;
}

.pdkz-lock {
	display: block;
}

.pdkz-secure-title {
	margin: 0 0 .4em;
	font-size: 1.15em;
	font-weight: 600;
}

.pdkz-secure-text {
	margin: 0 0 .9em;
	color: var(--pdkz-muted);
	line-height: 1.6;
}

.pdkz-cards {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}

.pdkz-card {
	display: block;
	width: 64px;
	height: 40px;
	border: 1px solid var(--pdkz-line);
	border-radius: 4px;
	overflow: hidden;
}

.pdkz-card svg {
	display: block;
	width: 100%;
	height: 100%;
}

.pdkz .pdkz-button {
	display: inline-block;
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: 3px;
	background: var(--pdkz-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: filter .15s ease;
}

.pdkz .pdkz-button:hover,
.pdkz .pdkz-button:focus-visible {
	color: #fff;
	filter: brightness(.9);
}

.pdkz .pdkz-button:focus-visible {
	outline: 2px solid var(--pdkz-accent);
	outline-offset: 2px;
}

.pdkz .pdkz-button.is-busy {
	opacity: .65;
	cursor: progress;
}

.pdkz-powered {
	margin: 10px 0 0;
	color: var(--pdkz-muted);
	font-size: .8em;
}

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

.pdkz-notice {
	margin: 0 0 20px;
	padding: 12px 16px;
	border-left: 4px solid #dba617;
	background: var(--pdkz-bg-soft);
}

.pdkz-notice--error {
	border-left-color: #c62828;
}

/* Nach der Zahlung */

.pdkz-success {
	padding: 28px;
	border: 1px solid var(--pdkz-line);
	border-radius: 4px;
	background: #fff;
}

.pdkz-success-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: #2e7d32;
	color: #fff;
}

.pdkz-success-text {
	margin: 0 0 18px;
	font-size: 1.1em;
}

.pdkz-summary {
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: 6px 24px;
	margin: 0 0 24px;
}

.pdkz-summary dt {
	color: var(--pdkz-muted);
	font-weight: normal;
}

.pdkz-summary dd {
	margin: 0;
}

@media (max-width: 700px) {
	.pdkz-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.pdkz-label {
		padding-top: 0;
	}

	.pdkz-row--secure .pdkz-label {
		display: none;
	}

	.pdkz .pdkz-input--amount {
		max-width: none;
	}

	.pdkz .pdkz-button {
		width: 100%;
	}

	.pdkz-success {
		padding: 20px;
	}
}
