/* Hallmark · polish (Testversion 12.11.2026) · Marke, Farben, Schriften und Layout bleiben; nur die Vorlagen-Merkmale und Fehler aus dem Audit */

/* 34: overflow-x clip statt hidden (mitlaufende Kopfzeile bleibt stabil) */
html,body{overflow-x:clip}

/* 54: Eyebrows vor Überschriften entfallen, die Überschrift trägt den Abschnitt */
.tag:has(+ h1),.tag:has(+ h2),.tag:has(+ .h1),.tag:has(+ .h2),
.eyebrow:has(+ h1),.eyebrow:has(+ h2),.eyebrow:has(+ .h1),.eyebrow:has(+ .h2),
.sv-head > .tag,.sec-head .tag,.sec-head .eyebrow{display:none}

/* 67: Labels in Satzschreibung, ohne Sperrung (Wortmarke "SEEGER ENERGIE" bleibt) */
.eyebrow,.tag,.chip,.cred small,.fact-panel .fp-k,.fact-panel thead th,.facts-box small,.faq-cat,
.foot-creds span,.hero-card .k,.img-note,.intent-label,.note-box b,.pd-count,.pd-kick,.pd-vn figcaption,
.portrait .ph-l,.ref .st,.ref small,.role,.sample__k,.step small,.sv-card .sv-r b,.tl .c .t span,.tl .d small,th,
.vn__chip small,.vn__panel .pk,.vn__scale small,.vn__kpi small,.vn__foot .tags span{
  text-transform:none;letter-spacing:normal;font-variant-caps:normal}
.tag{font-size:13.5px;font-weight:600}

/* 38i / 38iii: Überschriften in einem Schnitt und einer Farbe */
h1 em,h2 em,.h1 em,.h2 em,.phero-dark .h1 em{font-style:normal;color:inherit;background:none;box-shadow:none;text-decoration:none}
h1 em::before,h1 em::after,.h1 em::before,.h1 em::after,h2 em::after,.h2 em::after{content:none;display:none}

/* 63: kein Pfeil als Textanhang */
.svc em::after{content:none}

/* 62: Inhalte ohne JavaScript sichtbar */
html:not(.js) .slides img:first-child,html:not(.js) .vn__stage img:first-child{opacity:1}
html:not(.js) .to-top{opacity:1;visibility:visible;transform:none}
html:not(.js) .rv,html:not(.js) .load-rise{opacity:1;transform:none}

/* 39a: deaktivierte Buttons über drei Kanäle */
.btn[disabled],.btn:disabled,button[disabled]{cursor:not-allowed;background:var(--sand-2);color:var(--muted);border-color:var(--line);opacity:1}

/* 26b: sichtbarer Druckzustand */
.btn:active,.nav>a:active,.intent:active,.link-arrow:active{transform:translateY(1px)}

/* 50: Bildspalten ohne Überlauf */
@media (max-width:700px){.creds .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}}
h1,h2,.h1,.h2{min-width:0}

/* 11: Bilder bleiben beim Überfahren ruhig */
a:hover .media img,.media:hover img{transform:none}

/* Hintergründe: Creme/Sand (Gate 65) → kühles Kalkweiß/Betongrau, leicht zum Markengrün getönt. Grün, Messing, Logo bleiben. */
html:root{--ground:#F1F3F1;--paper:#FFFFFF;--sand:#E2E6E3;--sand-2:#EBEEEC;--line:#CBD3CE;--on-green:#EEF2EF;--on-green-2:#D2DBD6;--on-green-3:#B8C7BF}

/* Critique 17.11.2026: Startseite entschlackt */
h1,.h1,h2,.h2{hyphens:manual;-webkit-hyphens:manual}
.foot-creds{display:none}
.direct .av-photo{padding:0;overflow:hidden;background:var(--sand)}
.direct .av-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%}
@media (max-width:760px){
 .hero .hero-grid{gap:28px}
 .hero .hero-media{order:-1}
 .hero .hero-media .slides{aspect-ratio:4/3;height:auto}
}

/* Weniger KI-Muster 17.11.2026 */
.tag{display:none!important}
.h1 em,h1 em{font-style:normal;color:inherit}
.hero .proof{margin-top:-6px}
/* Qualifikationen: schlichte Zeile statt Kacheln mit Etiketten */
.creds .cred small{display:none}
.creds .cred{padding-block:18px}
.creds .cred span{font-weight:500;font-size:14.5px;color:var(--ink)}
/* Browser-Oberflächen im Farbsystem */
::selection{background:var(--green);color:#fff}
html{scrollbar-color:var(--on-green-3) var(--ground);accent-color:var(--green)}
/* Kategorie-Kästchen auf Projektfotos weg, Ort und Art stehen darunter */
.tag-img{display:none!important}

/* Schrift und Flächen 17.11.2026: Barlow (DIN-Charakter) statt Newsreader/Instrument Sans, Weiß statt getönter Flächen */
@font-face{font-family:'Barlow';font-weight:400;font-style:normal;font-display:swap;src:url(../fonts/barlow-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/barlow-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/barlow-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-weight:700;font-style:normal;font-display:swap;src:url(../fonts/barlow-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Semi Condensed';font-weight:500;font-style:normal;font-display:swap;src:url(../fonts/barlow-semi-condensed-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Barlow Semi Condensed';font-weight:600;font-style:normal;font-display:swap;src:url(../fonts/barlow-semi-condensed-latin-600-normal.woff2) format('woff2')}
html:root{--serif:'Barlow Semi Condensed','Barlow','Arial Narrow',Arial,sans-serif;--sans:'Barlow',Arial,sans-serif;
 --ground:#FFFFFF;--paper:#FFFFFF;--sand:#EDEFEE;--sand-2:#F4F5F4;--line:#D5DAD7}
body{font-size:17px;letter-spacing:.005em}
.h1,.h2,.h3,h1,h2,h3,.ref b,.ref-h1,.svc b,.sv-card h3,.pd h3,.who b,.fact b,.num b,.hero-card .t,.direct .tel,.bsp-plans-head h3,#leistungen .svc b,.tl .c h3,.vv-txt h3,.aud h3,.sv-stufe h3{font-weight:600!important;letter-spacing:-.005em}
.h1,h1{font-size:clamp(36px,4.6vw,62px)!important;line-height:1.04!important;letter-spacing:-.012em}
.h2{font-size:clamp(28px,3vw,42px)!important;line-height:1.08!important}
.ref b{font-size:22px}
/* Flächen: weiß, Abschnitte nur durch Linien getrennt */
.sec-paper{background:#fff!important}
.sec+.sec,.sec-paper+.sec,.sec+.sec-paper{border-top:1px solid var(--line)}
.creds{background:var(--sand)!important;border-block:0!important}

/* Fachtexte 17.11.2026: Formelzeichen mit Index ohne Zeilensprung */
sub{font-size:.72em;line-height:0;position:relative;top:.28em;vertical-align:baseline}

/* ===== Gestaltung 17.11.2026 (abends) ===== */
/* Startseite: Leistungsindex auf Tiefgrün, große Titel, Pfeilfläche in Logo-Gelb beim Überfahren */
.lx-sec{background:var(--green);color:var(--on-green);border:0!important;padding-block:clamp(72px,9vw,128px)}
.lx{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,6vw,96px);align-items:start}
.lx-intro{position:sticky;top:112px;display:flex;flex-direction:column;gap:22px;min-width:0}
.lx-sec .h2{color:#fff}
.lx-sec .lead{color:var(--on-green-2)}
.lx-fig{margin:14px 0 0}
.lx-fig img{display:block;width:100%;height:auto;background:#fff}
.lx-fig figcaption{margin-top:12px;font-size:14px;line-height:1.5;color:var(--on-green-3)}
.lx-main{min-width:0}
.lx-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(238,242,239,.32)}
.lx-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:clamp(20px,3vw,40px);row-gap:6px;align-items:center;padding:26px 0;border-bottom:1px solid rgba(238,242,239,.2);color:#fff;text-decoration:none}
.lx-t{grid-column:1;font-family:var(--serif);font-weight:600;font-size:clamp(23px,2.2vw,30px);line-height:1.15;letter-spacing:-.005em;color:#fff;transition:color .18s}
.lx-d{grid-column:1;font-size:16px;line-height:1.55;color:var(--on-green-2);max-width:60ch}
.lx-go{grid-column:2;grid-row:1 / span 2;width:52px;height:52px;display:grid;place-items:center;border:1px solid rgba(238,242,239,.5);color:#fff;transition:background .18s,border-color .18s,color .18s}
.lx-go svg{width:22px;height:22px}
.lx-row:hover,.lx-row:focus-visible{color:#fff}
.lx-row:hover .lx-t,.lx-row:focus-visible .lx-t{color:var(--logo)}
.lx-row:hover .lx-go,.lx-row:focus-visible .lx-go{background:var(--logo);border-color:var(--logo);color:var(--green-d)}
.lx-row:focus-visible{outline:2px solid var(--logo);outline-offset:6px}
.lx-all{margin:34px 0 0}
@media (max-width:980px){.lx{grid-template-columns:minmax(0,1fr)}.lx-intro{position:static}.lx-fig{display:none}}
@media (max-width:560px){.lx-row{padding:22px 0}.lx-go{width:44px;height:44px}.lx-d{font-size:15.5px}}
@media (prefers-reduced-motion:reduce){.lx-t,.lx-go{transition:none}}
/* Startbild: Bildunterschrift mit Ort und Projekt */
.hero-media .slide-cap{margin:12px 0 0;font-size:14px;line-height:1.45;color:var(--muted);min-height:1.45em}

/* ===== Aufteilung und Verweise 17.11.2026 (spät) ===== */
/* Pfeilfläche: ein Zeichen für "führt auf eine eigene Seite", auf Weiß in Grün */
.ax-go{flex:none;width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--green);color:var(--green);transition:background .18s,color .18s,border-color .18s}
.ax-go svg{width:20px;height:20px}
/* Verweise unter dem Leistungsverzeichnis einer Fachseite */
.ax-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,4vw,56px);border-top:1px solid var(--ink)}
.ax-list>li{min-width:0;scroll-margin-top:110px;border-bottom:1px solid var(--line)}
.ax-row{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:6px;align-items:center;padding:22px 0;min-height:100%;color:var(--ink);text-decoration:none}
.ax-t{grid-column:1;font-family:var(--serif);font-weight:600;font-size:clamp(20px,1.7vw,23px);line-height:1.2;color:var(--ink);transition:color .18s}
.ax-d{grid-column:1;font-size:15.5px;line-height:1.55;color:var(--text2)}
.ax-row .ax-go{grid-column:2;grid-row:1 / span 2}
.ax-row:hover .ax-t,.ax-row:focus-visible .ax-t{color:var(--green)}
.ax-row:hover .ax-go,.ax-row:focus-visible .ax-go{background:var(--green);color:#fff}
.ax-row:focus-visible{outline:2px solid var(--green);outline-offset:4px}
@media (max-width:760px){.ax-list{grid-template-columns:minmax(0,1fr)}}
/* Leistungsübersicht: je Bereich ein Einblick mit Verweis */
.lv-sec{padding-block:0 clamp(56px,7vw,96px)}
.lv-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--ink)}
.lv-row{position:relative;display:grid;grid-template-columns:200px minmax(0,1fr) minmax(0,250px) 52px;column-gap:clamp(20px,3vw,40px);align-items:start;padding:28px 0;border-bottom:1px solid var(--line)}
.lv-img{aspect-ratio:4/3;overflow:hidden;background:var(--sand)}
.lv-img img{width:100%;height:100%;object-fit:cover;display:block}
.lv-main{min-width:0;display:flex;flex-direction:column;gap:10px}
.lv-t{margin:0;font-family:var(--serif);font-weight:600;font-size:clamp(24px,2.3vw,30px);line-height:1.12;letter-spacing:-.005em}
.lv-t a{color:var(--ink);text-decoration:none;transition:color .18s}
.lv-t a::after{content:"";position:absolute;inset:0}
.lv-d{margin:0;font-size:16.5px;line-height:1.6;color:var(--text2);max-width:58ch}
.lv-topics{list-style:none;margin:2px 0 0;padding:0;position:relative;z-index:1}
.lv-topics a{display:block;padding:5px 0;font-size:15px;line-height:1.4;color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
.lv-topics a:hover{color:var(--green);text-decoration-color:var(--green)}
.lv-row .ax-go{grid-column:4;grid-row:1;width:52px;height:52px}
.lv-row:has(.lv-t a:hover) .lv-t a,.lv-t a:focus-visible{color:var(--green)}
.lv-row:has(.lv-t a:hover) .ax-go,.lv-row:has(.lv-t a:focus-visible) .ax-go{background:var(--green);color:#fff}
.lv-t a:focus-visible{outline:none}
.lv-row:has(.lv-t a:focus-visible){outline:2px solid var(--green);outline-offset:4px}
@media (max-width:980px){.lv-row{grid-template-columns:160px minmax(0,1fr) 48px}.lv-topics{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;gap:0 20px}.lv-row .ax-go{grid-column:3;width:48px;height:48px}}
@media (max-width:640px){.lv-row{grid-template-columns:minmax(0,1fr) 44px;column-gap:16px;padding:22px 0}.lv-img,.lv-topics{display:none}.lv-row .ax-go{grid-column:2;width:44px;height:44px}.lv-d{font-size:16px}}
@media (prefers-reduced-motion:reduce){.ax-go,.ax-t,.lv-t a{transition:none}}
/* Menü Leistungen: zwei gleich lange Spalten, damit es auf kleine Bildschirme passt. Die Zeilenzahl setzt navsync.py am Menü (--dd-zeilen) */
@media (min-width:1101px){
 .dd-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--dd-zeilen,4),auto);grid-auto-flow:column;column-gap:6px;min-width:660px}
 .dd-menu .all{grid-column:1 / -1;grid-row:calc(var(--dd-zeilen,4) + 1)}
}
@media (max-width:640px){
 #team .person{grid-template-columns:104px minmax(0,1fr);column-gap:18px;row-gap:4px}
 #team .person>.stack{display:contents}
 #team .person .portrait{grid-row:1 / span 2}
 #team .person h3{align-self:end;margin:0}
 #team .person .role{align-self:start}
 #team .person ul{grid-column:1 / -1;margin-top:12px}
}
@media (min-width:1101px) and (max-width:1300px){.dd-menu{left:-200px}}

/* ===== Nacht 17./18.11.2026: Über uns neu ===== */
/* „Wofür wir stehen“ als Haus aus sechs Baukörpern (18.11.2026): Sockel, zwei Geschosse mit je zwei Baukörpern und
   das Dach ergeben ein Gebäude, gezeichnet wie ein Architekturmodell von schräg oben (SVG aus build/haus3d.py).
   Auf jedem Baukörper steht ein Grundsatz. Der gewählte ist gelb und ein Stück herausgezogen, sein Text steht daneben.
   Bedient wird über unsichtbare Verweise, die über der Zeichnung liegen (clip-path = Umriss des Baukörpers). Das Skript
   #hb-js aus buero_main.py macht daraus Reiter (role=tab). Die Zustände der Zeichnung hängen an den Verweisen
   (Geschwister-Selektoren), deshalb stehen die Verweise im Quelltext vor dem SVG. Ohne Skript sind die Verweise
   Sprungmarken zu den sechs Texten, die dann alle sichtbar sind. Beim ersten Erscheinen setzt sich das Haus einmal von
   unten nach oben zusammen; wer Bewegung reduziert hat (prefers-reduced-motion), sieht es sofort fertig. */
.bs-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:14px clamp(24px,5vw,72px);align-items:end}
@media (max-width:900px){.bs-head{grid-template-columns:minmax(0,1fr)}}
.hb{display:grid;grid-template-columns:minmax(400px,5fr) minmax(0,6fr);gap:clamp(28px,6vw,96px);align-items:center;margin-top:clamp(24px,3.5vw,44px)}
.hb-fig{min-width:0;width:100%;max-width:540px}
.hb-haus{position:relative}
.hb-svg{display:block;width:100%;height:auto;overflow:visible;pointer-events:none;forced-color-adjust:none}
.hb-b{position:absolute;inset:0;display:block;cursor:pointer;outline:0;-webkit-tap-highlight-color:transparent}
.hb-b span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Zeichnung: je Baukörper drei Flächentöne (--c1 oben, --c2 Giebelseite im Licht, --c3 Traufseite mit Schrift) */
.hb-g{--c1:#3A8A70;--c2:#1D6A52;--c3:#0F4A38;--c4:#062A20;--tx:#fff;--ln:rgba(255,255,255,.1);--fe:#E9EFEB;--fr:#0A3629;--tu:#0A3629;--pv:#17231E;--pl:rgba(255,255,255,.22);--ki:rgba(255,255,255,.28);
 transition:transform .4s var(--ease),opacity .45s ease}
.t-og{--c1:#2F7C63;--c2:#175A45;--c3:#0A3629}
.t-dach{--c2:#175A45;--c3:#0C3F30}
.t-fund{--c1:#4B5B53;--c2:#2B3A33;--c3:#17231E}
.hb-svg polygon,.hb-svg path{stroke-width:.7;stroke-linejoin:round;transition:fill .18s,stroke .18s}
.hb-svg .f1{fill:var(--c1);stroke:var(--c1)}
.hb-svg .f2{fill:var(--c2);stroke:var(--c2)}
.hb-svg .f3{fill:var(--c3);stroke:var(--c3)}
.hb-svg .f4{fill:var(--c4);stroke:var(--c4)}
.hb-svg .sv{fill:url(#hb-v);stroke:none}
.hb-svg .sh{fill:#000;stroke:none;opacity:.2}
.hb-svg .ln{fill:none;stroke:var(--ln);stroke-width:1}
.hb-svg .fe{fill:var(--fe);stroke:var(--fr);stroke-width:2}
.hb-svg .fg{fill:#fff;stroke:none;opacity:.5}
.hb-svg .fs{fill:none;stroke:var(--fr);stroke-width:1.6}
.hb-svg .tu{fill:var(--tu);stroke:var(--fr);stroke-width:2}
.hb-svg .pv{fill:var(--pv);stroke:var(--pl);stroke-width:1.1}
.hb-svg .pz{fill:none;stroke:var(--pl);stroke-width:.6;opacity:.45}
.hb-svg .ki{fill:none;stroke:var(--ki);stroke-width:1.4}
.hb-svg .tx{font-family:var(--serif);font-weight:600;font-size:27px;letter-spacing:-.005em;fill:var(--tx);transition:fill .18s}
.hb-svg .hb-gl{fill:#fff;stroke:none;opacity:0;transition:opacity .16s}
.hb-svg .hb-ring{fill:none;stroke:var(--rg,var(--logo));stroke-width:3;vector-effect:non-scaling-stroke;opacity:0;transition:none}
.hb-svg .p1{fill:#fff;stroke:#fff}
.hb-svg .p2{fill:#DDE2DF;stroke:#DDE2DF}
.hb-svg .p3{fill:#C8D0CB;stroke:#C8D0CB}
.hb-svg .p4{fill:rgba(23,35,30,.1);stroke:none}
/* Zustände: Zeiger darüber, gewählt, Tastaturfokus */
#hb-t1:hover~.hb-svg .g1 .hb-gl,#hb-t2:hover~.hb-svg .g2 .hb-gl,#hb-t3:hover~.hb-svg .g3 .hb-gl,#hb-t4:hover~.hb-svg .g4 .hb-gl,#hb-t5:hover~.hb-svg .g5 .hb-gl,#hb-t6:hover~.hb-svg .g6 .hb-gl{opacity:.09}
#hb-t1.an~.hb-svg .g1,#hb-t2.an~.hb-svg .g2,#hb-t3.an~.hb-svg .g3,#hb-t4.an~.hb-svg .g4,#hb-t5.an~.hb-svg .g5,#hb-t6.an~.hb-svg .g6{--c1:#FFF0AE;--c2:#FFE073;--c3:#FFCE2F;--c4:#DDAA0E;--tx:#0A3629;--ln:rgba(10,54,41,.14);--fe:#FFFDF2;--tu:#0A3629;--pv:#0A3629;--pl:rgba(255,224,115,.7);--ki:rgba(10,54,41,.3);--rg:#0A3629}
#hb-t1.an~.hb-svg .g1 .hb-gl,#hb-t2.an~.hb-svg .g2 .hb-gl,#hb-t3.an~.hb-svg .g3 .hb-gl,#hb-t4.an~.hb-svg .g4 .hb-gl,#hb-t5.an~.hb-svg .g5 .hb-gl,#hb-t6.an~.hb-svg .g6 .hb-gl{opacity:0}
#hb-t1:focus-visible~.hb-svg .g1 .hb-ring,#hb-t2:focus-visible~.hb-svg .g2 .hb-ring,#hb-t3:focus-visible~.hb-svg .g3 .hb-ring,#hb-t4:focus-visible~.hb-svg .g4 .hb-ring,#hb-t5:focus-visible~.hb-svg .g5 .hb-ring,#hb-t6:focus-visible~.hb-svg .g6 .hb-ring{opacity:1}
/* der gewählte Baukörper rückt ein Stück heraus: das Dach nach oben, die Geschosse nach vorn */
#hb-t1.an~.hb-svg .g1{transform:translate(0,-8px)}
#hb-t2.an~.hb-svg .g2,#hb-t3.an~.hb-svg .g3,#hb-t4.an~.hb-svg .g4,#hb-t5.an~.hb-svg .g5{transform:translate(5.4px,2.7px)}
.hb-hint{margin:14px 0 0;font-size:14.5px;line-height:1.45;color:var(--muted);text-align:center}
.hb-texte{display:grid;min-width:0;scroll-margin-top:112px}
.hb-p{min-width:0;scroll-margin-top:120px}
.hb-p h3{margin:0 0 14px;display:flex;align-items:baseline;gap:.4em;font-family:var(--serif);font-weight:600;font-size:clamp(25px,2.8vw,38px);line-height:1.08;letter-spacing:-.008em;color:var(--ink);hyphens:manual;-webkit-hyphens:manual}
.hb-p h3::before{content:"";flex:none;width:.4em;height:.4em;background:var(--logo);transform:translateY(-.06em)}
.hb-p p{margin:0;font-size:clamp(17.5px,1.4vw,19px);line-height:1.6;color:var(--text2);max-width:44ch}
.hb-p .link-arrow{margin-top:18px;gap:12px;font-size:15.5px;color:var(--green)}
.hb-p .link-arrow svg{flex:none;width:40px;height:40px;padding:10px;box-sizing:border-box;border:1px solid var(--green);color:var(--green);transition:background .18s,color .18s}
.hb-p .link-arrow:hover svg,.hb-p .link-arrow:focus-visible svg{transform:none;background:var(--green);color:#fff}
/* mit Skript: die sechs Texte liegen übereinander, sichtbar ist der gewählte. Der Platz richtet sich nach dem längsten,
   beim Wechsel springt deshalb nichts. Der abgewählte Text verschwindet sofort (sonst ließe sich sein Verweis noch
   kurz mit der Tabulatortaste erreichen), der neue blendet ein. */
.hb-on .hb-p{grid-area:1 / 1;align-self:start;visibility:hidden;opacity:0}
.hb-on .hb-p.an{visibility:visible;opacity:1;transition:opacity .25s ease}
/* einmaliger Aufbau: Jeder Baukörper sinkt aus seiner Höhe --h herab, von unten nach oben (--n = Platz in der Reihenfolge) */
.hb-on .hb-haus:not(.steht) .hb-g{opacity:0;transform:translate(0,calc(var(--h,0)*-1px))}
.hb-on .hb-haus.steht:not(.fertig) .hb-g{transition:transform .75s var(--ease),opacity .4s ease;transition-delay:calc(var(--n,0)*150ms)}
/* ohne Skript: Haus links, alle sechs Texte daneben */
html:not(.hb-on) .hb{grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(28px,5vw,72px);align-items:start}
html:not(.hb-on) .hb-fig{max-width:400px}
html:not(.hb-on) .hb-hint span{display:none}
html:not(.hb-on) .hb-texte{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px}
html:not(.hb-on) .hb-p h3{font-size:21px;margin-bottom:8px}
html:not(.hb-on) .hb-p h3::before{display:none}
html:not(.hb-on) .hb-p p{font-size:15.5px;line-height:1.55}
html:not(.hb-on) .hb-p .link-arrow{margin-top:4px;font-size:14.5px;gap:8px}
html:not(.hb-on) .hb-p .link-arrow svg{width:16px;height:16px;padding:0;border:0}
@media (max-width:899px){
 .hb,html:not(.hb-on) .hb{grid-template-columns:minmax(0,1fr);gap:20px}
 .hb-fig,html:not(.hb-on) .hb-fig{max-width:540px}
 .hb-hint{text-align:left}
 html:not(.hb-on) .hb-texte{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:699px){
 .hb-p h3{margin-bottom:10px}
 .hb-p p{font-size:17px}
 .hb-p .link-arrow{margin-top:12px}
 html:not(.hb-on) .hb-texte{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
 .hb-g,.hb-on .hb-haus.steht:not(.fertig) .hb-g,.hb-on .hb-p.an,.hb-p .link-arrow svg,.hb-svg polygon,.hb-svg path,.hb-svg .tx,.hb-svg .hb-gl{transition:none!important}
 .hb-on .hb-haus .hb-g{opacity:1!important}
 .hb-on .hb-haus:not(.steht) .hb-g{transform:none!important}
}
/* Steckbriefe und Zulassungen */
.zul{margin-top:44px}
.zul .ans>p{margin:0 0 16px}
/* Firmengelände: Video und zwei Fotos */
.fx-media{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px}
.fx-video{margin:0;aspect-ratio:16/9;background:#101614}
.fx-video video{display:block;width:100%;height:100%;object-fit:cover;background:#101614}
.fx-side{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px;min-height:0}
.fx-side figure{margin:0;min-height:0;overflow:hidden;background:var(--sand);position:relative}
.fx-side img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.fx-media+.fg-facts{margin-top:32px}
.rg-links{display:flex;flex-wrap:wrap;gap:12px 30px}
@media (max-width:760px){.fx-media{grid-template-columns:minmax(0,1fr)}.fx-side{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr))}.fx-side figure{aspect-ratio:4/3}}
/* Startbild: Bildunterschrift, Bildwahl und Anhalten des Bildwechsels */
.slide-bar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-top:10px}
.hero-media .slide-bar .slide-cap{margin:2px 0 0}
.slide-ctl{display:flex;align-items:center;gap:2px;flex:none}
.sd{width:24px;height:24px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
.sd::before{content:"";width:9px;height:9px;border:1px solid var(--green);background:transparent}
.sd[aria-pressed="true"]::before{background:var(--green)}
.slide-pause{width:28px;height:24px;margin-left:6px;padding:0;border:0;background:none;color:var(--green);cursor:pointer;display:grid;place-items:center}
.slide-pause svg{width:14px;height:14px}
.slide-pause .i-play,.slide-pause.off .i-pause{display:none}
.slide-pause.off .i-play{display:block}
.sd:focus-visible,.slide-pause:focus-visible{outline:2px solid var(--green);outline-offset:1px}

/* Kopfzeile ohne Zittern: Die Zeile wird beim Scrollen 16 px niedriger. Ohne Ausgleich rückt der Inhalt nach,
   die Scrollposition fällt unter die Schwelle und die Seite springt hin und her. Der Außenabstand hält den Platz gleich. */
.site-head{transition:box-shadow .3s var(--ease),margin-bottom .3s var(--ease)}
.site-head.scrolled{margin-bottom:16px}

/* Kopf der Startseite: Der erste Bildschirm zeigt Überschrift, Text, Schaltflächen und das Bild mit Unterzeile.
   Zwischen 761 und 999 px stand das Hochformatbild in voller Breite unter dem Text (fast 1200 px hoch). */
@media (min-width:1000px){
  .hero{padding-block:52px 88px}
  .hero .hero-grid{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:56px;align-items:start}
  .hero .slides{width:100%;aspect-ratio:4/5;max-height:max(380px,calc(100vh - 300px));max-height:max(380px,calc(100svh - 300px))}
}
@media (min-width:761px) and (max-width:999px){
  .hero .hero-grid{grid-template-columns:1fr;gap:32px}
  .hero .hero-media{order:-1}
  .hero .slides{aspect-ratio:3/2}
}
/* Bildunterzeilen liegen übereinander: Die Zeile ist immer so hoch wie die längste, beim Bildwechsel springt nichts */
.hero-media .slide-cap{display:grid}
.hero-media .slide-cap span{grid-area:1/1;visibility:hidden}
.hero-media .slide-cap span.on{visibility:visible}
/* Grüne Kopfleiste: zwischen 761 und 999 px brach sie zweizeilig um */
@media (max-width:999px){.util .wrap>span{display:none}}

/* Seitenkopf der Unterseiten: ab 900 px Text und Bild nebeneinander (vorher erst ab 1104 px, dazwischen stand das
   Bild in voller Breite und unscharf unter dem Text); darunter ein flaches Querformat */
@media (min-width:900px){
  .phero .phero-grid:has(.phero-img){grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px}
}
@media (min-width:600px) and (max-width:899px){
  .phero .phero-grid:has(.phero-img){grid-template-columns:1fr;gap:28px}
  .phero .phero-img{aspect-ratio:16/9}
}

/* Steckbriefe zwischen Handy und Rechner (641 bis 1099 px): kleines Porträt neben dem Namen statt formatfüllend */
@media (min-width:641px) and (max-width:1099px){
 #team .person{grid-template-columns:132px minmax(0,1fr);column-gap:22px;row-gap:6px}
 #team .person>.stack{display:contents}
 #team .person .portrait{grid-row:1 / span 2}
 #team .person h3{align-self:end;margin:0}
 #team .person .role{align-self:start}
 #team .person ul{grid-column:1 / -1;margin-top:14px}
}
@media (min-width:641px) and (max-width:799px){#team .grid-2{grid-template-columns:minmax(0,1fr);gap:40px}}
@media (min-width:800px) and (max-width:1099px){#team .grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}}

/* Nachweisleiste der Startseite: sechs Einträge, je nach Breite 6, 3 oder 2 Spalten (vorher 4 + 2 mit Lücke) */
.creds ul.wrap{list-style:none;margin-block:0;padding-block:0;grid-template-columns:repeat(6,minmax(0,1fr))!important;column-gap:0!important}
.creds ul.wrap>.cred{border:0;border-left:1px solid var(--line);padding:18px 16px}
.creds ul.wrap>.cred:first-child{border-left:0;padding-left:0}
@media (max-width:1180px){
 .creds ul.wrap{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .creds ul.wrap>.cred:nth-child(3n+1){border-left:0;padding-left:0}
 .creds ul.wrap>.cred:nth-child(n+4){border-top:1px solid var(--line)}
}
@media (max-width:640px){
 .creds ul.wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .creds ul.wrap>.cred:nth-child(n){border-left:1px solid var(--line);border-top:0;padding:14px 0 14px 14px}
 .creds ul.wrap>.cred:nth-child(odd){border-left:0;padding:14px 14px 14px 0}
 .creds ul.wrap>.cred:nth-child(n+3){border-top:1px solid var(--line)}
}

/* Projektkarten: feste Stufen statt automatischer Umbrüche. Vorher standen sie bei 761 bis 787 px einspaltig,
   bei 760 und 800 px zweispaltig; drei Karten ergaben in zwei Spalten eine einzelne Karte in der letzten Zeile. */
.refs{grid-template-columns:minmax(0,1fr)}
@media (min-width:700px){.refs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){
 .refs{grid-template-columns:repeat(3,minmax(0,1fr))}
 .refs:has(>.ref:nth-child(2):last-child),.refs:has(>.ref:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:700px) and (max-width:1099px){
 .refs>.ref:nth-child(3):last-child{grid-column:1 / -1;flex-direction:row;align-items:center;gap:28px}
 .refs>.ref:nth-child(3):last-child>.media{flex:0 0 calc(50% - 14px)}
 .refs>.ref:nth-child(3):last-child>.stack{flex:1 1 0;min-width:0}
}
/* Bildwechsel auf dem Handy: größere Tippflächen */
@media (max-width:760px){
 .sd{width:28px;height:44px}
 .slide-pause{width:40px;height:44px;margin-left:2px}
 .slide-ctl{margin:-10px -10px -10px 0}
}
/* Bild neben Text (Startseite „Zwei Generationen“): ab 900 px nebeneinander, vorher erst ab 1064 px */
@media (min-width:900px){.split:has(>div>.media){grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:48px}}

/* Kontaktformular: zweizeilige Auswahlfelder mit Luft nach oben und unten */
.opts-radio .opt span{padding-block:9px;line-height:1.35}
.opts-radio .opt{display:flex}
.opts-radio .opt span{flex:1 1 auto}

/* Titelbilder 2 und 3 erst laden, wenn sie gebraucht werden (auf dem Handy sonst rund 300 kB beim ersten Aufruf) */
.js .slides img:not(.on):not(.rdy){display:none}

/* „Was gilt wann“: Die drei Zielgruppen über den Empfehlungen sind Inhalt, keine Zierzeile. Sie waren seit dem
   Ausblenden aller .tag unsichtbar, die Kästen dadurch nicht mehr zuzuordnen. */
.aud .tag{display:block!important;font-size:14.5px;font-weight:600;color:var(--green);margin:0;padding:0;background:none;border:0}

/* „Projekt ansehen“ auf den Projektkarten: Die Regel stand nur im Kopf der Startseite und der Referenzenseite.
   Auf den Regionalseiten fehlte sie, der Pfeil wurde dort formatfüllend groß gezeichnet. */
.ref .more{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--green);margin-top:2px}
.ref .more svg{width:15px;height:15px;flex:none}

/* Zahl im Filter der Referenzen: etwas kräftiger (Kontrast 4,6 → gut 6) */
.filter .fc{opacity:.78}

/* Referenz ohne Foto (25.11.2026): Solange die schriftliche Einwilligung der Eigentümer fehlt, steht statt des
   Kartenbilds eine ruhige Schriftfläche mit dem Stichwort des Projekts (refgen.py, Feld card.tile). */
/* Seitenkopf ohne Bild (TGA-Fachplanung seit 25.11.2026): Überschrift und Einleitung bleiben auf Lesebreite */
.phero .phero-grid>.stack-l:only-child{max-width:680px}
.media.media-text{display:flex;align-items:flex-end;padding:clamp(18px,2.2vw,26px);background:var(--sand)}
.media.media-text::before{content:"";position:absolute;left:clamp(18px,2.2vw,26px);top:clamp(18px,2.2vw,26px);width:36px;height:3px;background:var(--logo)}
.media.media-text span{min-width:0;font-family:var(--serif);font-weight:600;font-size:clamp(24px,2.3vw,32px);line-height:1.05;letter-spacing:-.008em;color:var(--green);hyphens:manual;-webkit-hyphens:manual}
@media (max-width:699px){.ref>.media.media-text{aspect-ratio:3/1}}
@media print{.media.media-text{background:#fff!important;border:1px solid #b4bfb9}}

/* Zulassungen: „BAFA-Energieberater“ nicht am Bindestrich trennen (navsync.py packt das Wort in .nw) */
.nw{white-space:nowrap}

/* Zulassungen auf „Über uns“ am Handy: Bezeichnung über der Erläuterung. Vorher war die Tabelle 620 px breit und
   musste seitwärts geschoben werden, die Erläuterungen waren abgeschnitten. */
@media (max-width:680px){
 .zul .table-wrap{overflow-x:visible;border:0;background:none}
 .zul table{display:block;min-width:0}
 .zul thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .zul tbody,.zul tr,.zul td{display:block}
 .zul tr{padding:13px 0;border-bottom:1px solid var(--line)}
 .zul tr:first-child{padding-top:4px}
 .zul tr:last-child{border-bottom:0;padding-bottom:0}
 .zul td{padding:0;border:0}
 .zul td+td{margin-top:4px;line-height:1.5}
}

/* ===== Druck und „Als PDF speichern“ (18.11.2026) =====
   Ohne diese Regeln standen die grünen Abschnitte hell auf Weiß auf dem Papier (unlesbar), die erste Seite der
   Startseite blieb fast leer, und Menü, Schaltflächen und Fußzeilen-Verweise wurden mitgedruckt.
   Aufklappbare Abschnitte öffnet ein kleines Skript vor dem Drucken (navsync.py, #druck-js). */
@media print{
  @page{margin:14mm 14mm 16mm}
  html,body{background:#fff!important}
  body{font-size:10.5pt!important;line-height:1.45}
  /* Bedienelemente und Verweislisten gehören nicht aufs Papier */
  .util,.skip,.burger,.nav,.head-actions,.to-top,.slide-ctl,.filters,.ref-count,.subnav,.crumbs,.hb-fig,.pm,.form,
  .fx-video,.lx-go,.ax-go,.ref .more,.lx-all,.btn svg,.foot-cols .foot-col:nth-child(2),
  .foot-cols .foot-col:nth-child(3),.foot-cols .foot-col:nth-child(4),.foot-bottom div,.foot-s,
  .tl-filter,.glance-h span,.link-arrow,.rg-links,
  .btn:not([href^="tel:"]):not([href^="mailto:"]){display:none!important}
  .btn{border:0!important;background:none!important;padding:0!important;min-height:0!important;color:#17231E!important;font-weight:600}
  .site-head{position:static!important;box-shadow:none!important;border-bottom:1px solid #9aa6a0;margin:0 0 5mm!important}
  .site-head .wrap{min-height:0!important;padding-block:0 3mm!important}
  /* alles sichtbar, auch was am Bildschirm erst beim Scrollen eingeblendet wird */
  .rv,.load-rise{opacity:1!important;transform:none!important;transition:none!important}
  /* dunkle Abschnitte: dunkle Schrift auf Weiß */
  .sec-green,.lx-sec,.foot,.phero-dark,.sec-sand,.creds{background:#fff!important;color:#17231E!important}
  .sec-green *,.lx-sec *,.foot *,.phero-dark *{color:#17231E!important;border-color:#b4bfb9!important}
  .sec-green,.lx-sec,.foot{border-top:1px solid #9aa6a0!important}
  /* Abstände und Schriftgrößen für A4 */
  .wrap{max-width:none!important;padding-inline:0!important}
  .sec,.sec-s,.phero,.hero,.lx-sec,.lv-sec,.foot,.creds .cred{padding-block:6mm!important}
  h1,.h1{font-size:23pt!important}
  h2,.h2{font-size:16pt!important}
  h3,.h3{font-size:12.5pt!important}
  .lead{font-size:11pt!important}
  h1,h2,h3,h4,.h1,.h2,.h3,summary{break-after:avoid}
  .ref,.svc,.lx-row,.lv-row,.ax-row,.person,.hb-p,figure,tr,.fg-facts>div,.cred{break-inside:avoid}
  a{text-decoration:none!important}
  /* Kopf der Seiten: Bild klein neben dem Text statt seitenfüllend */
  .hero .hero-grid,.phero .phero-grid:has(.phero-img){grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:8mm!important;align-items:start}
  .hero .hero-media{order:0!important}
  .hero .slides,.phero .phero-img{aspect-ratio:4/3!important;max-height:none!important;height:auto!important}
  /* Projektkarten und Bilder klein und nebeneinander */
  .refs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5mm!important}
  .refs>.ref{grid-column:auto!important;flex-direction:column!important;gap:2mm!important}
  .refs>.ref>.media{flex:none!important}
  .ref b{font-size:11.5pt!important}
  .lx-fig,.lv-img{display:none!important}
  .split:has(>div>.media),.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8mm!important}
  .fx-media{grid-template-columns:minmax(0,1fr)!important}
  .fx-side{grid-template-rows:none!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .fx-side figure{aspect-ratio:16/9}
  /* „Wofür wir stehen“: Das Haus entfällt auf dem Papier, die sechs Grundsätze stehen als Liste */
  .hb{display:block!important;margin-top:4mm!important}
  .hb-texte{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5mm 6mm!important}
  .hb-p{grid-area:auto!important;visibility:visible!important;opacity:1!important}
  .hb-p h3{font-size:12.5pt!important;margin:0 0 1.5mm!important}
  .hb-p h3::before{display:none!important}
  .hb-p p{font-size:10pt!important;max-width:none!important}
  /* Fußzeile: Büro und Kontakt nebeneinander */
  .foot-cols{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8mm!important}
  .foot-bottom{margin-top:4mm!important;padding-top:3mm!important}
}
