/* BergerPIGEONS Kundengeschichten – ergänzt das Theme, nutzt dessen Variablen. */

.bpt {
	--bpt-blue: var(--blue_dark, #00669A);
	--bpt-red: var(--red, #D9002A);
	--bpt-bg: var(--white, #F5F5F5);
	--bpt-grey: var(--grey, #555);
	--bpt-line: #c9ccd6;
	max-width: 52rem;
	margin: 0 auto;
	padding: 2rem 0 4rem;
	font-family: var(--font-family, 'Exo2', sans-serif);
	color: var(--black, #000);
}

.bpt-eyebrow {
	color: var(--bpt-blue);
	margin-bottom: .25rem;
}

.bpt-title {
	background: var(--main-gradient, linear-gradient(90deg, #2FA5E1 0%, #00669A 61.06%, #014466 99%));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 1rem;
	overflow-wrap: anywhere;
}

.bpt-lead {
	margin-bottom: 1rem;
}

.bpt-facts {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.bpt-facts li {
	position: relative;
	padding-left: 1.75rem;
	margin-bottom: .5rem;
}

.bpt-facts li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: .9rem;
	height: .9rem;
	border-radius: 50%;
	background: var(--main-gradient, #00669A);
}

.bpt-section {
	background: var(--bpt-bg);
	border: 0;
	border-radius: 10px;
	padding: 1.5rem;
	margin: 0 0 1.5rem;
	min-width: 0;
}

.bpt-section > legend {
	float: left;
	width: 100%;
	margin-bottom: 1rem;
	padding: 0;
}

.bpt-section > legend + * {
	clear: left;
}

.bpt-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

@media (max-width: 575px) {
	.bpt-section {
		padding: 1rem;
	}

	.bpt-row {
		grid-template-columns: 1fr;
	}
}

.bpt-field {
	margin-bottom: 1.25rem;
	border: 0;
	padding: 0;
	min-width: 0;
}

.bpt-field > label,
.bpt-field > legend {
	display: block;
	font-weight: 600;
	margin-bottom: .35rem;
}

.bpt .form-control {
	display: block;
	width: 100%;
	min-height: 3rem;
	padding: .65rem .9rem;
	font: inherit;
	font-size: 1rem;
	border: 1px solid var(--bpt-line);
	border-radius: 10px;
	background: #fff;
}

.bpt textarea.form-control {
	min-height: 12rem;
	resize: vertical;
}

.bpt .form-control[aria-invalid="true"] {
	border-color: var(--bpt-red);
}

.bpt :focus-visible,
.bpt .form-control:focus {
	outline: 3px solid var(--bpt-blue);
	outline-offset: 2px;
	box-shadow: none;
}

.bpt-req,
.bpt-opt {
	font-weight: 400;
	color: var(--bpt-grey);
	font-size: .9em;
}

.bpt-hint {
	color: var(--bpt-grey);
	font-size: .95rem;
	margin: 0 0 .5rem;
}

.bpt-error {
	color: var(--bpt-red);
	font-weight: 600;
	margin: .35rem 0 0;
}

.bpt-questions {
	background: #fff;
	border-radius: 10px;
	padding: .75rem 1rem;
	margin-bottom: 1.25rem;
}

.bpt-questions summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--bpt-blue);
}

.bpt-questions ul {
	margin: .75rem 0 .5rem;
	padding-left: 1.25rem;
}

.bpt .form-check {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	margin-bottom: .6rem;
	padding-left: 0;
}

.bpt .form-check-input {
	flex: 0 0 auto;
	border: 2px solid var(--light-grey, #8f92a1);
	width: 1.35rem;
	height: 1.35rem;
	margin: .15rem 0 0;
	float: none;
	accent-color: var(--bpt-blue);
}

/* Weiß nur im leeren Zustand – sonst verdeckt es die Füllung samt weißem Häkchen. */
.bpt .form-check-input:not(:checked) {
	background-color: #fff;
}

.bpt .form-check-input:checked {
	background-color: var(--bpt-blue);
	border-color: var(--bpt-blue);
}

.bpt-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
	gap: 0 1rem;
}

.bpt-consent .bpt-error {
	flex-basis: 100%;
}

.bpt-consent {
	flex-wrap: wrap;
}

.bpt-consent .form-check-label {
	flex: 1 1 0;
}

.bpt-draft {
	border-left: 4px solid var(--yellow, #F18825);
	background: #fff;
	padding: .5rem .75rem;
	font-size: .9rem;
	margin: .75rem 0 0;
}

.bpt-upload-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
}

.bpt-file {
	max-width: 100%;
	font: inherit;
}

/* Das Theme gestaltet jeden <button> als großen Verlaufsknopf; hier gezielt zurücknehmen. */
.bpt .bpt-btn-secondary,
.bpt .bpt-remove {
	background: #fff !important;
	color: var(--bpt-blue) !important;
	border: 2px solid var(--bpt-blue) !important;
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1.5 !important;
	font-weight: 600;
	padding: .45rem .9rem;
	cursor: pointer;
}

.bpt .bpt-btn-secondary[aria-pressed="true"] {
	background: var(--bpt-red) !important;
	border-color: var(--bpt-red);
	color: #fff !important;
}

.bpt .bpt-remove {
	font-size: .9rem;
	padding: .25rem .7rem;
}

.bpt-timer {
	margin-left: .4rem;
	font-variant-numeric: tabular-nums;
}

.bpt-files {
	list-style: none;
	padding: 0;
	margin: .75rem 0 0;
}

.bpt-files li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .25rem .75rem;
	align-items: center;
	background: #fff;
	border-radius: 10px;
	padding: .6rem .8rem;
	margin-bottom: .5rem;
}

.bpt-file-name {
	overflow-wrap: anywhere;
	font-weight: 600;
}

.bpt-file-meta {
	grid-column: 1 / -1;
	color: var(--bpt-grey);
	font-size: .9rem;
}

.bpt-files progress {
	grid-column: 1 / -1;
	width: 100%;
	height: .6rem;
	accent-color: var(--bpt-blue);
}

.bpt-files li.is-error {
	outline: 2px solid var(--bpt-red);
}

.bpt-files li.is-error .bpt-file-meta {
	color: var(--bpt-red);
	font-weight: 600;
}

.bpt-files li.is-done .bpt-file-meta {
	color: var(--green, #00a983);
	font-weight: 600;
}

.bpt-summary {
	border: 2px solid var(--bpt-red);
	border-radius: 10px;
	background: #fff;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
}

.bpt-summary ul {
	margin: .5rem 0 0;
	padding-left: 1.25rem;
}

.bpt-summary a {
	color: var(--bpt-red);
}

.bpt-notice {
	border-radius: 10px;
	background: var(--bpt-bg);
	border-left: 4px solid var(--bpt-blue);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
}

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

.bpt-submit {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.bpt .bpt-submit-btn {
	background: var(--bpt-red) !important;
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	padding: .75rem 1.75rem;
	font-weight: 700;
}

.bpt .bpt-submit-btn[disabled] {
	opacity: .65;
	cursor: wait;
}

.bpt-status {
	margin: 0;
	color: var(--bpt-grey);
}

.bpt-ref strong {
	white-space: nowrap;
}

.bpt-ref {
	font-size: 1.25rem;
	background: var(--bpt-bg);
	border-radius: 10px;
	padding: 1rem 1.25rem;
	display: inline-block;
}

.bpt-thanks p {
	margin-bottom: 1rem;
}

.bpt-actions {
	margin-top: 2rem;
}

.bpt-actions .btn-primary {
	display: inline-block;
}

.bpt-optional-note {
	font-weight: 600;
	color: var(--bpt-blue);
	margin-bottom: .5rem;
}

/* Screenshot einfügen */
.bpt-paste-wrap {
	margin-top: 1rem;
}

.bpt-paste-title {
	font-weight: 600;
	margin: 0 0 .35rem;
}

.bpt-paste {
	min-height: 4.5rem;
	border: 2px dashed var(--bpt-line);
	border-radius: 10px;
	background: #fff;
	cursor: text;
	caret-color: transparent;
}

.bpt-paste:focus {
	border-color: var(--bpt-blue);
	background: #eef6fb;
}

.bpt-paste:empty::before {
	content: "Hier klicken und einfügen";
	display: block;
	padding: 1.4rem 1rem;
	color: var(--bpt-grey);
	text-align: center;
}

.bpt-paste-preview {
	background: #fff;
	border-radius: 10px;
	padding: .75rem;
	margin-top: .75rem;
}

.bpt-paste-preview img {
	display: block;
	max-width: 100%;
	max-height: 18rem;
	border: 1px solid var(--bpt-line);
	border-radius: 6px;
	margin-bottom: .5rem;
}

/* Das Theme (Bootstrap) setzt kbd auf weiße Schrift – ohne eigene Farbe wäre sie auf weißem Grund unsichtbar. */
.bpt kbd {
	font: inherit;
	font-weight: 600;
	color: var(--black, #000);
	border: 1px solid var(--bpt-line);
	border-radius: 4px;
	padding: 0 .3rem;
	background: #fff;
}

.bpt-link-home {
	margin-left: 1.25rem;
}

/* Prüfseite und Vorschau der Geschichte */
.bpt-review-meta {
	margin: .25rem 0 0;
	color: var(--bpt-grey);
	font-size: .95rem;
}

.bpt-story-preview {
	background: #fff;
	border: 1px solid var(--bpt-line);
	border-radius: 10px;
	padding: 1.5rem;
	margin: 0 0 1.5rem;
}

.bpt-story-byline {
	color: var(--bpt-grey);
	margin-bottom: 1rem;
}

.bpt-story-preview h3 {
	margin: 1.5rem 0 .5rem;
}

.bpt-story-media {
	margin: 1rem 0;
}

.bpt-story-media img,
.bpt-story-media video {
	display: block;
	max-width: 100%;
	max-height: 28rem;
	border-radius: 10px;
}

.bpt-story-quote {
	border-left: 4px solid var(--bpt-blue);
	margin: 1.5rem 0;
	padding: .5rem 1rem;
	font-style: italic;
}

.bpt-story-quote footer {
	font-style: normal;
	color: var(--bpt-grey);
}

.bpt-story-faq dt {
	font-weight: 600;
	margin-top: .75rem;
}

.bpt-story-faq dd {
	margin: .25rem 0 0;
}

.bpt-review .bpt-section h2 {
	margin-bottom: 1rem;
}

@media (max-width: 575px) {
	.bpt-story-preview {
		padding: 1rem;
	}
}

.bpt-story-seo {
	border-top: 1px solid var(--bpt-line);
	margin-top: 1.5rem;
	padding-top: 1rem;
	font-size: .95rem;
}

.bpt-story-seo-title {
	color: var(--bpt-blue);
	font-weight: 600;
	margin-bottom: .25rem;
}

/* 0.3.0: Freigabe mit einem Klick */
.bpt-review .bpt-confirm-list { margin: .5em 0 1em 1.2em; padding: 0; }
.bpt-review .bpt-confirm-list li { margin: .35em 0; }

/* 0.3.0: Stories-Übersicht */


.bpt-stories-cta { margin: 2.5rem 0 1rem; padding: 1.5rem; background: #f4f6f8; border-radius: 8px; text-align: center; }
.bpt-stories-cta p { max-width: 60ch; margin: .75rem auto 1.25rem; }
.bpt-stories { max-width: 72rem; margin: 0 auto; padding: 2rem 1rem 3rem; }
.bpt-stories-head { max-width: 52rem; margin: 0 0 2rem; }

/* Übrige Bilder, wenn es mehr Bilder als Absätze gibt */
.bpt-story-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
	gap: 0.75rem;
	margin: 1rem 0;
}

.bpt-story-gallery .bpt-story-media {
	margin: 0;
}

/* Drei Felder nebeneinander: Verein, RV, Regionalverband */
@media (min-width: 768px) {
	.bpt-row.bpt-row-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}
