/* kaeuferschutz — page layout only (tokens from theme.css; no colour literals, no new font sizes) */

/* ===== 01 hero: text left, Käuferschutz seal card (gable photo + emblem + supplied text) right ===== */
.ksp-hero .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; padding-block-end: clamp(3rem, 2rem + 4vw, 5.5rem); }
/* the long compound "Handwerkerleistungen" must fit the text column in the two-column band (901-1360 px): smaller than --fs-h1 there, identical above */
@media (min-width: 901px) {
	.ksp-hero .hero__title { font-size: min(var(--fs-h1), calc(4.7vw - .25rem)); }
}
.ksp-seal { width: 100%; max-width: 34rem; justify-self: end; gap: var(--s-3); padding: var(--s-4) var(--s-4) var(--s-7); }
.ksp-seal > * { margin: 0; }
.ksp-seal__photo { width: 100%; filter: none; padding-top: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.ksp-seal__emblem { margin-top: calc(-1 * var(--s-7)); box-shadow: 0 0 0 .4rem var(--c-white); z-index: 3; }
.ksp-seal__emblem::before { display: none; }
.ksp-seal .hero__seal-title { font-size: var(--fs-h2); }
.ksp-seal__tagline { max-width: 36ch; color: var(--c-text); font-size: var(--fs-base); line-height: 1.5; text-wrap: balance; }
@media (max-width: 900px) {
	.ksp-seal { max-width: 40rem; justify-self: center; }
	.ksp-seal__photo { --ratio: 16 / 11; }
}

/* ===== 02 flow: the rule as a notice, then three step cards with chevrons ===== */
.ksp-order { max-width: 48rem; margin: 0 auto var(--s-10); }
.ksp-order .notice__body p { color: var(--c-text); font-size: var(--fs-base); }
.ksp-steps .ks-step { justify-items: start; align-content: start; text-align: left; }
.ksp-steps .ks-step__title { font-size: var(--fs-h4); }
.ksp-steps .ks-step__text { color: var(--c-text); font-size: var(--fs-base); }
@media (min-width: 861px) {
	.ksp-steps .ks-step__title { min-height: 2.7em; }
}
@media (max-width: 860px) {
	.ksp-steps { gap: var(--s-10); }
}

/* ===== 03 points: aside with photo | 2 x 2 cards ===== */
.ksp-points__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: stretch; }
.ksp-points__aside { display: grid; gap: var(--s-4); }
.ksp-points__aside > * { margin: 0; }
.ksp-points__photo { margin-top: var(--s-4); }
.ksp-points__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; padding-top: var(--s-5); align-items: stretch; align-content: stretch; }
.ksp-points__cards .promise__text { color: var(--c-text); font-size: var(--fs-base); }
@media (max-width: 900px) {
	.ksp-points__layout { grid-template-columns: 1fr; }
	.ksp-points__cards { grid-auto-rows: auto; row-gap: var(--s-8); }
}
@media (max-width: 640px) {
	.ksp-points__cards { grid-template-columns: 1fr; }
}

/* ===== 04 melden: text + ready-list | phone block ===== */
.ksp-melden__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(28rem, 30rem); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.ksp-melden__text > * + * { margin-top: var(--s-4); }
.ksp-melden__sub { font-size: var(--fs-h3); margin-top: var(--s-7); }
.ksp-ready { grid-template-columns: 1fr; margin-top: var(--s-4); }
.ksp-melden .icon-list--cards .icon-list__item { background: var(--c-white); border-color: var(--c-orange-tint); align-items: center; }
.ksp-melden .icon-list__title { margin-top: 0; display: inline; }
.ksp-melden .icon-list__text { display: inline; color: var(--c-text); margin-top: 0; font-size: var(--fs-base); }
.ksp-melden__after { margin-top: var(--s-6); }
.ksp-hotline { position: sticky; top: calc(var(--header-h) + 3rem); margin-top: var(--s-6); }
@media (max-width: 1100px) {
	.ksp-melden__layout { grid-template-columns: 1fr; }
	.ksp-hotline { position: relative; max-width: 34rem; width: 100%; justify-self: center; margin-top: var(--s-8); }
}

/* ===== 05 trades: three photo cards + closing call strip ===== */
.ksp-trades__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.ksp-trades .svc-card__text { color: var(--c-text); }
.ksp-beratung { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.ksp-beratung .callstrip__text { color: var(--c-text); font-size: var(--fs-base); margin-top: 0; }

/* ===== 06 faq: related chips under the aside ===== */
.ksp-related { display: grid; gap: var(--s-2); }
.ksp-related__label { margin: 0; color: var(--c-muted); font-size: var(--fs-sm); font-weight: 600; }
