/* =========================================================================
   LADUTI Conversion – Designsystem V1
   Gekapselt: wirkt nur auf body.ldc-page (Startseite V2) und body.ldc-pdp
   (Haarserum-Produktseite) bzw. auf .ldc-* Komponenten.
   ========================================================================= */

body.ldc-page,
body.ldc-pdp {
	--ldc-ink: #111318;
	--ldc-ink-2: #50555f;
	--ldc-ink-3: #6b7079;
	--ldc-line: #e6e6ea;
	--ldc-panel: #f5f5f7; /* = Hintergrund der Original-Produktfotos */
	--ldc-bg: #ffffff;
	--ldc-accent: #1f68ea; /* Markenblau, minimal abgedunkelt für WCAG AA (≥ 4,5:1) */
	--ldc-accent-hover: #1757cc;
	--ldc-star: #e3a02f;
	--ldc-radius: 22px;
	--ldc-radius-sm: 14px;
	--ldc-wrap: 1120px;
	--ldc-gutter: 20px;
	--ldc-sec: clamp(56px, 10vw, 112px);
}

/* WordPress-Flow-Layout setzt automatisch margin-block-start auf Kind-Elemente;
   innerhalb der Komponenten steuern wir Abstände selbst (Specificity bewusst niedrig). */
:where(.ldc-section, .ldc-story) .is-layout-flow > * {
	margin-block-start: 0;
}

/* Blocksy setzt auf verschachtelte Blöcke zusätzlich margin-bottom (Content-Spacing) – in Komponenten selbst steuern. */
:where(.ldc-section, .ldc-story) :is(.wp-block-group, .wp-block-buttons, .wp-block-image, .ldc-press, .ldc-reviews, .ldc-choices, .ldc-compare, .ldc-video) {
	margin-block-end: 0;
}

/* ---------- Seitenrahmen Startseite V2 ---------- */
.ldc-page .entry-content > .ldc-section,
.ldc-page .entry-content > .wp-block-group.ldc-section {
	margin-block: 0;
}

.ldc-page .site-main > .ct-container-full,
.ldc-page .site-main .ct-container-full {
	padding-top: 0;
	padding-bottom: 0;
}

.ldc-section {
	padding: var(--ldc-sec) var(--ldc-gutter);
	color: var(--ldc-ink);
}

.ldc-section.is-panel {
	background: var(--ldc-panel);
}

.ldc-wrap {
	width: 100%;
	max-width: var(--ldc-wrap);
	margin-inline: auto;
}

.ldc-wrap.is-narrow {
	max-width: 760px;
}

.ldc-section :where(p, h1, h2, h3, ul, ol, figure) {
	margin-top: 0;
}

/* ---------- Typografie ---------- */
.ldc-eyebrow {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ldc-ink-2);
}

.ldc-h1 {
	margin: 0 0 16px;
	font-size: clamp(36px, 9.4vw, 66px);
	line-height: 1.03;
	letter-spacing: -0.03em;
	font-weight: 700;
	color: var(--ldc-ink);
	text-wrap: balance;
}

.ldc-h2 {
	margin: 0 0 14px;
	font-size: clamp(29px, 6.6vw, 46px);
	line-height: 1.07;
	letter-spacing: -0.025em;
	font-weight: 700;
	color: var(--ldc-ink);
	text-wrap: balance;
}

.ldc-h3 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	font-weight: 650;
	color: var(--ldc-ink);
}

.ldc-lead {
	margin: 0 0 24px;
	font-size: clamp(17px, 4.5vw, 20px);
	line-height: 1.5;
	color: var(--ldc-ink-2);
	text-wrap: pretty;
}

.ldc-text {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ldc-ink-2);
}

.ldc-center {
	text-align: center;
}

.ldc-head {
	margin-bottom: clamp(28px, 5vw, 48px);
}

.ldc-head.ldc-center .ldc-lead {
	margin-inline: auto;
	max-width: 620px;
}

.ldc-footnote {
	margin: 24px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ldc-ink-3);
}

.ldc-link a,
a.ldc-link {
	font-weight: 600;
	color: var(--ldc-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.ldc-link a:hover,
a.ldc-link:hover {
	color: var(--ldc-accent);
}

/* ---------- Buttons ---------- */
.ldc-section .ldc-btn .wp-block-button__link,
.ldc-story .ldc-btn .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 34px;
	border-radius: 999px;
	background: var(--ldc-accent);
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.2s ease;
}

.ldc-section .ldc-btn .wp-block-button__link:hover,
.ldc-section .ldc-btn .wp-block-button__link:focus-visible,
.ldc-story .ldc-btn .wp-block-button__link:hover {
	background: var(--ldc-accent-hover);
	color: #fff;
}

.ldc-section .wp-block-buttons.ldc-actions {
	gap: 12px;
	margin: 0;
}

/* ---------- Preis ---------- */
.ldc-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	font-size: 15px;
	color: var(--ldc-ink-2);
}

.ldc-price__amount,
.ldc-choice__price {
	font-weight: 700;
	color: var(--ldc-ink);
}

.ldc-price del,
.ldc-choice__price del {
	font-weight: 400;
	color: var(--ldc-ink-3);
	margin-right: 4px;
}

.ldc-price ins,
.ldc-choice__price ins {
	text-decoration: none;
}

.ldc-price .screen-reader-text,
.ldc-choice__price .screen-reader-text {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Hero ---------- */
.ldc-section.ldc-hero {
	padding-top: clamp(28px, 6vw, 72px);
	padding-bottom: 0;
	background: var(--ldc-panel);
	overflow: hidden;
}

.ldc-hero__grid {
	display: grid;
	gap: 8px;
	align-items: end;
}

.ldc-hero__copy {
	padding-bottom: 8px;
}

.ldc-hero .ldc-actions .wp-block-button {
	width: 100%;
}

.ldc-hero .ldc-actions .wp-block-button__link {
	width: 100%;
}

.ldc-hero__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--ldc-ink-2);
}

.ldc-trustline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 0;
	font-size: 14px;
	line-height: 1.35;
	color: var(--ldc-ink-2);
}

.ldc-trustline img {
	width: 64px;
	height: auto;
	flex: none;
	border-radius: 6px;
}

.ldc-trustline strong {
	color: var(--ldc-ink);
	font-weight: 600;
}

.ldc-hero__media {
	margin: 0;
	display: flex;
	justify-content: center;
}

.ldc-hero__media img {
	display: block;
	width: auto;
	height: clamp(260px, 72vw, 560px);
	max-width: 100%;
	object-fit: contain;
}

.ldc-section .ldc-hero__meta > *,
.ldc-section .ldc-hero__meta p {
	margin: 0;
}

p.ldc-hero__trust {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	color: var(--ldc-ink-2);
}

p.ldc-hero__trust::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350555f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Presse ---------- */
.ldc-press {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0 auto;
	max-width: 920px;
}

.ldc-press__label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ldc-ink-3);
}

.ldc-press__strip {
	display: block;
	width: 100%;
}

.ldc-press__row {
	position: relative;
	display: block;
	width: 100%;
	height: 0;
	padding-top: calc(97 * 100% / 1057);
	overflow: hidden;
}

.ldc-press__row img {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(1972 * 100% / 1057);
	max-width: none;
	height: 100%;
	filter: grayscale(1);
	opacity: 0.82;
}

.ldc-press__row--2 {
	width: calc(915 * 100% / 1057);
	margin: 12px auto 0;
	padding-top: calc(97 * 100% / 915);
}

.ldc-press__row--2 img {
	width: calc(1972 * 100% / 915);
	left: calc(-1057 * 100% / 915);
}

.ldc-section.ldc-press-sec {
	padding-top: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--ldc-line);
}

/* ---------- Vorher / Nachher ---------- */
.ldc-compare {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: var(--ldc-radius);
	background: #e9e9ec;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
	isolation: isolate;
}

.ldc-compare__img,
.ldc-compare__before {
	position: absolute;
	inset: 0;
}

.ldc-compare .ldc-compare__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain; /* Original vollständig, kein Beschnitt */
	border-radius: 0;
}

.ldc-compare__before {
	clip-path: inset(0 calc(100% - var(--ldc-pos, 50%)) 0 0);
	z-index: 1;
}

.ldc-compare__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--ldc-pos, 50%);
	z-index: 2;
	width: 2px;
	margin-left: -1px;
	background: #fff;
	pointer-events: none;
}

.ldc-compare__handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border-radius: 50%;
	background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23111318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E")
		center / 20px no-repeat;
	box-shadow: 0 2px 12px rgba(17, 19, 24, 0.22);
}

.ldc-compare__range {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
	touch-action: pan-y;
}

.ldc-compare__range:focus-visible + .ldc-compare__handle,
.ldc-compare:focus-within .ldc-compare__handle::after {
	outline: 2px solid var(--ldc-accent);
	outline-offset: 2px;
}

.ldc-compare__tag {
	position: absolute;
	top: 14px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(17, 19, 24, 0.6);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	pointer-events: none;
}

.ldc-compare__tag--before {
	left: 14px;
}

.ldc-compare__tag--after {
	right: 14px;
}

/* Hair Serum, Komplett-Set, Kauf 4 zahl 3 (16.10.2026): Regler ohne Beschriftung im Bild – Linie und Griff genügen
   (wie die Startseite); Bedienung und Screenreader-Beschriftung des Reglers bleiben unverändert. */
body.postid-17214 .ldc-compare__tag,
body.postid-65429 .ldc-compare__tag,
body.postid-103835 .ldc-compare__tag {
	display: none;
}

.ldc-caption {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ldc-ink-3);
}

/* ---------- Ergebnisse + Vertrauen ---------- */
.ldc-proof__grid {
	display: grid;
	gap: 28px;
	align-items: center;
}

.ldc-proof__head .ldc-lead {
	margin-bottom: 0;
}

.ldc-proof__trust .ldc-seal {
	margin-top: 0;
}

.ldc-more {
	margin: 18px 0 0;
}

.ldc-section blockquote.ldc-quote,
.ldc-section .wp-block-quote.ldc-quote {
	margin: clamp(32px, 6vw, 56px) auto 0;
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
}

.ldc-seal {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 24px 0 0;
	padding: 18px;
	border: 1px solid var(--ldc-line);
	border-radius: var(--ldc-radius-sm);
	background: var(--ldc-bg);
}

.ldc-seal .wp-block-image,
.ldc-seal figure {
	flex: none;
	width: 92px;
	margin: 0;
}

.ldc-seal img {
	display: block;
	width: 92px;
	height: auto;
	border-radius: 6px;
}

.ldc-seal p {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ldc-ink-2);
}

.ldc-seal strong {
	display: block;
	margin-bottom: 2px;
	color: var(--ldc-ink);
	font-size: 16px;
}

.ldc-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0;
}

.ldc-gallery .wp-block-image {
	margin: 0;
}

.ldc-gallery img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ldc-radius-sm);
}

/* ---------- Gründe (01 / 02 / 03) ---------- */
.ldc-points {
	display: grid;
	gap: 12px;
}

.ldc-point {
	padding: 24px 22px;
	border-radius: var(--ldc-radius);
	background: var(--ldc-panel);
}

.ldc-section.is-panel .ldc-point {
	background: var(--ldc-bg);
}

.ldc-point__num {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--ldc-ink-3);
}

.ldc-point p:last-child {
	margin-bottom: 0;
}

/* ---------- Produktwahl ---------- */
.ldc-choices {
	display: grid;
	gap: 12px;
}

a.ldc-choice {
	position: relative;
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 16px;
	align-items: center;
	padding: 12px 18px 12px 12px;
	border: 1px solid var(--ldc-line);
	border-radius: var(--ldc-radius-sm);
	background: var(--ldc-bg);
	color: var(--ldc-ink);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

a.ldc-choice:hover,
a.ldc-choice:focus-visible {
	border-color: var(--ldc-ink);
	color: var(--ldc-ink);
}

a.ldc-choice.is-highlight {
	border-color: var(--ldc-ink);
	box-shadow: inset 0 0 0 1px var(--ldc-ink);
}

.ldc-choice__media {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: var(--ldc-panel);
}

.ldc-choice__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

.ldc-choice__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.ldc-choice__badge {
	align-self: flex-start;
	margin-bottom: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--ldc-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ldc-choice__title {
	font-size: 17px;
	font-weight: 650;
	line-height: 1.25;
}

.ldc-choice__note {
	font-size: 14px;
	line-height: 1.4;
	color: var(--ldc-ink-2);
}

.ldc-choice__price {
	margin-top: 4px;
	font-size: 16px;
}

.ldc-choice__cta {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ldc-accent);
}

.ldc-choice__cta::after {
	content: " →";
}

/* ---------- Anwendung ---------- */
.ldc-how__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

ol.ldc-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ldc-step;
}

ol.ldc-steps > li {
	position: relative;
	margin: 0;
	padding: 18px 0 18px 56px;
	border-top: 1px solid var(--ldc-line);
	counter-increment: ldc-step;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ldc-ink-2);
}

ol.ldc-steps > li::marker {
	content: none;
}

ol.ldc-steps > li::before {
	content: counter(ldc-step);
	position: absolute;
	left: 0;
	top: 16px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ldc-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 34px;
	text-align: center;
}

ol.ldc-steps > li strong {
	display: block;
	color: var(--ldc-ink);
	font-size: 17px;
}

.ldc-how__media {
	margin: 0;
}

.ldc-how__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ldc-radius);
}

.ldc-how__copy .ldc-text {
	margin: 20px 0 0;
}

/* ---------- Bewertungen & Presse-Zitat ---------- */
.ldc-reviews {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 84%;
	gap: 12px;
	margin: 0 calc(-1 * var(--ldc-gutter));
	padding: 2px var(--ldc-gutter) 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--ldc-gutter);
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.ldc-reviews::-webkit-scrollbar {
	display: none;
}

.ldc-review {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 24px 22px;
	border: 1px solid var(--ldc-line);
	border-radius: var(--ldc-radius);
	background: var(--ldc-bg);
	scroll-snap-align: start;
}

.ldc-review__stars {
	color: var(--ldc-star);
	font-size: 16px;
	letter-spacing: 2px;
}

.ldc-review__text {
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 16px;
	font-style: normal;
	line-height: 1.55;
	color: var(--ldc-ink);
	quotes: "„" "“";
}

.ldc-review__text::before {
	content: open-quote;
}

.ldc-review__text::after {
	content: close-quote;
}

.ldc-review__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 14px;
	color: var(--ldc-ink-2);
}

.ldc-review__name {
	font-weight: 600;
	color: var(--ldc-ink);
}

.ldc-review__verified {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: var(--ldc-ink-2);
}

.ldc-review__verified::before {
	content: "";
	width: 14px;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8a4c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ldc-quote {
	margin: clamp(28px, 5vw, 48px) auto 0;
	max-width: 760px;
	padding: 0;
	border: 0;
	text-align: center;
}

.ldc-quote p {
	margin: 0 0 14px;
	font-size: clamp(19px, 4.6vw, 24px);
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--ldc-ink);
}

.ldc-quote cite {
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ldc-ink-3);
}

/* ---------- FAQ (native details) ---------- */
.ldc-faq {
	border-bottom: 1px solid var(--ldc-line);
}

.ldc-faq details.wp-block-details {
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--ldc-line);
}

.ldc-faq details.wp-block-details > summary {
	position: relative;
	display: block;
	padding: 20px 44px 20px 0;
	list-style: none;
	cursor: pointer;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ldc-ink);
}

.ldc-faq details.wp-block-details > summary::-webkit-details-marker {
	display: none;
}

.ldc-faq details.wp-block-details > summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border: 0;
	border-right: 2px solid var(--ldc-ink);
	border-bottom: 2px solid var(--ldc-ink);
	background: none;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	opacity: 1;
}

.ldc-faq details.wp-block-details[open] > summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.ldc-faq details.wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 0 22px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ldc-ink-2);
}

.ldc-faq-more {
	margin: 20px 0 0;
}

/* ---------- Abschluss ---------- */
.ldc-final__grid {
	display: grid;
	gap: 24px;
	align-items: center;
}

.ldc-final__media {
	margin: 0;
}

.ldc-final__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ldc-radius);
}

.ldc-final .ldc-actions .wp-block-button,
.ldc-final .ldc-actions .wp-block-button__link {
	width: 100%;
}

.ldc-final .ldc-price {
	margin: 0 0 18px;
}

.ldc-payline {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--ldc-ink-3);
}

/* =========================================================================
   Produktseite (body.ldc-pdp)
   ========================================================================= */

/* Großer „Sale“-Kreis wirkt billig – Preis-Streichung bleibt sichtbar. */
.ldc-pdp .product .onsale,
.ldc-pdp .product .ct-woo-badge-onsale {
	display: none;
}

.ldc-pdp .product_title {
	margin-bottom: 6px;
	font-size: clamp(28px, 6.6vw, 38px);
	line-height: 1.1;
	letter-spacing: -0.025em;
	font-weight: 700;
	color: var(--ldc-ink);
}

.ldc-pdp .entry-summary .price {
	font-size: 22px;
	font-weight: 700;
	color: var(--ldc-ink);
}

.ldc-pdp .entry-summary .price del {
	font-size: 16px;
	font-weight: 400;
	color: var(--ldc-ink-3);
}

.ldc-pdp .entry-summary .price ins {
	text-decoration: none;
}

.ldc-pdp .woocommerce-product-details__short-description .ldc-sub {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.45;
	color: var(--ldc-ink-2);
}

.ldc-pdp ul.ldc-checks {
	margin: 0 0 6px;
	padding: 0;
	list-style: none;
}

.ldc-pdp ul.ldc-checks > li {
	position: relative;
	margin: 0;
	padding: 5px 0 5px 28px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--ldc-ink);
}

.ldc-pdp ul.ldc-checks > li::marker {
	content: none;
}

.ldc-pdp ul.ldc-checks > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111318' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Warenkorb-Button: gleiche Formensprache wie die Startseiten-CTAs (Klassen unverändert). */
.ldc-pdp form.cart .single_add_to_cart_button {
	--theme-button-background-initial-color: var(--ldc-accent);
	--theme-button-background-hover-color: var(--ldc-accent-hover);
	min-height: 56px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 600;
}

.ldc-pdp form.cart .quantity {
	border-radius: 999px;
}

/* Kaufbox unter dem Warenkorb-Button */
.ldc-buybox {
	margin: 4px 0 0;
}

.ldc-pdp ul.ldc-trust {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 16px 0 0;
	list-style: none;
	border-top: 1px solid var(--ldc-line);
}

.ldc-pdp ul.ldc-trust > li {
	position: relative;
	margin: 0;
	padding-left: 28px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ldc-ink-2);
}

.ldc-pdp ul.ldc-trust > li::marker {
	content: none;
}

.ldc-pdp ul.ldc-trust > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350555f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ldc-pdp ul.ldc-trust strong {
	color: var(--ldc-ink);
	font-weight: 600;
}

.ldc-buybox__label {
	margin: 22px 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ldc-ink-3);
}

.ldc-choices--compact a.ldc-choice {
	grid-template-columns: 64px 1fr;
	gap: 14px;
	padding: 8px 14px 8px 8px;
}

.ldc-choices--compact .ldc-choice__title {
	font-size: 15px;
}

.ldc-choices--compact .ldc-choice__note {
	font-size: 13px;
}

.ldc-choices--compact .ldc-choice__price {
	margin-top: 2px;
	font-size: 15px;
}

.ldc-choices--compact .ldc-choice__cta {
	display: none;
}

.ldc-choices--compact a.ldc-choice::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 2px solid var(--ldc-ink-3);
	border-top: 2px solid var(--ldc-ink-3);
	transform: rotate(45deg);
}

/* Top-FAQ im Kaufbereich */
.ldc-faq--compact {
	margin-top: 22px;
}

.ldc-faq--compact .ldc-faq__title {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ldc-ink-3);
}

.ldc-faq--compact details.wp-block-details > summary {
	padding: 15px 40px 15px 0;
	font-size: 16px;
}

.ldc-faq--compact details.wp-block-details > :not(summary) {
	padding-bottom: 16px;
	font-size: 15px;
}

/* Story-Sektion zwischen Kaufbereich und Tabs */
.ldc-story {
	clear: both;
	margin: clamp(48px, 8vw, 96px) 0 0;
	color: var(--ldc-ink);
}

.ldc-story > .ldc-section,
.ldc-story > .wp-block-group.ldc-section {
	margin: 0;
	border-radius: var(--ldc-radius);
}

.ldc-story > .ldc-section + .ldc-section {
	margin-top: 12px;
}

/* Galerie: Thumbnails auf Mobilgeräten einzeilig und wischbar (Bilder unverändert, kein Beschnitt). */
@media (max-width: 999.98px) {
	.ldc-pdp .ct-container-full[data-vertical-spacing*="top"] {
		padding-top: 16px;
	}

	.ldc-pdp .flexy-pills[data-type="thumbs"] ol {
		display: flex !important;
		flex-wrap: nowrap;
		gap: 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: 2px;
	}

	.ldc-pdp .flexy-pills[data-type="thumbs"] ol::-webkit-scrollbar {
		display: none;
	}

	.ldc-pdp .flexy-pills[data-type="thumbs"] li {
		flex: 0 0 68px;
		width: 68px !important;
		margin: 0 !important;
		scroll-snap-align: start;
	}

	.ldc-pdp .entry-summary .price {
		margin-bottom: 10px;
	}

	.ldc-story > .ldc-section,
	.ldc-story > .wp-block-group.ldc-section {
		border-radius: 0;
	}

	.ldc-proof__grid {
		gap: 20px;
	}
}

@media (min-width: 690px) and (max-width: 999.98px) {
	.ldc-pdp .woocommerce-product-gallery {
		max-width: 520px;
		margin-inline: auto;
	}

	.ldc-pdp .entry-summary {
		max-width: 620px;
		margin-inline: auto;
	}
}

/* Beschreibungstext im Tab ruhiger (überschreibt Inline-Farbe der Bestands-Überschrift) */
.ldc-pdp .woocommerce-Tabs-panel h2,
.ldc-pdp .woocommerce-Tabs-panel h3 {
	color: var(--ldc-ink) !important;
	letter-spacing: -0.015em;
}

/* =========================================================================
   Breakpoints
   ========================================================================= */
@media (max-width: 689.98px) {
	.ldc-story > .ldc-section {
		padding-inline: 18px;
	}
}

@media (min-width: 690px) {
	body.ldc-page,
	body.ldc-pdp {
		--ldc-gutter: 32px;
	}

	.ldc-press__row {
		padding-top: calc(97 * 100% / 1972);
	}

	.ldc-press__row img {
		width: 100%;
		left: 0;
	}

	.ldc-press__row--2 {
		display: none;
	}

	.ldc-points {
		grid-template-columns: repeat(3, 1fr);
	}

	.ldc-choices:not(.ldc-choices--compact) {
		grid-template-columns: repeat(3, 1fr);
	}

	.ldc-choices:not(.ldc-choices--compact) a.ldc-choice {
		grid-template-columns: 1fr;
		align-content: start;
		padding: 14px 14px 22px;
	}

	.ldc-choices:not(.ldc-choices--compact) .ldc-choice__body {
		padding: 4px 6px 0;
	}

	.ldc-reviews {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, 1fr);
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.ldc-hero__grid {
		grid-template-columns: 1.15fr 0.85fr;
		gap: 24px;
		align-items: center;
	}

	.ldc-hero__copy {
		padding-bottom: 48px;
	}

	.ldc-hero__media {
		align-self: end;
	}

	.ldc-hero__media img {
		height: clamp(340px, 48vw, 600px);
	}

	.ldc-h1 {
		font-size: clamp(40px, 5.6vw, 66px);
	}

	.ldc-hero .ldc-actions .wp-block-button,
	.ldc-hero .ldc-actions .wp-block-button__link,
	.ldc-final .ldc-actions .wp-block-button,
	.ldc-final .ldc-actions .wp-block-button__link {
		width: auto;
	}
}

@media (min-width: 1000px) {
	.ldc-hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 48px;
	}

	.ldc-hero__copy {
		padding-bottom: 72px;
	}

	.ldc-proof__grid {
		grid-template-columns: 1.15fr 0.85fr;
		grid-template-areas: "media head" "media trust";
		column-gap: 64px;
		row-gap: 28px;
		align-items: start;
	}

	.ldc-proof__media {
		grid-area: media;
	}

	.ldc-proof__head {
		grid-area: head;
		align-self: end;
	}

	.ldc-proof__trust {
		grid-area: trust;
	}

	.ldc-how__grid {
		grid-template-columns: 1fr 1fr;
		gap: 64px;
	}

	.ldc-final__grid {
		grid-template-columns: 0.9fr 1.1fr;
		gap: 64px;
	}

	.ldc-faq-grid {
		display: grid;
		grid-template-columns: 0.8fr 1.2fr;
		gap: 64px;
		align-items: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ldc-faq details.wp-block-details > summary::after,
	a.ldc-choice,
	.ldc-section .ldc-btn .wp-block-button__link {
		transition: none;
	}
}

/* =========================================================================
   V2 – Hero-Varianten, Set-Foto, Fallreihe, Video, PDP-Galerie
   ========================================================================= */

/* Original-Set-Foto (Mediathek 655827, Hintergrund #f5f5f7): 16:10-Ausschnitt (Fenster 500 px, Produktmitte 542 px).
   Es wird ausschließlich Hintergrund ausgeblendet – Produkt (Zeilen 367–718 von 960) bleibt vollständig. */
.ldc-set {
	margin: 0;
}

.ldc-set img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: 50% 63%;
	border-radius: 0;
	background: var(--ldc-panel);
}

.ldc-hero .ldc-hero__media.ldc-set img {
	height: auto;
	max-width: 100%;
}

/* Kaufzeile: CTA + Preis */
.ldc-buyrow {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.ldc-buyrow > p,
.ldc-buyrow > .ldc-price {
	margin: 0;
	align-self: center;
}

.ldc-hero p.ldc-hero__trust {
	margin-top: 14px;
	justify-content: center;
	width: 100%;
}

/* Presse im Hero */
.ldc-hero .ldc-press {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0;
	padding: 20px 0 26px;
	border-top: 1px solid rgba(17, 19, 24, 0.08);
	max-width: none;
}

/* Hero A (text-first) */
.ldc-section.ldc-hero--a {
	padding-top: 24px;
}

.ldc-hero--a .ldc-hero__copy {
	padding-bottom: 0;
	text-align: center;
}

.ldc-hero--a .ldc-lead {
	margin-bottom: 20px;
}

.ldc-hero--a .ldc-hero__media {
	margin-top: 4px;
}

/* Hero B (product-first) */
.ldc-section.ldc-hero--b {
	padding-top: 0;
}

.ldc-hero--b .ldc-hero__grid {
	gap: 0;
}

.ldc-hero--b .ldc-hero__media {
	margin: 0 calc(-1 * var(--ldc-gutter));
}

.ldc-hero--b .ldc-hero__copy {
	padding: 4px 0 20px;
	text-align: center;
}

.ldc-hero--b .ldc-h1 {
	margin-bottom: 10px;
}

.ldc-hero--b .ldc-lead {
	margin-bottom: 18px;
}

.ldc-hero--a .ldc-h1,
.ldc-hero--b .ldc-h1 {
	font-size: clamp(34px, 9.2vw, 66px);
}

/* Weitere Originalfälle */
.ldc-cases {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 78%;
	gap: 10px;
	margin: 12px calc(-1 * var(--ldc-gutter)) 0;
	padding: 0 var(--ldc-gutter) 4px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--ldc-gutter);
	scrollbar-width: none;
}

.ldc-cases::-webkit-scrollbar {
	display: none;
}

.ldc-cases .wp-block-image {
	margin: 0;
	scroll-snap-align: start;
}

.ldc-cases img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--ldc-radius-sm);
}

/* Anwendungsvideo */
.ldc-video {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--ldc-radius);
	background: #ebe9e6;
}

.ldc-video__el {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ldc-video__caption {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--ldc-ink-2);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.ldc-how .ldc-how__media {
	max-width: 520px;
	width: 100%;
	margin-inline: auto;
}

/* Badges der Produktwahl ruhiger */
.ldc-choice__badge {
	background: var(--ldc-panel);
	color: var(--ldc-ink);
	border: 1px solid var(--ldc-line);
}

a.ldc-choice.is-highlight .ldc-choice__badge {
	background: var(--ldc-ink);
	color: #fff;
	border-color: var(--ldc-ink);
}

/* PDP: Lieferumfang */
.ldc-pdp p.ldc-scope {
	margin: 10px 0 0;
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--ldc-panel);
	font-size: 15px;
	color: var(--ldc-ink-2);
}

.ldc-pdp p.ldc-scope strong {
	color: var(--ldc-ink);
}

/* PDP-Galerie: einheitliche, exakt ausgerichtete Thumbnails (keine versetzten Rahmen). */
.ldc-pdp .woocommerce-product-gallery .flexy-pills,
.ldc-pdp .woocommerce-product-gallery .flexy-pills ol {
	border: 0 !important;
	box-shadow: none !important;
}

.ldc-pdp .woocommerce-product-gallery .flexy-pills {
	margin-top: 10px;
}

.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li {
	position: relative;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li::after {
	display: none !important;
}

.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li .ct-media-container {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 0 !important;
	border-radius: 12px;
	outline: 0;
}

.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px !important;
}

.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li.active {
	opacity: 1;
}

.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li.active .ct-media-container {
	box-shadow: inset 0 0 0 2px var(--ldc-ink);
}

/* Galerie-Viewport sauber beschneiden (verhindert durchblitzende Nachbar-Slides). */
.ldc-pdp .woocommerce-product-gallery .flexy {
	overflow: hidden;
	border-radius: var(--ldc-radius);
}

/* Erstes Galeriebild (Set-Foto 800×960): quadratischer Ausschnitt, nur Hintergrund wird ausgeblendet. */
.ldc-pdp .woocommerce-product-gallery .flexy-items > .flexy-item:first-child .ct-media-container {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.ldc-pdp .woocommerce-product-gallery .flexy-items > .flexy-item:first-child .ct-media-container img {
	aspect-ratio: 1 / 1 !important;
	height: 100% !important;
	object-fit: cover;
	object-position: 50% 80%;
}

@media (max-width: 999.98px) {
	.ldc-pdp .flexy-pills[data-type="thumbs"] li {
		flex: 0 0 64px;
		width: 64px !important;
	}
}

@media (min-width: 690px) {
	.ldc-buyrow {
		flex-direction: row;
		align-items: center;
		gap: 18px;
	}

	.ldc-hero--a .ldc-hero__copy,
	.ldc-hero--b .ldc-hero__copy {
		text-align: left;
	}

	.ldc-hero p.ldc-hero__trust {
		justify-content: flex-start;
	}

	.ldc-hero--b .ldc-hero__media {
		margin: 0;
	}

	.ldc-section.ldc-hero--b {
		padding-top: 32px;
	}

	.ldc-cases {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, 1fr);
		margin: 12px 0 0;
		padding: 0;
		overflow: visible;
	}
}

@media (min-width: 1000px) {
	.ldc-hero--a .ldc-hero__grid,
	.ldc-hero--b .ldc-hero__grid {
		grid-template-columns: 1.08fr 0.92fr;
		gap: 40px;
	}

	.ldc-hero--a .ldc-h1,
	.ldc-hero--b .ldc-h1 {
		font-size: clamp(44px, 4.1vw, 58px);
	}

	.ldc-hero--b .ldc-hero__media {
		order: 2;
	}

	.ldc-hero--a .ldc-hero__copy,
	.ldc-hero--b .ldc-hero__copy {
		padding-bottom: 24px;
	}

	.ldc-how__grid {
		grid-template-columns: 0.85fr 1.15fr;
	}
}

/* Tablet (690–999 px): einspaltig, zentriert – verhindert, dass das lange Wort „Haarwuchsmittel“ die Bildspalte verdrängt. */
@media (min-width: 690px) and (max-width: 999.98px) {
	.ldc-hero--a .ldc-hero__grid,
	.ldc-hero--b .ldc-hero__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.ldc-hero--a .ldc-hero__copy,
	.ldc-hero--b .ldc-hero__copy {
		max-width: 640px;
		margin-inline: auto;
		padding-bottom: 0;
		text-align: center;
	}

	.ldc-hero--a .ldc-h1,
	.ldc-hero--b .ldc-h1 {
		font-size: clamp(44px, 7.2vw, 60px);
	}

	.ldc-hero .ldc-buyrow {
		justify-content: center;
	}

	.ldc-hero p.ldc-hero__trust {
		justify-content: center;
	}

	.ldc-hero .ldc-hero__media.ldc-set {
		max-width: 600px;
		width: 100%;
		margin-inline: auto;
	}
}

/* PDP-Thumbnails Desktop: gleichmäßiges Raster mit festem Abstand. */
@media (min-width: 1000px) {
	.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] ol {
		display: grid !important;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 10px;
		width: 100% !important;
		max-width: 100% !important;
		transform: none !important;
	}

	.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] li {
		width: auto !important;
		margin: 0 !important;
	}
}

/* Thumbnail-Leiste bündig zum Hauptbild (Blocksy setzt einen negativen Rand von 7 px). */
.ldc-pdp .woocommerce-product-gallery .flexy-pills[data-type="thumbs"] ol {
	margin: 0 !important;
}
