/* heizungswartung — page layout only (tokens + bricks come from theme.css; no new colours, no new font sizes) */

/* 01 Hero: the consultation photo leads (LEFT on desktop), text right; phones keep the theme's photo-first stack */
@media (min-width: 901px) {
	.hero--split.hw-hero .hero__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
	.hero--split.hw-hero .hero__visual { order: -1; --ratio: 4 / 3; }
}
.hw-hero .hero__note { margin-top: var(--s-5); }
.hero--split.hw-hero .hero__inner { padding-block-end: var(--s-9); }

/* 02 Antwort: intro (lead + three stat cards | portrait) and two calm explanation columns below */
.hw-answer__intro .stat-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.hw-answer__more { margin-top: var(--s-10); }
.hw-answer__more .icon-list { gap: var(--s-7) clamp(2rem, 1rem + 4vw, 4.5rem); }
.hw-answer__more .icon-list__text { margin-top: .1rem; color: var(--c-text); font-size: var(--fs-base); }
@media (max-width: 900px) {
	.hw-answer__intro .intro__media { max-width: 26rem; margin-inline: auto; width: 100%; }
	.hw-answer__more { margin-top: var(--s-8); }
}

/* 03 Vor dem Anruf + in der Nähe: two equal cards */
.hw-prepare__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-9) clamp(2rem, 1rem + 3vw, 3.5rem); align-items: stretch; padding-top: var(--s-4); }
.hw-prep { display: flex; flex-direction: column; padding: var(--s-8) var(--s-7) var(--s-7); }
.hw-prep__title { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.hw-prep .icon-list { gap: var(--s-4); margin-bottom: var(--s-7); }
.hw-prep .icon-list__item { align-items: center; }
.hw-prep .icon-list__text { margin-top: 0; color: var(--c-text); font-size: var(--fs-base); line-height: 1.45; }
.hw-prep .hw-prep__call { margin-top: auto; }
.hw-prep__call .hw-prep__btn { margin-top: var(--s-4); }
.hw-near > p { margin-top: var(--s-4); }
.hw-near__gas { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--s-4); align-items: start; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--c-line); }
.hw-near__gas > p { margin: 0; color: var(--c-muted); font-size: 1.0625rem; }
.hw-near__gas-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--c-orange-tint); color: var(--c-ink); display: grid; place-items: center; }
.hw-near__gas-icon .i { width: 1.4rem; height: 1.4rem; }
@media (max-width: 900px) {
	.hw-prepare__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
	.hw-prep { padding-inline: var(--s-5); }
	.hw-prep__call { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
	.hw-prep__call .btn { width: 100%; justify-content: center; }
	.hw-near__gas { grid-template-columns: minmax(0, 1fr); }
}

/* 04 Vier Teile einer Wartung: numbered 2 x 2 cards */
.hw-parts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); counter-reset: hwpart; margin: 0; }
.hw-part { position: relative; counter-increment: hwpart; }
.hw-part .svc-card__body { padding: var(--s-7) var(--s-7) var(--s-7); }
.hw-part .svc-card__title { padding-right: 3.5rem; }
.hw-part::after { content: counter(hwpart); position: absolute; top: var(--s-5); right: var(--s-6); font-size: var(--fs-h1); font-weight: 700; line-height: 1; color: var(--c-sky-100); pointer-events: none; }
.hw-parts__after { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-5) var(--s-6); align-items: center; max-width: 62rem; margin: var(--s-10) auto 0; padding: var(--s-7); }
.hw-parts__after > * + * { margin-top: 0; }
@media (max-width: 760px) {
	.hw-parts__grid { grid-template-columns: minmax(0, 1fr); }
	.hw-part .svc-card__body { padding: var(--s-6) var(--s-5); }
}
@media (max-width: 520px) {
	.hw-parts__after { grid-template-columns: minmax(0, 1fr); padding: var(--s-6) var(--s-5); }
}

/* 05 Wer macht was: twin cards joined by a "≠" badge (drawn in CSS, decorative) */
.hw-roles__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s-6); align-items: stretch; max-width: 64rem; margin-inline: auto; padding-top: var(--s-4); }
.hw-role { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-8) var(--s-7) var(--s-7); border-top: 5px solid var(--c-slate); }
.hw-role > * + * { margin-top: 0; }
.hw-role--tech { border-top-color: var(--c-blue); }
.hw-role__tag { align-self: flex-start; padding: .15rem .95rem; border-radius: var(--r-pill); background: var(--c-sky-100); color: var(--c-blue-deep); font-size: var(--fs-xs); font-weight: 650; line-height: 1.5; }
.hw-role--tech .hw-role__tag { background: var(--c-orange-tint); color: var(--c-ink); }
.hw-role .card__icon { margin-top: var(--s-2); }
.hw-role .card__title { margin-top: var(--s-2); }
.hw-roles__ne { position: relative; align-self: center; justify-self: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--c-blue); box-shadow: 0 0 0 6px var(--c-sky-100); }
.hw-roles__ne::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1.5rem; height: .8rem; transform: translate(-50%, -50%); border-block: 3px solid var(--c-white); border-radius: 2px; }
.hw-roles__ne::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 2.1rem; transform: translate(-50%, -50%) rotate(25deg); background: var(--c-white); border-radius: 2px; }
@media (max-width: 800px) {
	.hw-roles__pair { grid-template-columns: minmax(0, 1fr); }
	.hw-roles__ne { width: 3rem; height: 3rem; }
}

/* 06 Drei Anlässe + Gasgeruch-Hinweis */
.hw-timing__notice { margin: var(--s-10) auto 0; max-width: 62rem; }
.hw-timing__notice .notice__title { font-weight: 650; }

/* 07 Mietwohnung und Steuer: two info notices side by side */
.hw-miete__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); align-items: stretch; }
.hw-miete__notice { padding: var(--s-6) var(--s-6); }
.hw-miete__notice strong { color: var(--c-heading); }
@media (max-width: 800px) {
	.hw-miete__grid { grid-template-columns: minmax(0, 1fr); }
}

/* 08 Käuferschutz */
.hw-ks .section-head { margin-bottom: 0; }
.hw-ks__text { font-size: var(--fs-md); line-height: 1.55; max-width: var(--measure); margin-inline: auto; text-align: center; }
