:root{--green:#003f32;--accent:#397f24;--cream:#efecdf;--ink:#202d2e;--muted:#59635e;--line:#d8dcd3;--white:#fff;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6;background:#fff}a{color:inherit}img{max-width:100%;height:auto;display:block}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #9cbe64;outline-offset:5px}.skip{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:12px}.skip:focus{top:8px}.wrap{width:min(var(--max),calc(100% - 100px));margin:auto}.header{height:100px;display:flex;align-items:center;background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid #e7e8e1}.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}.logo{width:230px;mix-blend-mode:multiply}.nav{display:flex;align-items:center;gap:28px}.nav a{text-decoration:none;font-size:14px;font-weight:600}.nav a:hover{color:var(--accent)}.nav .contact-link{background:var(--green);color:#fff;padding:12px 20px}.menu{display:none;border:1px solid var(--line);background:white;padding:8px 13px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;display:flex;align-items:center;gap:13px}.eyebrow:before{content:"";width:28px;height:2px;background:var(--accent)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.12}h1{font-size:clamp(44px,4.8vw,72px);letter-spacing:-3.5px;margin:26px 0 26px;font-weight:750}h2{font-size:clamp(32px,3.4vw,49px);letter-spacing:-1.8px;margin:20px 0 25px}h3{font-size:23px;letter-spacing:-.5px}.hero{background:var(--cream);position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.08fr 1fr;min-height:650px}.hero-copy{padding:75px 55px 64px 0;position:relative;z-index:1}.hero-copy h1 span{color:var(--green)}.hero-copy p{font-size:17px;max-width:440px;color:var(--muted);line-height:1.7}.hero-visual{position:relative;margin-right:calc((min(1240px,100vw - 100px) - 100vw)/2);overflow:hidden}.hero-visual>img{width:100%;height:100%;object-fit:cover;object-position:53% center}.hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,43,34,.6),transparent 50%)}.image-caption{position:absolute;bottom:34px;left:30px;color:#fff;z-index:2;border-left:2px solid #c6d4b6;padding-left:16px;font-size:12px;line-height:1.7}.image-caption strong{display:block;font-size:18px;font-weight:500}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;text-decoration:none;background:var(--green);color:white;padding:16px 23px;font-size:14px;font-weight:bold;border:1px solid var(--green);transition:background .2s}.button:hover{background:#08624e}.arrow{font-size:22px;line-height:1}.text-link{display:inline-flex;align-items:center;gap:15px;font-size:14px;text-decoration:none;border-bottom:1px solid var(--ink);padding-bottom:3px;font-weight:600}.actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:31px}.hero-note{margin-top:36px!important;font-size:12px!important;letter-spacing:.4px}.hero-note:before{content:"";display:inline-block;width:7px;height:7px;background:var(--accent);border-radius:50%;margin-right:9px}.promise{background:var(--green);color:#fff}.promise .wrap{display:grid;grid-template-columns:1fr 1fr 1fr}.promise-item{display:flex;align-items:center;gap:18px;padding:27px 30px;border-right:1px solid #42675a}.promise-item:first-child{padding-left:0}.promise-item:last-child{border:0}.promise-item svg{width:29px;height:29px;flex-shrink:0;stroke:#bdcdaa;fill:none;stroke-width:1.4}.promise-item strong{font-size:17px;display:block;font-weight:500}.promise-item span{font-size:12px;color:#c5d2c9}.section{padding:100px 0}.section-intro{display:grid;grid-template-columns:1.12fr 1fr;gap:70px;align-items:end;margin-bottom:42px}.section-intro h2{margin-bottom:0}.section-intro p{color:var(--muted);max-width:460px;margin:0;font-size:16px}.services{border-top:1px solid var(--line)}.service{display:grid;grid-template-columns:60px 1fr 1fr;gap:25px;align-items:start;border-bottom:1px solid var(--line);padding:29px 0}.service .number{font-size:13px;color:var(--accent);padding-top:3px;font-weight:600}.service h3{margin:0;max-width:340px}.service p{font-size:15px;color:var(--muted);margin:0;max-width:450px}.about{background:var(--cream)}.about-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:85px}.about p{color:var(--muted);max-width:540px}.about .stats{display:flex;gap:46px;margin-top:36px;padding-top:27px;border-top:1px solid #cfd2c3}.stat b{display:block;font-size:48px;line-height:1.1;font-weight:500;letter-spacing:-2px;color:var(--green)}.stat span{display:block;font-size:12px;max-width:160px;margin-top:11px}.region{padding-top:7px;display:flex;flex-direction:column;justify-content:space-between}.region-title{font-size:12px;text-transform:uppercase;letter-spacing:1.7px;font-weight:600;margin-bottom:25px}.places{font-size:clamp(25px,2.5vw,36px);line-height:1.5;letter-spacing:-.7px}.places span{display:inline-block}.places .dot{color:#9caa87;padding:0 6px}.region .base{display:flex;align-items:center;gap:14px;font-size:13px;border-top:1px solid #cfd2c3;padding-top:24px;margin-top:30px}.base svg{width:22px;height:22px;fill:none;stroke:var(--green);stroke-width:1.5}.projects-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:32px}.project-image{overflow:hidden;margin-bottom:23px;aspect-ratio:1.65}.project-image img{width:100%;height:100%;object-fit:cover;transition:transform .6s}.project:hover .project-image img{transform:scale(1.025)}.project small{display:block;color:var(--accent);font-size:11px;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:10px;font-weight:700}.project h3{margin-bottom:12px}.project p{color:var(--muted);font-size:14px;max-width:450px}.project-list{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;margin-top:40px;border-top:1px solid var(--line)}.project-mini{padding:23px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 30px;gap:10px}.project-mini h3{font-size:17px;margin:0 0 8px}.project-mini p{font-size:13px;color:var(--muted);margin:0}.project-mini .plus{color:var(--accent);font-size:20px;align-self:center;text-align:right}.contact{background:var(--green);color:white;padding:80px 0 75px}.contact .eyebrow{color:#ccd6c5}.contact .eyebrow:before{background:#b7c59e}.contact-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:85px}.contact h2{max-width:600px;font-size:clamp(34px,3.7vw,55px);margin-bottom:28px}.contact p{color:#c4d0c7;max-width:460px;font-size:15px}.contact .button{background:var(--cream);color:var(--green);border-color:var(--cream)}.contact .button:hover{background:white}.contact-details{padding-top:20px}.contact-details>a{display:block;text-decoration:none;font-size:clamp(17px,2vw,25px);letter-spacing:-.5px;overflow-wrap:anywhere;padding:14px 0;border-bottom:1px solid #41695b}.contact-details>a:hover{color:#d8e6ba}.addresses{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:30px;font-size:13px;color:#d1dbd2}.addresses strong{display:block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#aebfae;margin-bottom:12px}.addresses address{font-style:normal}.footer{background:#f7f7f2;padding:26px 0;font-size:11px;color:#657064}.footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-links{display:flex;gap:26px}.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}.legal-hero{background:var(--cream);padding:50px 0}.legal-hero h1{font-size:52px;margin:22px 0 8px}.legal{max-width:800px;padding:65px 0 80px}.legal h2{font-size:24px;letter-spacing:-.5px;margin:34px 0 15px}.legal h3{font-size:18px;margin:24px 0 12px}.legal p,.legal li{font-size:15px;color:var(--muted)}.legal a{color:var(--green);overflow-wrap:anywhere}.legal-note{padding:20px;border-left:3px solid var(--accent);background:#f1f3ec}.back-link{display:inline-flex;gap:12px;align-items:center;text-decoration:none;font-size:13px}
@media(min-width:1550px){.hero-visual{margin-right:calc((1240px - 100vw)/2)}}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.nav{gap:18px}.hero-visual{margin-right:-32px}.hero-copy{padding-right:30px}h1{letter-spacing:-2.5px}.section-intro,.about-grid,.contact-grid{gap:45px}.promise-item{padding:24px 18px}.service{grid-template-columns:45px 1fr 1fr}}
@media(max-width:900px){html{scroll-padding-top:80px}.wrap{width:calc(100% - 40px)}.header{height:78px}.logo{width:190px}.menu{display:block}.nav{display:none;position:absolute;left:0;right:0;top:78px;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 20px;background:white;border-bottom:1px solid var(--line)}.nav.open{display:flex}.nav a{padding:13px 5px}.nav .contact-link{text-align:center;margin-top:8px}.hero-grid{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:42px 0 35px}.eyebrow{font-size:10px;letter-spacing:1.6px}h1{font-size:48px;letter-spacing:-2.2px;margin:23px 0}.hero-copy p{font-size:15px;max-width:480px}.hero-note{margin-top:25px!important}.hero-visual{height:330px;margin:0 -20px}.image-caption{left:20px;bottom:22px}.actions{gap:23px;margin-top:25px}.promise .wrap{grid-template-columns:1fr}.promise-item{padding:18px 0;border-right:0;border-bottom:1px solid #42675a}.promise-item strong{font-size:15px}.promise-item span{font-size:11px}.promise-item svg{width:25px;height:25px}.section{padding:64px 0}.section-intro{grid-template-columns:1fr;gap:22px;margin-bottom:30px}h2{font-size:36px;letter-spacing:-1.3px}.section-intro p{font-size:15px}.service{grid-template-columns:30px 1fr;gap:10px;padding:24px 0}.service h3{font-size:21px;max-width:none}.service p{grid-column:2;max-width:none;font-size:14px;margin-top:8px}.about-grid,.contact-grid{grid-template-columns:1fr;gap:40px}.about .stats{gap:40px}.stat b{font-size:42px}.region{padding-top:0}.places{font-size:29px}.projects-grid{grid-template-columns:1fr;gap:30px}.project-image{margin-bottom:19px}.project-list{grid-template-columns:1fr;margin-top:25px}.contact{padding:60px 0}.contact h2{font-size:38px}.contact-details{padding-top:0}.contact-details>a{font-size:20px}.addresses{gap:20px}.footer .wrap{flex-direction:column;align-items:flex-start;gap:15px}.legal-hero{padding:35px 0}.legal-hero h1{font-size:38px;letter-spacing:-1.4px;overflow-wrap:anywhere}.legal{padding:35px 0 50px}.legal h2{font-size:23px}.legal p,.legal li{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


/* Überarbeitung gemäß Browser-Kommentaren */
.hero .eyebrow:before,#leistungen .eyebrow:before,#unternehmen .eyebrow:before,:is(#referenzen,#aktuelle-projekte) .eyebrow:before{content:none}
#leistungen .section-intro{display:block;max-width:650px}
#leistungen .section-intro h2{margin-bottom:24px}
#leistungen .section-intro p{max-width:610px}
:is(#referenzen,#aktuelle-projekte) .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:45px 32px}
:is(#referenzen,#aktuelle-projekte) .project p{max-width:none}
.hero-copy>p:not(.hero-note){margin-bottom:14px}
@media(max-width:900px){:is(#referenzen,#aktuelle-projekte) .projects-grid{grid-template-columns:1fr;gap:32px}}

/* Weitere typografische Anpassungen */
#hero-title{color:var(--green);font-size:calc(clamp(44px,4.8vw,72px) - 10pt)}
.places{font-size:calc(clamp(25px,2.5vw,36px) - 10pt)}
.hero-copy .hero-note{font-size:17px!important;letter-spacing:0}
.hero-note:before{content:none}
.service{grid-template-columns:1fr 1fr;gap:40px}
@media(max-width:900px){
 #hero-title{font-size:calc(48px - 10pt);letter-spacing:-1.5px}
 .places{font-size:calc(29px - 10pt)}
 .hero-copy .hero-note{font-size:15px!important}
 .service{grid-template-columns:1fr;gap:10px}
 .service p{grid-column:auto}
}

/* Einsatzgebiet und Referenzbilder */
.about .region{display:block;margin-top:30px;padding-top:0;max-width:540px}
.about .region-title{margin-bottom:14px}
.about .places{line-height:1.7}
:is(#referenzen,#aktuelle-projekte) .project-image{width:80%}
:is(#referenzen,#aktuelle-projekte) .section-intro{display:block}

#kontakt .eyebrow:before{content:none}

/* Vereinfachter Balken und breiterer Unternehmenstext */
.about-grid{display:block}
.about-grid>div{max-width:900px}
.about p{max-width:850px}
.about .region{max-width:none}
.contact h2{font-size:clamp(30px,3.2vw,48px)}
@media(max-width:900px){.contact h2{font-size:34px}}

/* Einsatzgebiet mit Flyerkarte */
.about .places{font-size:16px;line-height:1.6;letter-spacing:0;color:var(--muted)}
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:60px;align-items:center}
.about-grid>div{max-width:none}
.region-map{margin:0;width:100%}
.region-map img{width:100%;height:auto}
@media(max-width:1100px){.about-grid{grid-template-columns:minmax(0,1fr) 330px;gap:40px}}
@media(max-width:900px){.about-grid{grid-template-columns:1fr;gap:36px}.region-map{max-width:460px}}

.hero-copy .hero-note{margin-top:20px!important;margin-bottom:0}

/* Referenztexte bündig zum Bildrand */
:is(#referenzen,#aktuelle-projekte) .project{width:80%;min-width:0}
:is(#referenzen,#aktuelle-projekte) .project-image{width:100%}

/* Mehr Platz für das Startbild */
.hero-grid{grid-template-columns:.85fr 1.15fr}

/* Bildausschnitt, Leistungskacheln und größere Karte */
.hero-visual>img{object-position:left center}
#leistungen .services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;border:0}
#leistungen .service{display:block;padding:30px;border:1px solid var(--line);background:#f7f7f2;min-width:0}
#leistungen .service h3{max-width:none;margin:0 0 18px}
#leistungen .service p{max-width:none;margin:0}
#leistungen .service:last-child{grid-column:1/-1}
.about-grid{grid-template-columns:minmax(0,1fr) 480px;gap:50px}
@media(max-width:1100px){.about-grid{grid-template-columns:minmax(0,1fr) 400px;gap:36px}}
@media(max-width:900px){
 #leistungen .services{grid-template-columns:1fr;gap:16px}
 #leistungen .service{padding:25px}
 .about-grid{grid-template-columns:1fr}
 .region-map{max-width:560px}
}

/* Referenzbilder vollständig im Originalformat */
:is(#referenzen,#aktuelle-projekte) .project-image{aspect-ratio:auto;height:auto;overflow:visible}
:is(#referenzen,#aktuelle-projekte) .project-image img{width:100%;height:auto;object-fit:contain;transform:none}
:is(#referenzen,#aktuelle-projekte) .project:hover .project-image img{transform:none}
/* Drei Leistungskacheln oben, zwei darunter */
#leistungen .services{grid-template-columns:repeat(6,minmax(0,1fr))}
#leistungen .service{grid-column:span 2}
#leistungen .service:nth-child(n+4){grid-column:span 3}
@media(max-width:1100px){
 #leistungen .service{padding:24px}
 #leistungen .service h3{font-size:21px}
}
@media(max-width:900px){
 #leistungen .services{grid-template-columns:1fr}
 #leistungen .service,#leistungen .service:nth-child(n+4){grid-column:auto}
}

/* Gleichmäßige Leistungskacheln in zentrierten Reihen */
#leistungen .services{grid-auto-rows:1fr;gap:24px;align-items:stretch}
#leistungen .service,#leistungen .service:nth-child(n+4){grid-column:span 2;min-height:260px;padding:28px}
#leistungen .service:nth-child(4){grid-column:2/span 2}
#leistungen .service:nth-child(5){grid-column:4/span 2}
.region-map{align-self:center;justify-self:center}
@media(max-width:1100px){#leistungen .service,#leistungen .service:nth-child(n+4){padding:24px}}
@media(max-width:900px){
 #leistungen .services{grid-auto-rows:auto;gap:16px}
 #leistungen .service,#leistungen .service:nth-child(n+4){grid-column:auto;min-height:0}
 .region-map{transform:none!important}
}

/* Einheitliche kleinere Referenzfotos, vollständiges Bild bei Hover */
#kontakt h2{font-size:40px}
:is(#referenzen,#aktuelle-projekte) .project{width:70%}
:is(#referenzen,#aktuelle-projekte) .project-image{display:block;position:relative;width:100%;aspect-ratio:3/2;height:auto;overflow:hidden;padding:0;border:0;background:#efeee8;cursor:zoom-in;text-align:left}
:is(#referenzen,#aktuelle-projekte) .project-image img{display:block;width:100%;height:100%;object-fit:cover;transform:none}
@media(hover:hover){
 :is(#referenzen,#aktuelle-projekte) .project-image:hover img{object-fit:contain}
}
:is(#referenzen,#aktuelle-projekte) .project-image:focus-visible img{object-fit:contain}
.expand-icon{position:absolute;bottom:10px;right:10px;display:grid;place-items:center;width:30px;height:30px;background:rgba(255,255,255,.92);color:var(--green);font-size:22px;line-height:1}
.image-dialog{width:min(1000px,94vw);max-height:94vh;padding:48px 22px 20px;border:0;background:#fff;color:var(--ink)}
.image-dialog::backdrop{background:rgba(0,25,20,.82)}
.image-dialog-close{position:absolute;right:10px;top:4px;border:0;background:transparent;color:var(--green);font-size:36px;line-height:40px;width:44px;height:44px;cursor:pointer}
.image-dialog figure{margin:0}
.image-dialog-photo{display:block;width:100%;height:auto;max-height:76vh;object-fit:contain}
.image-dialog figcaption{margin-top:14px;font-size:15px}
@media(max-width:900px){:is(#referenzen,#aktuelle-projekte) .project{width:85%}.image-dialog{padding:48px 12px 18px}}

/* Schriftgrößen und drei Referenzen je Reihe */
#hero-title{font-size:46px}
#kontakt h2{font-size:36px}
:is(#referenzen,#aktuelle-projekte) .projects-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px}
:is(#referenzen,#aktuelle-projekte) .project{width:100%}
@media(max-width:1050px){:is(#referenzen,#aktuelle-projekte) .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){:is(#referenzen,#aktuelle-projekte) .projects-grid{grid-template-columns:1fr}}

/* Zentrierter Starttext und hellgraue Referenzkarten */
.hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding-top:64px;padding-bottom:64px}
.hero-copy .actions{justify-content:center}
:is(#referenzen,#aktuelle-projekte) .project{background:#f7f7f2;border:1px solid var(--line);padding:22px;align-self:stretch}
:is(#referenzen,#aktuelle-projekte) .project p{margin-bottom:0}
@media(max-width:700px){:is(#referenzen,#aktuelle-projekte) .project{padding:20px}}

/* Kleine Startüberschrift höher und linksbündig */
.hero-copy>.eyebrow{align-self:flex-start;text-align:left;transform:translateY(-22px)}

/* Leistungen: Einleitung links, gleichmäßige Liste rechts */
#leistungen>.wrap{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:80px;align-items:start}
#leistungen .section-intro{display:block;margin:0}
#leistungen .section-intro h2{font-size:clamp(32px,3.1vw,44px)}
#leistungen .services{display:block;border-top:1px solid var(--line)}
#leistungen .service,#leistungen .service:nth-child(n+4){display:block;min-height:0;padding:26px 0;border:0;border-bottom:1px solid var(--line);background:transparent}
#leistungen .service h3{font-size:23px;margin:0 0 12px}
#leistungen .service h3 br{display:none}
#leistungen .service h3 br:after{content:' '}
#leistungen .service p{font-size:15px;line-height:1.7;margin:0;max-width:none}
@media(max-width:1100px){#leistungen>.wrap{gap:44px}}
@media(max-width:900px){#leistungen>.wrap{grid-template-columns:1fr;gap:36px}#leistungen .service,#leistungen .service:nth-child(n+4){padding:24px 0}}

/* Linksbündiger Starttext und angepasste Schriftgrößen */
.hero-copy{align-items:flex-start;text-align:left}
.hero-copy .actions{justify-content:flex-start}
:is(#referenzen,#aktuelle-projekte) .project h3{font-size:20px}
#kontakt .addresses strong{font-size:12px}
#kontakt .addresses address{font-size:15px}

/* Einheitliche Bereichsüberschriften und Referenzhintergrund */
main .eyebrow{display:block;font-size:12px;font-weight:700;line-height:1.5;letter-spacing:2px;text-transform:uppercase;text-align:left;margin:0 0 24px;padding:0}
main .eyebrow:before{content:none}
.hero-copy>.eyebrow{align-self:flex-start;transform:none}
main .eyebrow+h1,main .eyebrow+h2{margin-top:0}
:is(#referenzen,#aktuelle-projekte) .project{background:var(--cream)}

/* Einheitliche Hauptüberschriften in allen Startseitenbereichen */
#hero-title,#leistungen .section-intro h2,#unternehmen h2,:is(#referenzen,#aktuelle-projekte) h2,#kontakt h2{font-size:38px}

/* Zeilenabstand der Startüberschrift */
#hero-title{line-height:1.5}

/* Etwas offenerer Zeichenabstand der Startüberschrift */
#hero-title{letter-spacing:-1px}

/* Einheitlich dunkelgrüne Überschriften, Kontaktbereich weiß */
h1,h2,h3,main .eyebrow,.region-title{color:var(--green)}
#kontakt h2,#kontakt .eyebrow,#kontakt .addresses strong{color:#fff}

/* Kleine Bereichsüberschriften schwarz, Kontakt bleibt weiß */
main .eyebrow,.region-title{color:#000}
#kontakt .eyebrow{color:#fff}

/* Leistungen untereinander und zehn Prozent schmalere Referenzkarten */
#leistungen>.wrap{display:block}
#leistungen .section-intro{margin-bottom:42px}
#leistungen .section-intro p{max-width:720px}
#leistungen .services{width:100%}
#leistungen .service p{max-width:900px}
:is(#referenzen,#aktuelle-projekte) .project{width:90%;justify-self:start;padding:20px}
@media(max-width:700px){:is(#referenzen,#aktuelle-projekte) .project{padding:18px}}

/* Aktuelle Projekte im Stil der Referenzen */
#aktuelle-projekte h2{font-size:38px}
#aktuelle-projekte .project-image-logo img{object-fit:contain;background:#fff;padding:18px}
#leistungen .section-intro p+p{margin-top:16px}

/* Aktuelles im Menü und kompaktere Leistungsabschnitte */
#leistungen .section-intro p{line-height:1.7}
#leistungen .section-intro p+p{margin-top:0}
#leistungen .section-intro{margin-bottom:28px}
#leistungen .service,#leistungen .service:nth-child(n+4){padding:18px 0}
#leistungen .service h3{margin-bottom:8px}
@media(min-width:901px) and (max-width:1200px){.header .wrap{gap:20px}.nav{gap:18px}.nav .contact-link{padding:12px 16px}}

/* Erste Überschriftenzeile auch in schmaleren Desktopfenstern zusammenhalten */
@media(min-width:901px){.hero-grid{grid-template-columns:minmax(440px,.85fr) minmax(0,1.15fr)}.hero-copy{padding-right:20px}#hero-title .hero-first-line{white-space:nowrap}}

/* Hauptüberschriften um fünf typografische Punkt verkleinern */
#hero-title,#leistungen .section-intro h2,#aktuelle-projekte h2,#unternehmen h2,#referenzen h2,#kontakt h2{font-size:calc(38px - 5pt)}

/* Abgestimmte Zeichenabstände */
#kontakt .contact-details>a{letter-spacing:normal}
#leistungen h2,#aktuelle-projekte h2,#unternehmen h2,#referenzen h2,#kontakt h2{letter-spacing:normal}
#referenzen .project small{letter-spacing:1px}
.region-title{letter-spacing:2px}

/* Normaler Zeichenabstand der Adressüberschriften */
#kontakt .addresses strong{letter-spacing:normal}

/* Größere Navigation und Leistungslink */
.header .nav a,.hero-copy .text-link{font-size:18px}
@media(min-width:901px) and (max-width:1100px){.header .logo{width:210px}.header .nav{gap:14px}.header .nav a{white-space:nowrap}}

/* Schriftgrößen für Leistungslink und Kontaktdaten */
.hero-copy .text-link{font-size:17px}
#kontakt .contact-details>a{font-size:20px}

/* Hauptnavigation in 15 px */
.header .nav a{font-size:15px}
/* Leistungsüberschrift mit ausreichend Platz für die erste Zeile */
#leistungen .section-intro{max-width:none}

/* Drei gleich breite, mittig ausgerichtete Punkte im grünen Balken */
@media(min-width:901px){
.promise .wrap{width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
.promise-item,.promise-item:first-child{justify-content:center;padding:24px 20px}
}
/* Schmalere Einleitung mit ausreichend Platz für die bestehenden Textzeilen */
@media(min-width:901px){.hero-grid{grid-template-columns:minmax(460px,.78fr) minmax(0,1.22fr)}}

/* Leistungen im gleichen hellen Farbton wie das Unternehmen */
#leistungen{background:#fff}

/* Mehr Luft zwischen den Zeilen im Kontakttext */
#kontakt h2{line-height:1.35}
#kontakt .contact-grid>div:first-child>p{line-height:1.85}

/* Heller Hintergrund ausschließlich für die einzelnen Leistungspositionen */
#leistungen .services{border-top:0}
#leistungen .service,#leistungen .service:nth-child(n+4){background:var(--cream);border:0;padding:18px 24px;margin-bottom:12px}
#leistungen .service:last-child{margin-bottom:0}
@media(max-width:700px){#leistungen .service,#leistungen .service:nth-child(n+4){padding:18px}}
/* Leistungen als ruhiges, einheitliches Kartenraster */
#leistungen .section-intro{margin-bottom:36px}
#leistungen .services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:22px;border:0;align-items:stretch}
#leistungen .service,#leistungen .service:nth-child(n+4){grid-column:auto;display:block;min-height:0;margin:0;padding:28px;background:var(--cream);border:1px solid var(--line)}
#leistungen .service:last-child{grid-column:1/-1}
#leistungen .service h3{font-size:21px;line-height:1.3;max-width:none;margin:0 0 14px}
#leistungen .service p{font-size:15px;line-height:1.7;max-width:900px;margin:0}
@media(max-width:700px){
#leistungen .section-intro{margin-bottom:28px}
#leistungen .services{grid-template-columns:minmax(0,1fr);gap:16px}
#leistungen .service,#leistungen .service:nth-child(n+4){grid-column:auto;padding:22px}
#leistungen .service h3{font-size:20px;margin-bottom:10px}
}

/* Erläuterung und drei gleich breite Leistungen pro Reihe */
#leistungen .section-intro .services-intro-text{font-size:17px;line-height:1.7;max-width:900px;margin:0;color:var(--muted)}
#leistungen .services{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr}
#leistungen .service,#leistungen .service:nth-child(n+4),#leistungen .service:last-child{grid-column:auto}
@media(min-width:1051px){#leistungen .service h3{min-height:2.6em}}
@media(min-width:701px) and (max-width:1050px){#leistungen .services{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#leistungen .services{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto}#leistungen .section-intro .services-intro-text{font-size:15px}}

/* Gesamtdarstellung wieder in voller Größe (100 Prozent) */

/* Teamübersicht im Stil der Referenzen */
#team .section-intro{display:block;margin-bottom:36px}
#team .eyebrow{display:block;color:#000;margin-bottom:24px}
#team .eyebrow:before{content:none}
#team h2{font-size:calc(38px - 5pt);letter-spacing:normal;color:var(--green);margin:0}
.team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.team-card{background:var(--cream);border:1px solid var(--line);min-width:0}
.team-card>img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;height:auto}
.team-card-copy{padding:20px}
.team-card h3{font-size:20px;line-height:1.3;color:var(--green);margin:0 0 8px}
.team-card p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}
.team-profile{margin-top:32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;color:var(--green)}
.team-profile summary{font-size:17px;font-weight:600;cursor:pointer}
.team-profile-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 36px;padding-top:26px}
.team-profile-content>div:last-child{grid-column:1/-1;max-width:900px}
.team-profile h3{font-size:20px;line-height:1.3;margin:0 0 12px}
.team-profile p,.team-profile li{font-size:15px;line-height:1.7;color:var(--muted)}
.team-profile ul{padding-left:20px;margin:0}
@media(max-width:1100px){.team-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
@media(max-width:800px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-profile-content{grid-template-columns:1fr}}
@media(max-width:500px){.team-grid{grid-template-columns:minmax(0,1fr);gap:24px}.team-card>img{aspect-ratio:4/5}.team-card-copy{padding:20px}}

/* Kleinere Teamfotos bei unveränderter Beschriftung */
.team-card>img,.team-photo-link{width:76.5%;margin:18px auto 0}
.team-photo-link{display:block;position:relative;overflow:hidden}
.team-photo-link>img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center top}
.team-photo-overlay{position:absolute;bottom:0;left:0;right:0;background:rgba(0,63,50,.94);color:#fff;padding:14px 12px;font-size:14px;line-height:1.4;display:flex;align-items:center;justify-content:space-between;gap:8px;opacity:0;transform:translateY(100%);transition:opacity .2s,transform .2s}
.team-photo-link:hover .team-photo-overlay,.team-photo-link:focus-visible .team-photo-overlay{opacity:1;transform:translateY(0)}
@media(hover:none){.team-photo-overlay{opacity:1;transform:none}}
@media(max-width:500px){.team-photo-link>img{aspect-ratio:4/5}}
@media(prefers-reduced-motion:reduce){.team-photo-overlay{transition:none}}

/* Eigene Profilseite für Markus Krott */
.profile-hero{background:var(--cream);padding:56px 0}
.profile-hero-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:60px;align-items:center}
.profile-portrait{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top}
.profile-page .eyebrow{display:block;color:#000;margin-bottom:24px}
.profile-page .eyebrow:before{content:none}
.profile-page #profile-title{font-size:calc(38px - 5pt);letter-spacing:normal;color:var(--green);line-height:1.2;margin:0 0 18px}
.profile-hero p{font-size:18px;color:var(--muted);margin:0}
.profile-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 50px;margin-bottom:42px}
.profile-content>div:last-child{grid-column:1/-1;max-width:900px}
.profile-content h2{font-size:24px;letter-spacing:normal;color:var(--green);margin:0 0 20px}
.profile-content p,.profile-content li{font-size:16px;color:var(--muted);line-height:1.7}
.profile-content ul{padding-left:20px;margin:0}
.profile-content li+li{margin-top:10px}
@media(max-width:700px){.profile-hero{padding:36px 0}.profile-hero-grid{grid-template-columns:1fr;gap:28px}.profile-portrait{max-width:240px}.profile-content{grid-template-columns:1fr;gap:28px}.profile-page .back-link{max-width:130px;text-align:right}}

/* Aktuelle Projekte mit eigenem Detailfenster */
:is(#aktuelle-projekte,#referenzen) .current-project{padding:0;overflow:hidden}
.current-project-open{display:flex;flex-direction:column;width:100%;height:100%;padding:20px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
:is(#aktuelle-projekte,#referenzen) .current-project-open .project-image{margin-bottom:20px;cursor:pointer}
:is(#aktuelle-projekte,#referenzen) .current-project-open .project-image img{object-fit:cover;transition:transform .25s}
:is(#aktuelle-projekte,#referenzen) .current-project-open .project-image-logo img{object-fit:contain}
:is(#aktuelle-projekte,#referenzen) .current-project-open h3{margin-bottom:18px}
.project-details-hint{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-top:auto;width:100%;font-size:14px;color:var(--green);border-top:1px solid var(--line);padding-top:12px}
.project-hover-label{position:absolute;inset:auto 0 0;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;background:rgba(0,63,50,.94);color:#fff;font-size:14px;opacity:0;transform:translateY(100%);transition:opacity .2s,transform .2s}
.current-project-open:hover .project-hover-label,.current-project-open:focus-visible .project-hover-label{opacity:1;transform:none}
.current-project-open:hover .project-details-hint,.current-project-open:focus-visible .project-details-hint{text-decoration:underline}
.project-details-dialog{width:min(1060px,94vw);max-height:90dvh;padding:56px 32px 32px;border:0;background:white;color:var(--ink);overflow:auto}
.project-details-dialog::backdrop{background:rgba(0,25,20,.82)}
.project-details-close{position:absolute;top:6px;right:12px;width:44px;height:44px;border:0;background:transparent;color:var(--green);font-size:36px;cursor:pointer;line-height:1}
.project-details-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;align-items:start}
.project-details-photo{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain;background:var(--cream)}
.project-details-copy .eyebrow{display:block;font-size:12px;letter-spacing:2px;color:#000;margin-bottom:18px}
.project-details-copy .eyebrow:before{content:none}
.project-details-copy h2{font-size:28px;letter-spacing:normal;line-height:1.2;color:var(--green);margin:0 0 28px}
.project-details-copy h3{font-size:17px;letter-spacing:normal;color:var(--green);margin:24px 0 8px}
.project-details-copy p{font-size:16px;line-height:1.7;color:var(--muted);margin:0}
@media(max-width:700px){.project-details-dialog{padding:54px 20px 24px}.project-details-layout{grid-template-columns:minmax(0,1fr);gap:24px}.project-details-photo{max-height:38dvh}.project-details-copy h2{font-size:24px;margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.project-hover-label{transition:none}}

.project-details-copy .project-details-period{font-size:14px;margin:-12px 0 24px;color:var(--muted)}

/* Startbild vollständig im ursprünglichen Seitenverhältnis anzeigen */
.hero-visual{display:flex;align-items:center;justify-content:center;background:var(--cream)}
.hero-visual>img{width:100%;height:auto;object-fit:contain;object-position:center;flex:0 1 auto}
.hero-visual:after{content:none}
@media(max-width:900px){.hero-visual{height:auto}}

/* Gemeinsame Inhaltskanten und symmetrische Seitenabstände */
:root{--page-gutter:100px}
.wrap,.promise .wrap{width:min(var(--max),calc(100% - var(--page-gutter)));max-width:var(--max);margin-inline:auto}
.hero-visual{margin:0}
:is(#referenzen,#aktuelle-projekte) .project{width:100%}
@media(max-width:1100px){:root{--page-gutter:64px}}
@media(max-width:900px){:root{--page-gutter:40px}}

/* Unternehmenshintergrund auf die gemeinsame Seitenbreite begrenzen */
#unternehmen{background:#fff}
#unternehmen>.wrap{background:var(--cream);padding:40px}
@media(max-width:700px){#unternehmen>.wrap{padding:24px}}

/* Einheitlich schwarze Überschriften; vereinbarte weiße Kontaktüberschriften */
:is(h1,h2,h3),#hero-title span{color:#000!important}
.eyebrow,.region-title,#kontakt .addresses strong{color:#000!important}
#kontakt :is(h1,h2,h3,.eyebrow),#kontakt .addresses strong{color:#fff!important}

/* Kurze dunkelgrüne Striche vor und hinter den kleinen Großbuchstaben */
.eyebrow,.region-title,#kontakt .addresses strong{display:flex!important;align-items:center;gap:12px}
.eyebrow::before,.eyebrow::after,.region-title::before,.region-title::after,#kontakt .addresses strong::before,#kontakt .addresses strong::after{content:""!important;display:block!important;position:static;width:24px;height:2px;flex:0 0 24px;background:#000!important}
#kontakt .eyebrow::before,#kontakt .eyebrow::after,#kontakt .addresses strong::before,#kontakt .addresses strong::after{background:#fff!important}
#kontakt .addresses strong{gap:8px}
#kontakt .addresses strong::before,#kontakt .addresses strong::after{width:16px;flex-basis:16px}

/* Unternehmensüberschriften außerhalb des hellen Inhaltskastens */
#unternehmen>.wrap{background:transparent;padding:0}
#unternehmen .section-intro{display:block;margin-bottom:36px}
#unternehmen .section-intro h2{margin:0}
#unternehmen .company-panel{background:var(--cream);padding:40px}
@media(max-width:700px){#unternehmen .section-intro{margin-bottom:28px}#unternehmen .company-panel{padding:24px}}

/* Adressüberschriften ohne Striche, mit einem Pixel Zeichenabstand */
#kontakt .addresses strong{display:block!important;letter-spacing:1px}
#kontakt .addresses strong::before,#kontakt .addresses strong::after{content:none!important;display:none!important}

/* Einheitliche Schriftgrößen nach Abstimmung */
#hero-title,#leistungen .section-intro h2,#aktuelle-projekte h2,#unternehmen h2,#referenzen h2,#kontakt h2,#team h2{font-size:28px}
#inhalt .hero-copy>p,#leistungen .section-intro .services-intro-text,#inhalt .section-intro p,#unternehmen .company-panel p,#kontakt .contact-grid>div>p,.about .places{font-size:16px}
#leistungen .service h3,:is(#referenzen,#aktuelle-projekte) .project h3,#team .team-card h3{font-size:18px}
#kontakt .contact-details>a{font-size:18px}

/* Originales BFW-Mitgliedslogo im unteren grünen Kontaktbereich */
#kontakt .membership-badge{display:flex;justify-content:flex-end;margin-top:28px}
#kontakt .membership-badge img{display:block;width:179px;max-width:100%;height:auto}
@media(max-width:700px){#kontakt .membership-badge{justify-content:flex-start}}

/* News aus der bisherigen Homepage im Stil der neuen Website */
#news .section-intro{display:block;margin-bottom:36px}
#news h2{font-size:28px;letter-spacing:normal;margin:0}
.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.news-card{min-width:0;background:var(--cream);border:1px solid var(--line)}
.news-media{display:grid;grid-template-columns:1.182448fr .832031fr;gap:10px;padding:24px 24px 0;align-items:start}
.news-card:nth-child(2) .news-media{grid-template-columns:1.281602fr .70875fr}
.news-media :is(a,button){display:block;min-width:0;background:transparent;cursor:zoom-in}
.news-media img{display:block;width:100%;height:auto}
.news-copy{padding:24px}
.news-copy h3{font-size:18px;line-height:1.35;margin:0 0 18px}
.news-copy p{font-size:16px;line-height:1.7;color:var(--muted);margin:0 0 16px}
.news-copy p:last-child{margin-bottom:0}
@media(max-width:800px){.news-grid{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:500px){.news-media{padding:20px 20px 0}.news-copy{padding:20px}}

/* Zusätzlichen Menüpunkt in mittleren Fensterbreiten gut zugänglich halten */
@media(min-width:901px) and (max-width:1100px){
.header{height:78px}.header .logo{width:190px}.header .menu{display:block}
.header .nav{display:none;position:absolute;left:0;right:0;top:78px;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 20px;background:#fff;border-bottom:1px solid var(--line)}
.header .nav.open{display:flex}.header .nav a{padding:13px 5px}.header .nav .contact-link{text-align:center;margin-top:8px}
}

/* Abgestimmte Schriftgrößen für Startseite, News und Rechtstexte */
#hero-title,#leistungen .section-intro h2,#aktuelle-projekte h2,#unternehmen h2,#referenzen h2,#kontakt h2,#team h2,#news h2{font-size:24px}
#leistungen .service p,#unternehmen .company-panel p,.about .places,.news-copy p{font-size:15px}
.news-copy h3{font-size:18px}
.legal-hero h1{font-size:24px;font-weight:700;letter-spacing:normal;line-height:1.12;color:#000;margin:0}
.legal h2,.legal h3{font-size:18px}
.legal p,.legal li{font-size:12px}

/* BFW-Mitgliedslogo mittig unter beiden Kontaktspalten */
#kontakt .contact-grid{row-gap:32px}
#kontakt .contact-grid>.membership-badge{grid-column:1/-1;justify-content:center;margin-top:0}

/* Align team names and roles with the photo edges at every screen width. */
#team .team-card-copy{width:76.5%;margin:0 auto;padding:20px 0}

/* Center the map within the full company panel. */
#unternehmen .company-panel>.region-map{align-self:center;justify-self:center;transform:none}

/* Frame the centered membership badge with balanced horizontal rules. */
#kontakt .contact-grid>.membership-badge{align-items:center;gap:32px}
#kontakt .membership-badge::before,#kontakt .membership-badge::after{content:"";height:1px;flex:1;min-width:0;background:rgba(239,236,223,.45)}
#kontakt .membership-badge img{flex:0 0 auto;max-width:45%}
@media(max-width:500px){#kontakt .contact-grid>.membership-badge{gap:16px}}

/* Match the certificate card to the existing news cards. */
.news-document{padding:24px 24px 0}
.news-document :is(a,button){display:flex;align-items:center;justify-content:center;aspect-ratio:2.014479}
.news-document img{display:block;width:auto;height:100%;max-width:100%;object-fit:contain}
@media(min-width:801px){.news-grid{grid-auto-rows:1fr}}
@media(max-width:500px){.news-document{padding:20px 20px 0}}

/* News photos and certificates open inside the website. */
.news-image-open{width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in}
.news-image-dialog{width:fit-content;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:54px 20px 20px;border:0;background:#fff;overflow:auto}
.news-image-dialog::backdrop{background:rgba(0,35,28,.78)}
.news-image-close{position:absolute;top:6px;right:12px;width:44px;height:44px;border:0;background:transparent;color:var(--green);font-size:36px;line-height:1;cursor:pointer}
.news-preview-photo{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 128px);object-fit:contain;margin:0 auto}
@media(max-width:500px){.news-image-dialog{max-width:calc(100vw - 20px);padding:54px 12px 16px}}

/* Space below the complete hero photo on mobile screens. */
@media(max-width:900px){.hero-visual{margin-bottom:24px}}

/* Start heading size requested on 23 October 2026. */
#hero-title{font-size:28px}
