/* Haustechnik Hardegen – Erscheinungsbild „hell & kompetent“
   Wird nach styles.css und brand.css geladen und legt den finalen Look fest:
   helle Flächen, ruhige Typografie in normaler Schreibweise, echte Fotos, Herstellerlogos. */

:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #111820;
  --ink-2: #1b2530;
  --text: #1c2632;
  --muted: #5b6874;
  --line: #e2e6e8;
  --flame: #d7261e;
  --flame-dark: #b31c15;
  --green: #0f9d4a;
  --green-dark: #0a7a38;
  --blue: #1f5fbf;
  --radius: 20px;
  --shadow: 0 24px 60px -32px rgba(17, 24, 32, .35);
  --shadow-sm: 0 10px 30px -18px rgba(17, 24, 32, .3);
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

body { background: var(--bg); color: var(--text); }
img { height: auto; }

/* Typografie: normale Schreibweise, klar und ruhig */
h1, h2 { text-transform: none; font-stretch: normal; font-weight: 650; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h1.h-sub { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.eyebrow { font-size: .78rem; letter-spacing: .16em; color: var(--green-dark); }
.eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lead { color: var(--muted); }
.section--white { background: var(--surface); }

/* Kopf: dunkle Leiste mit Logo, darunter alles hell */
.topbar { background: #0b1016; }
.header { background: rgba(17, 24, 32, .97); }
.nav a { font-weight: 500; }

/* ============ Hero ============ */
.hero2 { background: var(--surface); padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero2-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero2 h1 { margin-bottom: 22px; }
.hero2 .hl--green { color: var(--green); }
.hero2 .hl--blue { color: var(--blue); }
.hero2 .lead { font-size: 1.18rem; margin-bottom: 34px; }
.hero2-points { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 10px; }
.hero2-points li { padding-left: 30px; position: relative; font-weight: 550; }
.hero2-points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; }
.btn--light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--ink); }
.hero2-photo { position: relative; }
.hero2-photo > img { width: 100%; aspect-ratio: 1289 / 1220; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero2-caption { margin: 16px 0 0; font-size: .92rem; color: var(--muted); }
.hero2-caption b { color: var(--text); }
.float { position: absolute; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 14px 18px; }
.float--kp { left: -44px; bottom: 120px; padding: 14px 16px; width: 230px; }
.float--kp img { width: 100%; height: auto; display: block; }
.float--rating { right: -22px; top: 36px; display: flex; align-items: center; gap: 12px; }
.float--rating b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.float--rating span { font-size: .82rem; color: var(--muted); line-height: 1.3; }
.float--rating .stars { color: #f2b134; font-size: .95rem; letter-spacing: 2px; display: block; }
/* Förder-Plakette sitzt im Foto (überdeckt die Bildunterschrift nicht) und führt zum Förderrechner */
.float--funding { right: 20px; bottom: 20px; background: var(--ink); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.float--funding:hover { transform: translateY(-2px); background: #000; }
.float--funding b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; color: #57e08c; }
.float--funding span { font-size: .84rem; color: #c6d0d8; }

/* ============ Herstellerleiste ============ */
.logos { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.logos .wrap { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
.logos-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 650; max-width: 16ch; line-height: 1.4; }
.logos-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.logo-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: grid; place-items: center; padding: 14px 22px; min-height: 104px; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
a.logo-tile:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.logo-tile img { max-height: 76px; max-width: 100%; width: auto; }
.logo-tile--lambda { background: #1b2f55; border-color: #1b2f55; color: #fff; text-align: center; line-height: 1.1; }
.logo-tile--lambda small { display: block; font-size: .72rem; letter-spacing: .08em; color: #c9d4e6; }
.logo-tile--lambda b { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: .04em; color: #f7a800; }

/* ============ Kompetenzpartner ============ */
.kp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.kp-badge { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 48px 40px; box-shadow: var(--shadow); text-align: center; }
.kp-badge img { width: min(360px, 100%); height: auto; margin: 0 auto 24px; }
.kp-badge p { margin: 0; color: var(--muted); font-size: .95rem; }
.kp-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 22px; }
.kp-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.kp-list .num { width: 44px; height: 44px; border-radius: 12px; background: #e4f3ef; color: #00806f; display: grid; place-items: center; font-weight: 700; }
.kp-list b { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.kp-list span { color: var(--muted); }
.kp-more { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.kp-more img { height: 56px; width: auto; border-radius: 8px; border: 1px solid var(--line); }

/* ============ Leistungen (vier Elemente) ============ */
.elements { gap: 26px; }
.elements .element { border-radius: 22px; box-shadow: none; }
.elements .element:hover { box-shadow: var(--shadow); }
.element h3 { font-family: var(--font); text-transform: none; font-size: 1.45rem; font-weight: 650; letter-spacing: -.01em; }
.service-band { background: var(--ink); }
.service-band h3 { font-family: var(--font); text-transform: none; font-size: 1.35rem; font-weight: 650; }

/* ============ Wärmepumpe (Einstieg) ============ */
.wp-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.wp-split > img { width: 100%; border-radius: 26px; box-shadow: var(--shadow); }
.section--dark .teaser-facts li { border-left-color: #57e08c; }

/* ============ Projektteam ============ */
.team-intro { max-width: 760px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.person { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; }
.person-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.avatar-lg { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.2rem; background: var(--c, var(--ink)); flex: none; }
.person h3 { font-size: 1.2rem; margin: 0; }
.person .role { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.person p { color: var(--muted); margin: 0; }
.person-feature { margin-top: 26px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.person-feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 38%; border-radius: 16px; }
.person-feature h3 { font-size: 1.6rem; margin: 6px 0 2px; }
.person-feature .role { display: block; color: var(--muted); margin-bottom: 14px; }
.person-feature p { color: var(--muted); margin: 0; max-width: 56ch; }
.member .pic { overflow: hidden; }
.member .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
/* Wärmepumpe + PV */
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.duo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.duo-list li { background: var(--bg); border-radius: 16px; padding: 20px 22px; border-left: 4px solid #f2b134; }
.duo-list li:nth-child(2) { border-left-color: var(--green); }
.duo-list li:nth-child(3) { border-left-color: var(--blue); }
.duo-list b { display: block; margin-bottom: 4px; }
.duo-list span { color: var(--muted); font-size: .95rem; }

/* Vierter Partner – Hauptmarken (Vaillant, Bosch) breiter und größer */
.logos .wrap { grid-template-columns: 1fr; gap: 16px; }
.logos-label { max-width: none; }
.logos-row { grid-template-columns: 1.35fr 1.35fr 1fr 1fr 1fr; }
.logo-tile img[src*="solarfocus"] { max-width: 92%; }
.logo-tile { position: relative; min-height: 132px; padding-bottom: 30px; }
.logo-tile em { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.logo-tile--lambda em { color: #f7a800; }
.logo-tile--main img { max-height: 84px; }
.logo-tile img.logo-bosch { max-height: 112px; margin-top: -6px; }
/* Reihenfolge der Hersteller-Karten: Hauptmarken Vaillant und Bosch zuerst, Lambda als Premium danach */
.brands > .brand-card--top { order: 3; }
.brand-logo img.logo-bosch { max-height: 104px; max-width: 160px; }
.logo-tile--text { text-align: center; line-height: 1.15; }
.logo-tile--text small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-tile--text b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--text); }
.partner-note { margin: 34px 0 0; padding: 18px 22px; background: var(--bg); border-radius: 14px; color: var(--muted); }
.partner-note b { color: var(--text); }
.partner-note--logo { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.partner-note--logo img { width: 200px; height: auto; background: #fff; border-radius: 10px; padding: 10px 14px; }
.partner-note--logo p { margin: 0; flex: 1 1 300px; }
@media (max-width: 1020px) { .logos-row { grid-template-columns: 1fr 1fr; } }

/* PV-Rechner */
.calc { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; align-items: start; }
.calc-inputs { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 18px; }
.section--white .calc-inputs { background: var(--bg); }
.calc-inputs .range-row output { font-size: 1.3rem; min-width: 90px; text-align: right; }
.input-unit { display: flex; align-items: center; border: 1.5px solid #cdd5d4; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.input-unit input { border: 0 !important; box-shadow: none !important; }
.input-unit span { padding: 0 14px; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.section--white .kpi { background: var(--bg); }
.kpi span { display: block; font-size: .84rem; color: var(--muted); }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.2; margin-top: 4px; }
.kpi--wide { grid-column: 1 / -1; background: var(--ink) !important; color: #fff; border-color: var(--ink); }
.kpi--wide span { color: #c6d0d8; }
.kpi--wide b { color: #57e08c; font-size: 2.3rem; }
.kpi--hero { grid-column: 1 / -1; }
.kpi--hero b { font-size: 2.6rem; color: var(--green-dark); }
.calc-results .note { grid-column: 1 / -1; margin: 0; }
.amort-chart { margin: 40px 0 16px; }
.amort-chart figcaption { font-weight: 650; margin-bottom: 12px; }
.amort-plot { position: relative; }
.amort-plot svg { width: 100%; height: auto; display: block; }
.amort-plot .grid { stroke: var(--line); stroke-width: 1; }
.amort-plot .axis0 { stroke: var(--muted); stroke-width: 1.5; }
.amort-plot .tick { font-size: 12px; fill: var(--muted); }
.amort-plot rect.neg { fill: #e8837d; }
.amort-plot rect.pos { fill: #2fae66; }
.amort-plot rect:hover { opacity: .8; }
.amort-tip { position: absolute; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .84rem; padding: 6px 10px; border-radius: 8px; pointer-events: none; white-space: nowrap; }
.amort-legend { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; font-size: .86rem; color: var(--muted); margin-top: 10px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: -10px; vertical-align: -2px; }
.sw--neg { background: #e8837d; }
.sw--pos { background: #2fae66; }
.pv-form { max-width: 760px; margin: 0 auto; }
.pv-form h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
@media (max-width: 1020px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .calc-results { grid-template-columns: 1fr; } }

/* Wärmepumpen-Rechner */
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; gap: 4px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 9px 22px; border-radius: 999px; font-weight: 650; color: var(--muted); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid #f2b134; }
.hint-small { font-size: .84rem; color: var(--muted); margin: 6px 0 0; }
.hint-box { font-size: .88rem; background: #fff7e6; border-left: 4px solid #f2b134; border-radius: 10px; padding: 12px 14px; margin: 0; color: var(--text); }
.hint-box--info { background: #e8f4ff; border-left-color: var(--blue); }
.calc-more { margin-top: 0; border-top: 0; }
.calc-more > summary { padding: 12px 34px 12px 0; font-size: .96rem; }
.calc-more-body { display: grid; gap: 14px; padding-bottom: 8px; }
.kpi-sub { display: block; margin-top: 6px; font-size: .82rem; color: #c6d0d8; }
.result-box.budget.ok { border-left: 4px solid var(--green); }
.result-box.budget.warn { border-left: 4px solid #f2b134; }
.costbars { grid-column: 1 / -1; background: var(--bg); border-radius: 18px; padding: 20px 22px; }
.section:not(.section--white) .costbars { background: var(--surface); }
.costbars h4 { margin: 0 0 12px; font-size: .9rem; color: var(--muted); font-weight: 650; }
.costbar { display: grid; grid-template-columns: 110px 1fr 90px; gap: 12px; align-items: center; margin-bottom: 10px; font-size: .92rem; }
.costbar i { display: block; height: 14px; border-radius: 0 4px 4px 0; background: #9aa5ae; transition: width .3s ease; }
.costbar--wp i { background: #2fae66; }
.costbar b { text-align: right; }
.costbars .note { margin: 6px 0 0; }

/* Finanzierung, Miete, Garantie */
.fin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.fin-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.fin-card h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.fin-card p, .fin-card li { color: #c6d0d8; margin: 0; }
.fin-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.fin-card .btn { align-self: flex-start; margin-top: auto; }
.fin-steps { font-size: .88rem; color: #aab4bd !important; border-left: 3px solid #57e08c; padding-left: 12px; }
.fin-tag { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #57e08c; }
.fin-card--highlight { background: #fff; border-color: #fff; }
.fin-card--highlight h3 { color: var(--ink); }
.fin-card--highlight p { color: var(--muted); }
.fin-card--highlight .fin-tag { color: var(--flame); }
.fin-price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--green-dark) !important; }
.fin-card--highlight .note { margin-top: auto; }
@media (max-width: 1020px) { .fin { grid-template-columns: 1fr; } }

/* Kontakt: Vorteile */
.why-title { font-size: 1.1rem; margin: 30px 0 12px; }
.why { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.why li { padding-left: 28px; position: relative; font-size: .96rem; color: var(--muted); }
.why li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.why b { color: var(--text); }

/* Bewertungs-Laufband */
.review-ticker { margin-top: 48px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.review-track { display: flex; gap: 18px; width: max-content; animation: reviews 60s linear infinite; }
.review-ticker:hover .review-track { animation-play-state: paused; }
@keyframes reviews { to { transform: translateX(-50%); } }
.review-card { width: 340px; flex: none; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.review-card .stars { color: #f2b134; letter-spacing: 2px; }
.review-card p { margin: 8px 0 10px; font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-card footer { font-size: .84rem; color: var(--muted); }
.review-source { text-align: center; font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
@media (prefers-reduced-motion: reduce) { .review-track { animation: none; flex-wrap: wrap; width: auto; } }

/* Service-Hinweise: E-Mail und Notdienst */
.service-info { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-info p { margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.service-info .service-info--urgent { background: #fde8e6; border-color: #f6c9c4; }
.service-info a { font-weight: 650; }
@media (max-width: 640px) { .service-info { grid-template-columns: 1fr; } }

/* Vision */
.vision { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.vision--page { margin-top: 110px; }
.vision-lead { font-size: 1.28rem; line-height: 1.55; color: var(--text); font-weight: 500; }
.vision-text p:not(.vision-lead) { color: var(--muted); }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.values li { background: var(--bg); border-radius: 18px; padding: 24px 22px; border-top: 4px solid var(--c, var(--flame)); }
.values li:nth-child(1) { --c: var(--flame); }
.values li:nth-child(2) { --c: var(--blue); }
.values li:nth-child(3) { --c: var(--green); }
.values li:nth-child(4) { --c: #f2b134; }
.values b { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.values span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.section:not(.section--white) .values li { background: var(--surface); }
@media (max-width: 1020px) { .duo { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 1020px) { .vision { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }
.portrait--photo { padding: 0; }
.portrait--photo::after { display: none; }
.portrait--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.contact-photo { margin: 28px 0 8px; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-sm); }
.contact-photo figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.team-photo { margin: 0 0 30px; }
.team-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.team-photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.person-photo { width: calc(100% + 56px); max-width: none; margin: -30px -28px 22px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 38% 35%; border-radius: 22px 22px 0 0; }
.person:has(.person-photo) .avatar-lg { display: none; }
.career-split > img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; max-height: 640px; }
.shot--photo { margin: 0; padding: 0; border: 0; position: relative; overflow: hidden; display: block; }
.shot--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .4s ease; }
.shot--photo:hover img { transform: scale(1.04); }
.shot--photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .86rem; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.career-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.career-photos .career-figure:nth-child(2) { margin-top: 44px; }
.career-photos .career-figure img { aspect-ratio: 3 / 4; border-radius: 20px; }
.career-figure { margin: 0; }
.career-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; max-height: 560px; border-radius: 26px; box-shadow: var(--shadow); }
.career-figure figcaption { margin-top: 10px; font-size: .88rem; color: #cfe0da; }
.career-quote { margin: 26px 0 22px; padding-left: 22px; border-left: 4px solid #ffd34d; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 650; line-height: 1.3; color: #fff; }
.career-quote cite { display: block; margin-top: 10px; font-family: var(--font); font-size: .9rem; font-style: normal; font-weight: 500; color: #cfe0da; }
.person-office { margin-top: 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; }
.person-office p { margin: 4px 0 0; color: var(--muted); }

/* ============ Bewertungen, Kontakt, Fuß ============ */
.rating-score b { color: var(--ink); }
#kontakt.section--light { background: var(--bg); color: var(--text); }
#kontakt.section--light .lead { color: var(--muted); }
#kontakt.section--light .contact-list .icon { background: #e4f3ef; color: #00806f; }
#kontakt.section--light .contact-list small { color: var(--muted); }
#kontakt.section--light .panel { box-shadow: var(--shadow-sm); }
.footer .footer-partners { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; justify-content: center; padding-bottom: 26px; }
.footer-partners img { height: 46px; width: auto; border-radius: 6px; background: #fff; }

/* Hersteller-Karten auf der Wärmepumpen-Seite */
.brand-logo img { max-height: 70px; max-width: 220px; }
/* Hochformat-Fotos ungekürzt zeigen (kein abgeschnittener Kopf) */
.brand-photo--full { aspect-ratio: 3 / 4 !important; object-fit: cover; object-position: 50% 50%; }
.brand-photo--test { aspect-ratio: 1170 / 1407 !important; object-fit: contain !important; background: #f3efe9; }
.test-note { font-size: .88rem; background: #fdecec; border-left: 4px solid #c8102e; padding: 10px 14px; border-radius: 8px; color: var(--text) !important; }
.brand-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin: 6px 0 16px; }

@media (max-width: 1020px) {
  .hero2-grid, .kp-grid, .wp-split { grid-template-columns: 1fr; gap: 44px; }
  .hero2-photo { max-width: 560px; }
  .float--kp { left: 12px; }
  .float--rating { right: 12px; }
  .people { grid-template-columns: 1fr 1fr; }
  .logos .wrap { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .people, .logos-row { grid-template-columns: 1fr; }
  .person-office, .person-feature { grid-template-columns: 1fr; }
  /* Handy: Förder-Hinweis und Siegel stehen unter dem Foto, damit nichts das Gesicht verdeckt;
     die Google-Bewertung steht weiter unten auf der Seite */
  .hero2-photo { display: grid; grid-template-columns: 1fr 132px; gap: 12px; align-items: stretch; }
  .hero2-photo > img { grid-column: 1 / -1; }
  .float--funding, .float--kp { position: static; width: auto; }
  .float--funding { order: 1; }
  .float--kp { order: 2; display: flex; align-items: center; padding: 10px 12px; }
  .float--rating { display: none; }
}

/* Rechtstexte: lange Wörter und Adressen am Handy umbrechen */
.legal { overflow-wrap: anywhere; }
.legal ul { padding-left: 20px; }

/* Anfahrtskarte (Zwei-Klick-Lösung) */
.map-box { display: grid; place-items: center; gap: 14px; text-align: center; min-height: 260px; padding: 28px 20px;
  margin: 0 0 24px; border: 1px solid rgba(0,0,0,.12); border-radius: 16px; background: #fff; }
.map-box p { max-width: 520px; margin: 0; }
.map-box--geladen { padding: 0; overflow: hidden; }
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }

/* FAQ: Listen in den Antworten */
.faq details ul, .faq details ol { color: var(--muted); margin: 0 0 18px; padding-left: 22px; max-width: 70ch; display: grid; gap: 8px; }
.faq details b { color: var(--ink, inherit); }

/* Umschalter im Rechner: versteckte Auswahlfelder dürfen die Seite nicht verbreitern */
.seg label { position: relative; }
.seg input { left: 0; top: 0; }

/* Vier Hersteller: zwei Karten je Zeile, Reihenfolge wie im Quelltext */
@media (min-width: 1021px) { .brands--vier { grid-template-columns: repeat(2, 1fr); } }
.brands--vier > .brand-card--top { order: 0; }
