/* Leistungsseiten (z. B. /leistungen/waermepumpe), 03.11.2026 */
.lp-hero { position: relative; isolation: isolate; color: #fff; background: #1A1D23; padding-block: clamp(var(--space-8), 12vw, var(--space-11)); overflow: hidden; }
.lp-hero__bg { position: absolute; inset: 0; z-index: -2; }
.lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,.85) 0%, rgba(17,17,17,.55) 55%, rgba(17,17,17,.2) 100%); }
@media (max-width: 768px) { .lp-hero::before { background: linear-gradient(180deg, rgba(17,17,17,.5) 0%, rgba(17,17,17,.85) 70%); } }
.lp-hero__inner { max-width: 660px; }
.lp-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.5vw, 4rem); font-weight: var(--weight-black); letter-spacing: -0.03em; line-height: 1.05; margin: var(--space-3) 0 var(--space-5); }
.lp-hero__lead { font-size: var(--text-lg); line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 0 var(--space-6); }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.scope-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .scope-grid { grid-template-columns: repeat(3, 1fr); } }
.scope-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-6); }
.scope-card__no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary-50); color: var(--color-primary-dark); font-weight: var(--weight-bold); margin-bottom: var(--space-3); }
.scope-card h3 { font-size: var(--text-lg); margin: 0 0 var(--space-2); }
.scope-card p { margin: 0; color: var(--color-neutral-600); line-height: 1.55; }

.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-9); } .split--rev > :first-child { order: 2; } }
.split img { width: 100%; height: auto; display: block; border-radius: var(--radius-xl); }
.split h2 { margin-top: var(--space-2); }
.split p { color: var(--color-neutral-700); line-height: 1.6; }
.credit { margin-top: var(--space-2); font-size: var(--text-xs); color: var(--color-neutral-500); }


.fit-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 900px) { .fit-grid { grid-template-columns: repeat(3, 1fr); } }
.fit-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; }
.fit-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.fit-card div { padding: var(--space-5); }
.fit-card h3 { margin: 0 0 var(--space-2); font-size: var(--text-lg); }
.fit-card p { margin: 0; color: var(--color-neutral-600); line-height: 1.55; }

.cities { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-5); }
.cities a { padding: 8px 16px; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-white); color: var(--color-neutral-800); text-decoration: none; font-weight: var(--weight-medium); font-size: var(--text-sm); }
.cities a:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }

.faq-wrap { max-width: 820px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: var(--space-7); }

.close { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 1000px) { .close { grid-template-columns: 340px 1fr; gap: var(--space-9); } .close__tim { position: sticky; top: 100px; } }
.close__tim img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.close__tim p { color: var(--color-neutral-700); line-height: 1.6; }
.close__tim .who { font-weight: var(--weight-bold); color: var(--color-neutral-900); margin: var(--space-3) 0 0; }
.close__tim .who small { display: block; font-weight: var(--weight-regular); color: var(--color-neutral-600); }
.close__links { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
.close__tim h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }

/* Hero: ein Button */
.lp-hero { padding-bottom: clamp(var(--space-10), 14vw, 160px); }

/* Proof-Karte überlappt den Hero */
.proof { position: relative; z-index: 2; margin-top: -64px; background: var(--color-white); border-radius: var(--radius-xl); box-shadow: 0 18px 50px -20px rgba(17,17,17,.25); display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof__item { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-5) var(--space-5); min-width: 0; }
@media (min-width: 1024px) { .proof__item + .proof__item { border-left: 1px solid var(--color-border); } }
.proof__item strong { display: block; color: var(--color-neutral-900); font-size: var(--text-base); }
.proof__item span { font-size: var(--text-sm); color: var(--color-neutral-600); }
.proof__ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary-50); color: var(--color-primary-dark) !important; display: grid; place-items: center; }
.proof__stars { flex-shrink: 0; color: #FBBC04 !important; font-size: 15px !important; letter-spacing: 1px; }

/* Marken */
.brands { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(3, 1fr); } }
.brand { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-6); text-align: center; }
.brand img { height: 170px; width: 100%; object-fit: contain; margin-bottom: var(--space-4); }
.brand strong { display: block; font-size: var(--text-lg); color: var(--color-neutral-900); }
.brand span { color: var(--color-neutral-600); font-size: var(--text-sm); }

/* Förderung */
.bonus { background: var(--color-primary-dark); color: #fff; border-radius: var(--radius-2xl); padding: clamp(var(--space-6), 5vw, var(--space-9)); display: grid; gap: var(--space-5) var(--space-8); align-items: center; }
@media (min-width: 960px) { .bonus { grid-template-columns: 1.2fr 1fr; } .bonus__head { grid-column: 1 / -1; } }
.bonus h2 { color: #fff; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); line-height: 1.12; margin: var(--space-2) 0 0; max-width: 22ch; text-wrap: balance; }
@media (min-width: 960px) { .bonus h2 { max-width: none; } }
.bonus p { color: #fff; line-height: 1.6; opacity: .95; margin: 0 0 var(--space-5); }
.bonus__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); text-align: center; align-self: stretch; }
.bonus__nums div { background: rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-2); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.bonus__nums strong { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.9rem); font-weight: var(--weight-black); line-height: 1; white-space: nowrap; }
.bonus__nums span { font-size: var(--text-xs); opacity: .9; hyphens: manual; }

/* Ablauf mit animierter Verbindungslinie */
.steps { --dot: 44px; list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: var(--space-5); position: relative; }
.steps::before { content: ""; position: absolute; left: calc(var(--dot) / 2 - 1px); top: 0; bottom: 0; width: 3px; background: var(--color-primary); border-radius: 3px; transform-origin: top; transform: scaleY(0); transition: transform 1.6s cubic-bezier(.65,0,.35,1); }
.steps.is-visible::before { transform: scaleY(1); }
.steps li { counter-increment: s; position: relative; padding-left: calc(var(--dot) + var(--space-4)); min-height: var(--dot); }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: var(--dot); height: var(--dot); border-radius: 50%; background: var(--color-white); border: 3px solid var(--color-primary); color: var(--color-primary-dark); font-weight: var(--weight-bold); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s, background .3s, color .3s; z-index: 1; box-sizing: border-box; }
.steps.is-visible li::before { transform: scale(1); opacity: 1; background: var(--color-primary); color: #fff; }
.steps.is-visible li:nth-child(1)::before { transition-delay: .05s; }
.steps.is-visible li:nth-child(2)::before { transition-delay: .35s; }
.steps.is-visible li:nth-child(3)::before { transition-delay: .65s; }
.steps.is-visible li:nth-child(4)::before { transition-delay: .95s; }
.steps.is-visible li:nth-child(5)::before { transition-delay: 1.25s; }
.steps h3 { font-size: var(--text-base); margin: 0 0 var(--space-1); }
.steps p { margin: 0; color: var(--color-neutral-600); font-size: var(--text-sm); line-height: 1.55; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-5); text-align: center; }
  .steps::before { left: 10%; right: 10%; top: calc(var(--dot) / 2 - 1px); bottom: auto; width: auto; height: 3px; transform-origin: left; transform: scaleX(0); }
  .steps.is-visible::before { transform: scaleX(1); }
  .steps li { padding-left: 0; padding-top: calc(var(--dot) + var(--space-4)); }
  .steps li::before { left: 50%; margin-left: calc(var(--dot) / -2); }
}
@media (prefers-reduced-motion: reduce) { .steps::before, .steps li::before { transition: none; } }

/* Einsatzgebiet mit Karte */
.area { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .area { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }
.area p { color: var(--color-neutral-700); line-height: 1.6; }
.cities--left { justify-content: flex-start; }
.map-wrap { background: var(--color-primary-50); border-radius: var(--radius-2xl); padding: var(--space-4); }
.map { width: 100%; height: auto; display: block; }
.map__bg { fill: transparent; }
.map__radius { fill: rgba(78,184,224,.12); stroke: var(--color-primary); stroke-width: 2; stroke-dasharray: 8 8; }
.map__river { fill: none; stroke: #9fd3ea; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map__label { fill: #6aa9c4; font-size: 22px; font-style: italic; }
.map__pin circle { fill: var(--color-primary); stroke: #fff; stroke-width: 3; transition: r .2s, fill .2s; }
.map__pin text { fill: var(--color-neutral-900); font-size: 24px; font-weight: 700; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 6px; stroke-linejoin: round; }
.map__pin:hover circle, .map__pin:focus circle { r: 14; fill: var(--color-primary-dark); }
.map__pin:hover text { fill: var(--color-primary-dark); }
.map__home circle { fill: var(--color-white); stroke: var(--color-neutral-900); stroke-width: 4; }
.map__home .map__home-dot { fill: var(--color-neutral-900); stroke: none; }
.map__home text { font-size: 24px; font-weight: 800; fill: var(--color-neutral-900); paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 6px; }

/* Mobil: nichts darf über den Rand laufen */
.bonus { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .bonus { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.bonus .btn, .lp-hero__cta .btn { white-space: normal; max-width: 100%; text-align: center; }
.steps-note { margin-top: var(--space-6); }
@media (max-width: 959px) { .area .cities { display: none; } .area .map-wrap { order: 2; } }

/* Hover-Effekte (03.11.2026) */
.scope-card, .brand, .fit-card, .proof__item, .usp-card { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s, background .35s; }
.scope-card:hover, .brand:hover, .fit-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(17,17,17,.28); border-color: var(--color-primary); }
.scope-card__no { transition: background .35s, color .35s, transform .35s; }
.scope-card:hover .scope-card__no { background: var(--color-primary); color: #fff; transform: scale(1.1); }
.brand img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.brand:hover img { transform: scale(1.07) translateY(-4px); }
.brand strong { transition: color .3s; }
.brand:hover strong { color: var(--color-primary-dark); }
.fit-card img { transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.fit-card:hover img { transform: scale(1.06); }
.fit-card h3 { transition: color .3s; }
.fit-card:hover h3 { color: var(--color-primary-dark); }
.proof__ic { transition: background .35s, color .35s, transform .35s; }
.proof__item:hover .proof__ic { background: var(--color-primary); color: #fff !important; transform: rotate(-6deg) scale(1.08); }
.bonus__nums div { transition: transform .35s, background .35s; }
.bonus__nums div:hover { transform: translateY(-4px); background: rgba(255,255,255,.2); }
.steps li h3 { transition: color .3s; }
.steps li:hover h3 { color: var(--color-primary-dark); }
.steps.is-visible li:hover::before { transform: scale(1.12); transition-delay: 0s; }
.map__pin { cursor: pointer; }
.map__pin circle { transition: r .25s, fill .25s; }
@media (prefers-reduced-motion: reduce) { .scope-card, .brand, .fit-card, .brand img, .fit-card img, .bonus__nums div { transition: none; } .scope-card:hover, .brand:hover, .fit-card:hover { transform: none; } }

/* Varianten für Klima und Wartung (03.11.2026) */
.lp-hero--plain { background: linear-gradient(135deg, #12313f 0%, #1c5f7c 55%, var(--color-primary-dark) 100%); }
.lp-hero--plain::before { background: radial-gradient(circle at 85% 20%, rgba(78,184,224,.35), transparent 55%); }
@media (min-width: 1024px) { .scope-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.brands--text .brand { padding: var(--space-7) var(--space-6); }
.brands--text .brand strong { font-size: var(--text-xl); }
.note { margin-top: var(--space-7); background: var(--color-primary-50); border-left: 4px solid var(--color-primary); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); color: var(--color-neutral-800); line-height: 1.6; }
.price-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(4, 1fr); } }
.price { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-4); text-align: center; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.price:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(17,17,17,.28); border-color: var(--color-primary); }
.price strong { display: block; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: var(--weight-black); color: var(--color-neutral-900); line-height: 1.1; }
.price span { font-size: var(--text-sm); color: var(--color-neutral-600); }
.checklist { list-style: none; padding: 0; margin: var(--space-7) auto 0; max-width: 860px; display: grid; gap: var(--space-2) var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { position: relative; padding-left: 30px; color: var(--color-neutral-800); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--4::before { left: 12.5%; right: 12.5%; } }

/* Story-Abschnitte mit Bild (03.11.2026) */
.story__img { position: relative; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(17,17,17,.35); }
.story__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.story__img:hover img { transform: scale(1.04); }
.story h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); line-height: 1.15; margin: var(--space-2) 0 var(--space-4); text-wrap: balance; }
.story .btn { margin-top: var(--space-3); }
.lp-hero__bg .ai-label { right: 12px; bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .story__img img { transition: none; } }

/* Über uns (03.11.2026) */
.about-hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .about-hero__grid { grid-template-columns: 1.3fr 1fr; gap: var(--space-9); } }
.about-hero__img img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-2xl); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: block; margin-inline: auto; }
@media (max-width: 959px) { .about-hero__img img { max-width: 260px; } }
.about-quote { display: flex; gap: var(--space-4); align-items: center; justify-content: center; margin: var(--space-8) auto 0; max-width: 720px; }
.about-quote img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.about-quote blockquote { margin: 0; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: var(--weight-semibold); color: var(--color-neutral-900); line-height: 1.4; }
.about-quote figcaption { margin-top: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--color-neutral-600); }
.fit-card--link { display: block; text-decoration: none; color: inherit; }
.fit-card__pic { display: block; position: relative; overflow: hidden; }
.fit-card__more { display: inline-block; margin-top: var(--space-3); font-weight: var(--weight-bold); font-size: var(--text-sm); color: var(--color-primary-dark); transition: transform .3s; }
.fit-card--link:hover .fit-card__more, .join__card:hover .fit-card__more { transform: translateX(4px); }
.join { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .join { grid-template-columns: 1.4fr 1fr; } }
.join__card { display: flex; flex-direction: column; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.join__card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(17,17,17,.28); border-color: var(--color-primary); }
@media (min-width: 640px) { .join__card--img { flex-direction: row; } .join__card--img .join__pic { flex: 0 0 48%; } }
.join__pic { position: relative; display: block; overflow: hidden; }
.join__pic img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.join__card:hover .join__pic img { transform: scale(1.05); }
.join__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); justify-content: center; }
.join__body strong { font-size: var(--text-xl); color: var(--color-neutral-900); }
.join__body > span:not(.eyebrow):not(.fit-card__more) { color: var(--color-neutral-600); line-height: 1.55; }
.join__card:not(.join__card--img) { background: var(--color-primary-50); }

/* Proof-Leiste: eine Zeile pro Eintrag, Sterne unter 5,0 */
.proof__item strong, .proof__item span:not(.proof__ic):not(.proof__stars) { white-space: nowrap; }
.proof__ic--star { background: #FEF6DA; color: #E3A008 !important; }
.proof__item:hover .proof__ic--star { background: #FBBC04; color: #fff !important; }
.proof__item .proof__stars { display: block; font-size: 14px !important; line-height: 1.2; letter-spacing: 2px; margin-top: 2px; }
