/* Wärmepumpen-Herstellerseite – gleiches System wie die Startseite (home-system.css).
   Markenwerte: Ink #16344b · Muted #536574 · Paper #f4f6f8 · Line #d8e0e7 · Blue #215d85 · Magenta #a61657 (nur Aktionen) · Dark #102b40 */
.wpm { --ink: #16344b; --muted: #536574; --paper: #f4f6f8; --line: #d8e0e7; --blue: #215d85; --magenta: #a61657; --dark: #102b40; --r: 16px;
  padding: clamp(72px, 8vw, 112px) 0; color: var(--ink); font-family: Inter, sans-serif; }
.wpm--white { background: #fff; }
.wpm--paper { background: var(--paper); }

/* Kopf */
.wpm-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin: 0 0 clamp(36px, 4vw, 56px); }
.wpm-head--stack { display: block; margin-bottom: 26px; }
.wpm-head--center { display: block; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.wpm-head p:not(.wpm-kicker) { margin: 0 0 6px; max-width: 54ch; font-size: 1.04rem; line-height: 1.7; color: var(--muted); }
.wpm-kicker { margin: 0 0 14px; font: 700 .75rem/1.2 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.wpm h2 { margin: 0; font-family: Barlow, Inter, sans-serif; font-weight: 600; font-size: clamp(2.1rem, 3.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.035em; color: var(--ink); }
.wpm h2 span { color: var(--blue); }
.wpm-note { margin: 18px 0 0; font-size: .8rem; line-height: 1.55; color: #5f6f7b; }
.wpm-note a { color: var(--blue); font-weight: 600; }

/* Herstellerkarten */
.wpm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.wpm-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.wpm-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(16, 43, 64, .55); color: var(--ink); }
.wpm-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eef2; }
.wpm-card__img img { width: 100%; height: 100%; display: block; transition: transform .6s ease; }
.wpm-card__img--cover img { object-fit: cover; }
.wpm-card__img--contain { background: linear-gradient(180deg, #fff 0%, #eef2f5 100%); }
.wpm-card__img--contain img { object-fit: contain; padding: 18px; }
.wpm-card:hover .wpm-card__img img { transform: scale(1.04); }
.wpm-test { position: absolute; left: 12px; top: 12px; display: grid; gap: 1px; padding: 7px 10px; border-radius: 10px; background: var(--dark); color: #c9d8e4; font-size: .66rem; line-height: 1.2; letter-spacing: .02em; }
.wpm-test b { color: #fff; font-size: .9rem; letter-spacing: 0; }
.wpm-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.wpm-card__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 10px; }
.wpm-card__top strong { font-family: Barlow, Inter, sans-serif; font-weight: 600; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.01em; }
.wpm-card__top em { padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--blue); font-style: normal; font-weight: 700; font-size: .74rem; white-space: nowrap; }
.wpm-card__text { display: block; margin-top: 8px; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.wpm-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.wpm-card__more svg { width: 16px; height: 16px; color: var(--magenta); transition: transform .2s ease; }
.wpm-card:hover .wpm-card__more svg { transform: translateX(3px); }

/* Warentest */
.wpm-test-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.wpm-test-media { margin: 0; }
.wpm-test-media img { width: 100%; height: auto; display: block; border-radius: var(--r); }
.wpm-test-media figcaption { margin-top: 8px; font-size: .78rem; color: #5f6f7b; }
.wpm-models { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.wpm-models li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.wpm-models small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.wpm-models b { display: block; margin-top: 2px; font-size: 1.25rem; }
.wpm-models div > span { display: block; margin-top: 4px; font-size: .84rem; color: #5f6f7b; }
.wpm-models a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.wpm-models a svg { width: 15px; height: 15px; color: var(--magenta); }
.wpm-grade { padding: 10px 16px; border-radius: 12px; background: #fff; font-size: 1.1rem; font-weight: 800; white-space: nowrap; }
.wpm-grade span { font-weight: 600; color: var(--muted); }

/* Drei Fragen */
.wpm-qs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.wpm-qs article { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--r); background: var(--paper); }
.wpm-q__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: #fff; color: var(--blue); }
.wpm-q__icon svg { width: 24px; height: 24px; }
.wpm-qs h3 { margin: 0 0 8px; font-family: Barlow, Inter, sans-serif; font-weight: 600; font-size: 1.4rem; color: var(--ink); }
.wpm-qs p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Abschluss */
.wpm-cta { background: var(--dark); color: #fff; }
.wpm-cta h2 { color: #fff; }
.wpm-cta .wpm-kicker { color: #9fc4de; }
.wpm-cta p:not(.wpm-kicker) { margin: 18px 0 0; max-width: 54ch; color: #c9d8e4; line-height: 1.7; }
.wpm-cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.wpm-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.wpm-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: background-color .2s ease; }
.wpm-btn svg { width: 18px; height: 18px; }
.wpm-btn--pink { background: var(--magenta); color: #fff; }
.wpm-btn--pink:hover { background: #8e1249; color: #fff; }
.wpm-btn--light { background: #fff; color: var(--dark); }
.wpm-btn--light:hover { background: #e9eff4; color: var(--dark); }
.wpm-cta__phone { flex-basis: 100%; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #c9d8e4; text-decoration: none; font-size: .92rem; }
.wpm-cta__phone svg { width: 18px; height: 18px; color: #9fc4de; }
.wpm-cta__phone:hover { color: #fff; }

@media (max-width: 1199.98px) { .wpm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .wpm-head, .wpm-test-grid, .wpm-cta__grid { grid-template-columns: 1fr; align-items: start; }
  .wpm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpm-qs { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .wpm-grid { gap: 10px; }
  .wpm-card__body { padding: 14px; }
  .wpm-card__top strong { font-size: 1.12rem; }
  .wpm-card__top em { font-size: .68rem; }
  .wpm-card__text { font-size: .82rem; }
  .wpm-test { left: 8px; top: 8px; padding: 5px 8px; }
  .wpm-models li { grid-template-columns: 1fr; }
  .wpm-grade { justify-self: start; }
  .wpm-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .wpm-card, .wpm-card__img img, .wpm-card__more svg { transition: none; } }

/* Korrekturen: ältere Linkregeln der Seite überstimmen; Herstellerbild mit viel Rand vergrößern */
main .wpm a.wpm-btn--pink, main .wpm a.wpm-btn--pink:hover { color: #fff; }
main .wpm a.wpm-btn--light, main .wpm a.wpm-btn--light:hover { color: #102b40; }
main .wpm a.wpm-card, main .wpm a.wpm-card:hover { color: #16344b; text-decoration: none; }
.wpm-card__img--zoom img { padding: 0; transform: scale(1.7); }
.wpm-card:hover .wpm-card__img--zoom img { transform: scale(1.76); }

/* ---------- Ausbau Auffindbarkeit (20.10.2026) ---------- */
/* Hero: Belegzeile */
.wpm-proof { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 26px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .2); color: #dce7ef; font-size: .9rem; }
.wpm-proof b { color: #fff; font-weight: 700; margin-right: 4px; }

/* Vergleichstabelle */
.wpm-table-wrap { overflow-x: auto; border-radius: 16px; background: #f4f6f8; }
.wpm-table-wrap:focus-visible { outline: 2px solid #215d85; outline-offset: 2px; }
.wpm-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .95rem; color: #16344b; }
.wpm-table th, .wpm-table td { padding: 14px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid #d8e0e7; }
.wpm-table thead th { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #536574; background: #eef2f5; }
.wpm-table tbody tr:last-child th, .wpm-table tbody tr:last-child td { border-bottom: 0; }
.wpm-table tbody tr:hover { background: #fff; }
.wpm-table tbody th a { color: #16344b; font-weight: 700; text-decoration: none; }
.wpm-table tbody th a:hover { color: #215d85; text-decoration: underline; }
.wpm-table td { color: #536574; }
.wpm-grade--sm { display: inline-block; padding: 4px 10px; font-size: .88rem; }
.wpm-muted { color: #8a99a6; }

/* Regionen */
.wpm-regions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
main .wpm a.wpm-region { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 2px 12px; align-items: center; min-height: 84px; padding: 16px 18px; border-radius: 16px; background: #f4f6f8; color: #16344b; text-decoration: none; transition: background-color .2s ease; }
main .wpm a.wpm-region:hover { background: #e9eef2; }
.wpm-region strong { font: 600 1.25rem/1.15 Barlow, Inter, sans-serif; }
.wpm-region span { grid-column: 1; color: #536574; font-size: .86rem; }
.wpm-region svg { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: #a61657; }

/* Häufige Fragen */
.wpm-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); }
.wpm-faq .wpm-head p a { color: #215d85; font-weight: 700; }
.wpm-faq__list details { border-bottom: 1px solid #d8e0e7; }
.wpm-faq__list details:first-child { border-top: 1px solid #d8e0e7; }
.wpm-faq__list summary { position: relative; padding: 18px 40px 18px 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 1.04rem; color: #16344b; }
.wpm-faq__list summary::-webkit-details-marker { display: none; }
.wpm-faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: #215d85; }
.wpm-faq__list details[open] summary::after { content: "–"; }
.wpm-faq__list summary:focus-visible { outline: 2px solid #215d85; outline-offset: 2px; }
.wpm-faq__list details p { margin: 0 0 18px; color: #536574; line-height: 1.65; }

@media (max-width: 991.98px) {
  .wpm-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpm-faq { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .wpm-regions { grid-template-columns: 1fr; }
  .wpm-proof { gap: 6px 16px; font-size: .84rem; }
}
.wpm--paper .wpm-qs article { background: #fff; }
.wpm--paper .wpm-q__icon { background: #f4f6f8; }
#heat-brands-main .heat-hero h1 em { display: block; margin-top: .3em; font-size: .52em; line-height: 1.15; font-style: normal; font-weight: 500; color: #a8d2f1; }

/* Herstellerseiten: Belegleiste im Block „Mit Krause“ */
.wpm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.wpm-facts li { padding: 18px 20px; border-radius: 16px; background: #fff; }
.wpm-facts a { display: block; color: inherit; text-decoration: none; }
.wpm-facts b { display: block; font: 600 1.7rem/1.05 Barlow, Inter, sans-serif; color: #16344b; }
.wpm-facts b span { color: #e0a526; font-size: .8em; }
.wpm-facts li > span, .wpm-facts a > span { display: block; margin-top: 6px; font-size: .86rem; color: #536574; }
.wpm--paper a.wpm-region { background: #fff; }
.wpm--paper a.wpm-region:hover { background: #e9eef2; }
@media (max-width: 991.98px) { .wpm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
main .wpm--paper a.wpm-region { background: #fff; }
main .wpm--paper a.wpm-region:hover { background: #e9eef2; }
main .wpm .wpm-note { font-size: .86rem; }
