/* ==========================================================================
   Blitzschnell Replica — Content pages (Phase 8, tuju-pages)
   Scope: everything below is namespaced .bs-page* / .bs-* and only ever
   applies inside a content page rendered by inc/pages.php.
   Tokens taken from RECON-FINDINGS §10 (measured, not eyeballed).
   ========================================================================== */

.bs-page {
	--bs-yellow: #ffcc00;
	--bs-black: #000000;
	--bs-bg: #f2f2f2;
	--bs-band: #e9e9e9;
	--bs-card: #ffffff;
	--bs-muted: #9e9e9e;
	--bs-line: rgba(0, 0, 0, .1);
	--bs-radius: 20px;
	--bs-radius-sm: 15px;
	--bs-max: 1600px;

	font-family: Barlow, "Helvetica Neue", Arial, sans-serif;
	color: var(--bs-black);
	background: var(--bs-bg);
}

.bs-page * { box-sizing: border-box; }

/* Visually-hidden labels. Defined here rather than relying on the theme's
   style.css so the form is never rendered with duplicated visible labels
   sitting above their own placeholders. */
.bs-page .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.bs-page__inner {
	max-width: var(--bs-max);
	margin: 0 auto;
	padding: 20px 40px 60px;
}

@media (max-width: 850px)  { .bs-page__inner { padding: 16px 20px 40px; } }
@media (max-width: 478px)  { .bs-page__inner { padding: 12px 10px 30px; } }

/* ---------- Hero band -------------------------------------------------- */

.bs-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 305px;
	margin: 0 auto 24px;
	border-radius: var(--bs-radius);
	background-color: rgba(0, 0, 0, .45);
	background-blend-mode: multiply;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.bs-hero__title {
	margin: 0;
	padding: 30px 20px;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem);
}

@media (max-width: 850px) { .bs-hero { min-height: 220px; } }
@media (max-width: 478px) { .bs-hero { min-height: 170px; border-radius: var(--bs-radius-sm); } }

/* ---------- Generic section spacing ------------------------------------ */

.bs-section { margin: 0 0 20px; }
.bs-section:last-child { margin-bottom: 0; }

.bs-page h2.bs-h2 {
	margin: 0 0 8px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
}

.bs-page h3.bs-h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
}

.bs-lead { margin: 0 0 10px; font-size: 16px; line-height: 1.7; }
.bs-center { text-align: center; }

/* ---------- Intro band (Zahlungsarten pattern) ------------------------- */

.bs-intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
	padding: 30px;
	margin-bottom: 24px;
	background: var(--bs-band);
	border-radius: var(--bs-radius);
}

.bs-intro__title { margin: 0 0 14px; font-size: 36px; font-weight: 700; line-height: 1.2; }
.bs-intro__text  { margin: 0; font-size: 16px; line-height: 1.75; }

@media (max-width: 850px) { .bs-intro { grid-template-columns: 1fr; padding: 20px; } }

/* ---------- CTA card (image + overlay) --------------------------------- */

.bs-ctacard {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 200px;
	padding: 20px 30px;
	border-radius: var(--bs-radius);
	background-color: rgba(0, 0, 0, .58);
	background-blend-mode: multiply;
	background-size: cover;
	background-position: center center;
	color: #ffffff;
	text-decoration: none;
}

.bs-ctacard h3 { margin: 0; color: #ffffff; font-size: 21px; font-weight: 700; line-height: 1.35; }
.bs-ctacard span.bs-ctacard__link { font-weight: 600; font-size: 16px; }
.bs-ctacard:hover { color: #ffffff; }

/* ---------- Card grid --------------------------------------------------- */

.bs-grid { display: grid; gap: 20px; margin-bottom: 20px; }
.bs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bs-grid--flush { margin-bottom: 0; }
.bs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 992px) { .bs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 850px) { .bs-grid--2, .bs-grid--3 { grid-template-columns: 1fr; } }

.bs-card {
	padding: 25px 30px;
	background: var(--bs-card);
	border-radius: var(--bs-radius);
}

.bs-card__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.bs-card__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1.5px solid var(--bs-black);
	border-radius: 50%;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.bs-card__icon svg { width: 17px; height: 17px; fill: currentColor; }

.bs-card p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; }
.bs-card p:last-child { margin-bottom: 0; }
.bs-card__sub { margin: 0 0 6px; font-size: 16px; font-weight: 700; }

@media (max-width: 478px) { .bs-card { padding: 20px; } }

/* ---------- FAQ accordion ---------------------------------------------- */

.bs-faq { padding: 25px 30px; background: var(--bs-card); border-radius: var(--bs-radius); }

.bs-faq__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.bs-faq details {
	border-top: 1px solid var(--bs-line);
	padding: 0;
}
.bs-faq details:last-of-type { border-bottom: 1px solid var(--bs-line); }

.bs-faq summary {
	position: relative;
	display: block;
	list-style: none;
	cursor: pointer;
	padding: 16px 44px 16px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}
.bs-faq summary::-webkit-details-marker { display: none; }

.bs-faq summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 1.5px solid var(--bs-black);
	border-radius: 50%;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}
.bs-faq details[open] summary::after { content: "\2212"; }

.bs-faq__body { padding: 0 44px 18px 0; font-size: 16px; line-height: 1.75; }
.bs-faq__body p { margin: 0 0 10px; }
.bs-faq__body p:last-child { margin-bottom: 0; }

@media (max-width: 478px) { .bs-faq { padding: 20px; } }

/* ---------- Numbered steps (Zahlungsanleitung / Affiliate) -------------- */

.bs-steps { padding: 30px 40px; background: var(--bs-card); border-radius: 32px; }

.bs-step {
	display: grid;
	grid-template-columns: 62px 1fr;
	gap: 22px;
	align-items: center;
	padding: 18px 0;
}

.bs-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border: 1.5px solid var(--bs-black);
	border-radius: 50%;
	font-size: 26px;
	font-weight: 700;
}

.bs-step__title { margin: 0 0 6px; font-size: 21px; font-weight: 700; line-height: 1.3; }
.bs-step p { margin: 0 0 10px; font-size: 16px; line-height: 1.7; }
.bs-step p:last-child { margin-bottom: 0; }

@media (max-width: 478px) {
	.bs-steps { padding: 20px; border-radius: var(--bs-radius); }
	.bs-step { grid-template-columns: 48px 1fr; gap: 14px; }
	.bs-step__num { width: 48px; height: 48px; font-size: 20px; }
}

/* Affiliate variant: numbered step in its own white card */
.bs-stepcard { padding: 22px 26px; background: var(--bs-card); border-radius: var(--bs-radius); margin-bottom: 20px; }
.bs-stepcard .bs-card__head { margin-bottom: 10px; }
.bs-stepcard .bs-card__icon { width: 34px; height: 34px; font-size: 16px; }

/* ---------- Buttons / pills -------------------------------------------- */

.bs-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 20px;
	border: 0;
	border-radius: var(--bs-radius-sm);
	background: var(--bs-black);
	color: #ffffff !important;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .2s ease;
}
.bs-btn:hover { opacity: .85; color: #ffffff; }
.bs-btn--round { border-radius: var(--bs-radius); }
.bs-btn--light { background: #ffffff; color: #000000 !important; }

.bs-pillrow { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-bottom: 24px; }

.bs-pill {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 280px;
	padding: 12px 22px;
	border-radius: 30px;
	background: var(--bs-black);
	color: #ffffff !important;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}
.bs-pill:hover { opacity: .85; }
.bs-pill svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 478px) { .bs-pill { min-width: 0; width: 100%; justify-content: center; } }

/* ---------- Split layout (contact / consultation / affiliate) ----------- */

.bs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 850px) { .bs-split { grid-template-columns: 1fr; } }

.bs-split__col > .bs-card { margin-bottom: 20px; }
.bs-split__col > .bs-card:last-child { margin-bottom: 0; }

/* ---------- Forms ------------------------------------------------------- */

.bs-formcard {
	padding: 40px 40px 30px;
	background: var(--bs-card);
	border-radius: var(--bs-radius);
	text-align: center;
}
.bs-formcard__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	border: 1.5px solid var(--bs-black);
	border-radius: 50%;
}
.bs-formcard__icon svg { width: 20px; height: 20px; fill: currentColor; }
.bs-formcard h2 { margin: 0 0 12px; font-size: 36px; font-weight: 700; line-height: 1.2; }
.bs-formcard > p { margin: 0 auto 22px; max-width: 640px; font-size: 16px; line-height: 1.7; }

@media (max-width: 478px) { .bs-formcard { padding: 22px 16px; } }

.bs-form { text-align: left; }
.bs-form__legend {
	display: block;
	margin: 18px 0 10px;
	font-size: 21px;
	font-weight: 700;
	text-align: center;
}
.bs-form__row { margin-bottom: 12px; }

.bs-form input[type="text"],
.bs-form input[type="email"],
.bs-form input[type="number"],
.bs-form select,
.bs-form textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid transparent;
	border-radius: var(--bs-radius);
	background: #eeeeee;
	color: #000000;
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	appearance: none;
}
.bs-form textarea { min-height: 110px; resize: vertical; }
.bs-form input:focus, .bs-form select:focus, .bs-form textarea:focus {
	outline: none;
	border-color: #000000;
}
.bs-form ::placeholder { color: #7a7a7a; font-weight: 500; }

.bs-form select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 285 285'><path d='M282 76.5l-14.2-14.3a9 9 0 0 0-13.1 0L142.5 174.4 30.3 62.2a9 9 0 0 0-13.2 0L3 76.5a9 9 0 0 0 0 13.1l133 133a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' fill='%23666'/></svg>");
	background-repeat: no-repeat;
	background-position: right 18px center;
	padding-right: 44px;
}

.bs-form__options { list-style: none; margin: 0; padding: 0; }
.bs-form__options li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; font-size: 16px; }
.bs-form__options input { margin-top: 4px; }

.bs-form__submit { margin-top: 22px; text-align: center; }

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

.bs-notice {
	margin: 0 0 18px;
	padding: 14px 18px;
	border-radius: var(--bs-radius-sm);
	font-size: 16px;
	font-weight: 600;
	text-align: left;
}
.bs-notice--ok    { background: #e5f6e5; border: 1px solid #47a447; color: #14521a; }
.bs-notice--error { background: #fdecec; border: 1px solid #ff1414; color: #8a1010; }

/* ---------- Image gallery ---------------------------------------------- */

.bs-imggrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bs-imggrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bs-imggrid img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--bs-radius); }
@media (max-width: 850px) { .bs-imggrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 478px) { .bs-imggrid, .bs-imggrid--4 { grid-template-columns: 1fr; } }

/* ---------- Price table (pricelist) ------------------------------------ */

.bs-pricecard { padding: 25px 30px; background: var(--bs-card); border-radius: var(--bs-radius); margin-bottom: 20px; overflow-x: auto; }
.bs-pricecard h2 { margin: 0 0 16px; font-size: 28px; font-weight: 700; }

.bs-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.bs-table th, .bs-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--bs-line); }
.bs-table th { font-weight: 700; white-space: nowrap; }
.bs-table td + td, .bs-table th + th { text-align: right; white-space: nowrap; }
.bs-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Promo banners (blog / start) -------------------------------- */

.bs-promo { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 24px; }
@media (max-width: 850px) { .bs-promo { grid-template-columns: 1fr; } }
.bs-promo__side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }

.bs-banner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 250px;
	padding: 25px 30px;
	border-radius: 32px;
	background-color: rgba(0, 0, 0, .42);
	background-blend-mode: multiply;
	background-size: cover;
	background-position: center center;
	color: #ffffff;
}
.bs-banner--tall { min-height: 520px; }
.bs-banner h1, .bs-banner h2, .bs-banner h3 {
	margin: 0 0 16px;
	color: #ffffff;
	font-weight: 700;
	line-height: 1.15;
}
.bs-banner h1 { font-size: clamp(1.8rem, 1rem + 2.2vw, 2.75rem); }
.bs-banner h2 { font-size: clamp(1.35rem, .9rem + 1.3vw, 1.9rem); }
.bs-banner p  { margin: 0 0 16px; color: #ffffff; font-size: 16px; line-height: 1.6; }
.bs-banner__cta { align-self: flex-start; }
.bs-banner--center { align-items: center; justify-content: center; text-align: center; }
.bs-banner--center .bs-banner__cta { align-self: center; }

@media (max-width: 850px) {
	.bs-banner { min-height: 220px; border-radius: var(--bs-radius); }
	.bs-banner--tall { min-height: 300px; }
}

/* Feature bullet list on dark banners */
.bs-banner ul { margin: 0 0 16px; padding-left: 18px; }
.bs-banner li { margin-bottom: 4px; font-size: 15px; line-height: 1.5; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Background utilities ---------------------------------------
   Page-image backgrounds live here as classes rather than inline styles:
   wp_kses_post() entity-escapes quotes inside a stored style attribute, which
   silently breaks any shortcode used there. URLs are relative to this file
   (assets/css/ -> ../img/pages/), so they stay portable across domains.
   ---------------------------------------------------------------------- */

.bs-bg-affiliate  { background-image: url("../img/pages/Affiliate-Program.webp"); }
.bs-bg-stacks     { background-image: url("../img/pages/Testosteron-Stacks-guenstig-kaufen-online.webp"); }
.bs-bg-guides     { background-image: url("../img/pages/Steroid-Guides-Info-Blog.webp"); }
.bs-bg-preise     { background-image: url("../img/pages/Preise-Reduziert-Banner.webp"); }
.bs-bg-labor      { background-image: url("../img/pages/Hero-Laborgetestete-Steroide-Testosterone.webp"); }
.bs-bg-beachbody  { background-image: url("../img/pages/Ready-fur-den-beachbody.webp"); }

/* ---------- Trust strip (start page) ------------------------------------ */

.bs-trust { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 24px 0 4px; }
.bs-trust span {
	padding: 10px 18px;
	border-radius: var(--bs-radius-sm);
	background: #ffffff;
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Legal pages -------------------------------------------------- */

.bs-legal { padding: 34px 44px; background: var(--bs-card); border-radius: var(--bs-radius); }
.bs-legal h2 { margin: 30px 0 10px; font-size: 26px; font-weight: 700; line-height: 1.25; }
.bs-legal h2:first-child { margin-top: 0; }
.bs-legal h3 { margin: 20px 0 8px; font-size: 19px; font-weight: 700; }
.bs-legal p, .bs-legal li { font-size: 16px; line-height: 1.75; }
.bs-legal p { margin: 0 0 12px; }
.bs-legal ul, .bs-legal ol { margin: 0 0 14px; padding-left: 22px; }
.bs-legal address { font-style: normal; margin: 0 0 14px; line-height: 1.8; }

@media (max-width: 478px) { .bs-legal { padding: 20px; } }

/* The unmissable "a lawyer has not seen this yet" marker. */
.bs-legal-warn {
	margin: 0 0 26px;
	padding: 18px 22px;
	border: 2px solid #ff1414;
	border-left-width: 8px;
	border-radius: var(--bs-radius-sm);
	background: #fff5f5;
	font-size: 16px;
	line-height: 1.7;
}
.bs-legal-warn strong { display: block; margin-bottom: 6px; font-size: 17px; text-transform: uppercase; }

.bs-todo {
	display: inline-block;
	padding: 2px 8px;
	border: 1px dashed #ff1414;
	border-radius: 6px;
	background: #fff0f0;
	color: #b00000;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
	font-weight: 700;
	white-space: normal;
}

/* Footer legal row — emitted by bs_pages_legal_links(). Lives here (not in the
   footer owner's CSS) so the footer template only needs the one PHP call.
   Deliberately NOT scoped to .bs-page: it renders sitewide. */
.bs-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	justify-content: center;
	padding: 16px 20px;
	font-family: Barlow, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	font-weight: 500;
}
.bs-footer-legal a { color: inherit; text-decoration: none; }
.bs-footer-legal a:hover { text-decoration: underline; }

/* ---------- Empty (stub) pages ------------------------------------------ */

.bs-page--empty .bs-page__inner { min-height: 220px; }
.bs-stub { padding: 40px; background: var(--bs-card); border-radius: var(--bs-radius); }
.bs-stub h1 { margin: 0; font-size: 36px; font-weight: 700; }

/* ---------- Woo product shortcode inside a content page ----------------- */

.bs-page .woocommerce ul.products { margin: 0; padding: 0; }
.bs-productblock { margin: 0 0 24px; }
.bs-productblock > h2 { margin: 0 0 6px; font-size: 36px; font-weight: 700; text-align: center; }
.bs-productblock > p  { margin: 0 auto 20px; max-width: 900px; text-align: center; font-size: 16px; line-height: 1.6; }
.bs-productblock__cta { text-align: center; margin-top: 10px; }
