/* V086.642 · Echte Kundenprojekte: eigene Namensräume, keine Eingriffe in Konfiguratoren. */
.fr-ref-teaser,.fr-ref-overview,.fr-ref-case{color:#14251d}
/* Kompakter Homepage-Teaser: keine Hero-Fläche, detailreiche Fotos nur auf Projektseiten. */
.fr-ref-teaser{max-width:1120px;margin:28px auto;padding:0 24px}
.fr-ref-teaser-grid{display:grid;grid-template-columns:330px minmax(0,1fr);overflow:hidden;border-radius:16px;background:#eeeae2;border:1px solid #ded9cf;box-shadow:none}
.fr-ref-teaser-photo{margin:0;height:200px;min-height:0;background:#d6c1aa}
.fr-ref-teaser-photo a,.fr-ref-teaser-photo img{display:block;width:100%;height:100%}
.fr-ref-teaser-photo img{object-fit:cover;object-position:center 52%}
.fr-ref-teaser-body{padding:20px 28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.fr-ref-kicker{font-size:11px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#516b5c}
.fr-ref-teaser h2{font-size:clamp(20px,2.1vw,25px);line-height:1.22;letter-spacing:-.02em;margin:8px 0 6px}
.fr-ref-overview h1,.fr-ref-case h1{font-size:clamp(29px,3.1vw,48px);line-height:1.12;letter-spacing:-.04em;margin:16px 0}
.fr-ref-teaser p{font-size:14px;line-height:1.55;color:#425349;max-width:70ch;margin:0 0 8px}
.fr-ref-case p,.fr-ref-overview p{font-size:16px;line-height:1.7;color:#425349;max-width:60ch}
.fr-ref-meta{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 26px;padding:0;list-style:none}
.fr-ref-meta li{padding:7px 11px;border:1px solid #c9cfc7;border-radius:20px;font-size:12px;font-weight:700;color:#36483c}
.fr-ref-action{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 19px;background:#14251d;color:#fff!important;border-radius:99px;font-size:14px;font-weight:750;text-decoration:none!important}
.fr-ref-action:focus-visible,.fr-ref-inline-link:focus-visible{outline:3px solid #6b8a63;outline-offset:3px}
.fr-ref-inline-link{color:#244b35;font-weight:800;text-decoration:underline;text-underline-offset:4px}
.fr-ref-teaser-link{font-size:14px}
.fr-ref-overview,.fr-ref-case{max-width:1120px;margin:0 auto;padding:32px 24px 90px}
.fr-ref-overview .fr-ref-lead,.fr-ref-case .fr-ref-lead{font-size:clamp(17px,1.7vw,21px);line-height:1.6;max-width:820px}
.fr-ref-overview-card{display:grid;grid-template-columns:1.1fr 1fr;gap:0;margin:35px 0;border:1px solid #ded9cf;border-radius:24px;overflow:hidden;background:#eeeae2}
.fr-ref-overview-card img{width:100%;height:100%;object-fit:cover;aspect-ratio:1.45}
.fr-ref-overview-card-body{padding:clamp(24px,4vw,48px);align-self:center}
.fr-ref-overview-card h2{font-size:clamp(25px,2.7vw,38px);line-height:1.2;margin:12px 0}
.fr-ref-crumbs{font-size:13px;margin:0 0 28px;color:#56665b}
.fr-ref-crumbs a{color:inherit}
.fr-ref-gallery{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin:38px 0 46px;align-items:stretch}
.fr-ref-gallery figure{margin:0;border-radius:18px;overflow:hidden;background:#e8e0d5;display:flex;flex-direction:column}
.fr-ref-gallery img{width:100%;height:100%;max-height:640px;object-fit:cover;display:block}
.fr-ref-gallery figure:first-child img{aspect-ratio:4/3}
.fr-ref-gallery figure:last-child img{aspect-ratio:3/4}
.fr-ref-gallery figcaption{padding:12px 15px;font-size:13px;line-height:1.45;background:#e8e0d5;color:#36483c}
.fr-ref-case-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.44fr);gap:40px;align-items:start}
.fr-ref-case-details h2{font-size:clamp(24px,2.5vw,34px);line-height:1.2;margin:0 0 16px}
.fr-ref-case-details h3{font-size:21px;margin:30px 0 10px}
.fr-ref-specs{border:1px solid #d3d8d0;border-radius:16px;padding:22px;background:#f4f2ed}
.fr-ref-specs dt{font-weight:800;margin:18px 0 3px;font-size:13px;color:#405248}
.fr-ref-specs dt:first-child{margin-top:0}
.fr-ref-specs dd{margin:0;font-size:14px;line-height:1.5}
.fr-ref-note{background:#f1ede4;border-left:3px solid #708374;padding:15px 18px;font-size:14px;line-height:1.6;margin:28px 0;color:#33443a}
.fr-ref-last-cta{border-top:1px solid #d4d9d2;margin:45px 0 0;padding:28px 0 0}
.fr-ref-about{margin:40px 0;padding:23px;border-radius:16px;background:#ebe7de;display:flex;gap:24px;align-items:center;justify-content:space-between}
.fr-ref-about p{margin:0}
@media(max-width:740px){.fr-ref-teaser{margin:22px auto;padding:0 16px}.fr-ref-teaser-grid{grid-template-columns:1fr}.fr-ref-teaser-photo{height:170px}.fr-ref-teaser-body{padding:14px 16px}.fr-ref-teaser h2{font-size:19px;margin:6px 0}.fr-ref-teaser p{font-size:12px;line-height:1.45;margin-bottom:6px}.fr-ref-kicker{font-size:10px;letter-spacing:.04em}.fr-ref-teaser-link{font-size:12px}.fr-ref-overview-card,.fr-ref-case-details{grid-template-columns:1fr}.fr-ref-overview,.fr-ref-case{padding:24px 16px 65px}.fr-ref-gallery{grid-template-columns:1fr;gap:13px}.fr-ref-gallery img{max-height:none!important}.fr-ref-gallery figure:first-child img{aspect-ratio:4/3}.fr-ref-gallery figure:last-child img{aspect-ratio:3/4}.fr-ref-about{display:block}.fr-ref-about .fr-ref-action{margin-top:16px}}

@media(max-width:480px){.fr-ref-teaser-grid{grid-template-columns:1fr}.fr-ref-teaser-photo{height:155px}.fr-ref-teaser-body{padding:12px 14px}.fr-ref-teaser h2{font-size:17px}.fr-ref-teaser p{font-size:12px;line-height:1.35}.fr-ref-kicker{font-size:9px}}

/* V086.644: a slim proof section between benefits and planning, not another hero. */
.home-page .fr-ref-teaser{margin:22px auto 18px}
@media(max-width:740px){.home-page .fr-ref-teaser{margin:16px auto 14px}}

/* V086.645: two equally weighted reference cards and authentic FAKTUM before/after. */
.fr-ref-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:32px 0}
.fr-ref-overview-grid .fr-ref-overview-card{display:flex;flex-direction:column;margin:0;border-radius:18px;min-width:0}
.fr-ref-overview-grid .fr-ref-overview-card>a{display:block;overflow:hidden;aspect-ratio:1.55;background:#e1dad0}
.fr-ref-overview-grid .fr-ref-overview-card img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center 55%}
.fr-ref-overview-grid .fr-ref-overview-card-body{padding:24px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.fr-ref-overview-grid .fr-ref-overview-card h2{font-size:clamp(22px,2.1vw,28px);margin:8px 0}
.fr-ref-overview-grid .fr-ref-overview-card-body p{font-size:14px;line-height:1.6;flex:1}
.fr-ref-overview-grid .fr-ref-action{margin-top:12px}
.fr-ref-teaser-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px 18px}
.fr-ref-teaser-secondary{font-size:12px;color:#53675b;text-decoration:underline;text-underline-offset:3px}
.fr-ref-before-after h2,.fr-ref-secondary-gallery h2{font-size:clamp(22px,2.4vw,30px);line-height:1.2;margin:25px 0 18px}
.fr-ref-compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.fr-ref-compare-grid figure,.fr-ref-secondary-grid figure{min-width:0;margin:0;position:relative;overflow:hidden;background:#e9e1d7;border-radius:16px}
.fr-ref-compare-grid img{display:block;width:100%;height:clamp(300px,43vw,490px);object-fit:cover;object-position:center 54%}
.fr-ref-compare-grid figure:first-child img{object-position:center 60%}
.fr-ref-image-label{position:absolute;z-index:1;top:14px;left:14px;font-size:12px;font-weight:800;letter-spacing:.02em;padding:8px 12px;border-radius:99px;color:#15271d;background:#fffdf4}
.fr-ref-image-label-after{color:#fff;background:#19392a}
.fr-ref-compare-grid figcaption,.fr-ref-secondary-grid figcaption{padding:13px 16px;font-size:13px;line-height:1.45;color:#36483c}
.fr-ref-pankow .fr-ref-case-details{margin:44px 0}
.fr-ref-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fr-ref-secondary-grid img{display:block;width:100%;height:clamp(260px,35vw,430px);object-fit:cover;object-position:center 56%}
@media(max-width:740px){.fr-ref-overview-grid{grid-template-columns:1fr;gap:16px}.fr-ref-overview-grid .fr-ref-overview-card>a{aspect-ratio:1.6}.fr-ref-compare-grid{gap:9px}.fr-ref-compare-grid img{height:300px}.fr-ref-compare-grid figcaption{font-size:11px;padding:10px}.fr-ref-image-label{font-size:10px;left:8px;top:8px;padding:6px 9px}.fr-ref-secondary-grid{grid-template-columns:1fr}.fr-ref-secondary-grid img{height:auto;max-height:480px;object-fit:contain}}
@media(max-width:390px){.fr-ref-compare-grid img{height:250px}}
