/* ==========================================================================
   /ratgeber/schloss-tauschen-mietwohnung/ — page layout only (tokens from theme.css)
   Sections: 01 hero · 02 article + TOC · 03 wer zahlt · 04 Schließanlage + BGH · 05 Ablauf (2 × 2)
             06 Eigentümer · 07 Leistungskarten (night) · 08 FAQ (two columns)
   ========================================================================== */

/* 01 hero */
.mw-hero .hero__lead { max-width: 58ch; }

/* 02 article: the plain icon list inside .prose must not inherit the keyhole bullet of .prose ul */
.prose .mw-reasons > li { padding-left: 0; }
.prose .mw-reasons > li::before { content: none; }
.prose .mw-reasons > li + li { margin-top: 0; }
.mw-reasons { gap: var(--s-3); }
.mw-reasons .icon-list__item { align-items: center; padding: .15rem 0; }
.mw-reasons .icon-list__text { color: var(--c-text); }
.mw-article .prose h3 { margin-top: 2em; }
.mw-disclaimer .notice__text { grid-column: 2; }

/* 03 wer zahlt: two neutral columns (no good/bad colouring), then the Haftpflicht text + dark price card */
.mw-payer .section__head > p:last-child { max-width: 62ch; }
.mw-payer__cols { align-items: stretch; }
.mw-payer__cols .versus__col { border-top-color: var(--c-brand-700); }
.mw-payer__cols .versus__col + .versus__col { border-top-color: var(--c-ink); }
.mw-payer__cols .versus__title .i { color: var(--c-brand-700); }
.mw-payer__cols .icon-list { gap: var(--s-4); }
.mw-payer__cols .icon-list__item { align-content: start; }
.mw-payer__more { margin-top: var(--s-8); align-items: start; }
.mw-payer__price { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); }
.mw-payer__price > * + * { margin-top: 0; }
.mw-payer__price .btn { align-self: stretch; }

/* 04 Schließanlage: arch photo split, then the ruling + a dark to-do card */
.mw-system__intro .split__media { width: 100%; max-width: 26rem; justify-self: center; }
.mw-system__ruling { margin-top: var(--s-9); align-items: start; }
.mw-conditions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.mw-conditions .icon-list__item { align-content: start; }
.mw-todo > * + * { margin-top: var(--s-4); }
.mw-todo .icon-list { gap: var(--s-4); }
.mw-todo .icon-list__text { color: var(--c-text); }

/* 05 Ablauf: 2 × 2 (the steps are long), no horizontal connectors between the rows */
.mw-steps { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48em) {
	.mw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
	.mw-steps.steps--h .step:not(:last-child)::after { display: none; }
}
.mw-steps .step__text + .step__text { margin-top: var(--s-3); }
.mw-steps__call { margin-top: var(--s-3); }

/* 06 Eigentümer: heading left, notice right; the bold label can be long on a 320 px phone */
.mw-owner__layout { display: grid; gap: var(--s-5); align-items: center; }
.mw-owner__head > * + * { margin-top: var(--s-3); }
.mw-owner .notice__title { overflow-wrap: anywhere; hyphens: auto; }
@media (min-width: 56em) {
	.mw-owner__layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-8); }
}

/* 07 Leistungskarten: two large photo cards on night */
.mw-router__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) {
	.mw-router__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mw-router__tel { margin-top: var(--s-7); text-align: center; font-size: var(--fs-md); color: var(--c-text); }
.mw-router__tel .link-call { font-weight: 800; }

/* 08 FAQ: two independent columns from 64em (columns keep the accordions from pushing each other) */
.mw-faq__grid { max-width: none; }
@media (min-width: 64em) {
	.mw-faq__grid { display: block; column-count: 2; column-gap: var(--s-5); }
	.mw-faq__grid .faq-item { break-inside: avoid; margin-bottom: var(--s-3); }
}
