*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:115px}body{margin:0;font:16px Arial,Helvetica,sans-serif;color:#263239;background:#fff}a{color:inherit;text-decoration:none}.wrap{width:min(1280px,calc(100% - 48px));margin:auto}.site-header{background:#253239;color:white;position:sticky;top:0;z-index:50}.header-inner{min-height:110px;display:flex;align-items:center;gap:17px}.brand{display:flex;align-items:center;justify-content:center;background:#fff;border-radius:4px;padding:4px;width:205px;height:72px;flex:none}.brand img{max-width:100%;max-height:100%;object-fit:contain}.motto{min-width:195px}.motto strong{display:block;color:#7ccaff;font-size:18px;line-height:1.1}.motto small{display:block;margin-top:7px;font-size:13px}.site-header nav{margin-left:auto;display:flex;gap:21px;align-items:center}.site-header nav a{padding:14px 0;border-bottom:2px solid transparent;white-space:nowrap}.site-header nav a.active,.site-header nav a:hover{color:#86cfff;border-bottom-color:#1685bd}.phone{white-space:nowrap;border:1px solid #7e8b93;border-radius:28px;padding:12px 17px;font-weight:bold}.site-footer{background:#253239;color:white;padding:35px 0 18px}.footer-cols{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:32px}.footer-cols p{font-size:14px;line-height:1.9}.footer-cols a:hover{text-decoration:underline}.footer-logo{max-width:145px;max-height:62px;object-fit:contain;background:white;padding:3px;border-radius:3px}.footer-bottom{border-top:1px solid #54636b;margin-top:30px;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:13px}.toplink{display:inline-flex;align-items:center;justify-content:center;background:#1685bd;border-radius:50%;height:42px;width:42px;font-size:25px}.eyebrow{font-size:14px;font-weight:800;letter-spacing:3px;color:#08578a}.intro{background:#f2f7fb;padding:48px 0 42px}.intro h1{font-size:clamp(36px,4vw,52px);margin:12px 0 15px}.intro p{font-size:18px;line-height:1.6;max-width:800px}.section{padding:38px 0 65px}.contact-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:32px}.panel{padding:32px;border-radius:18px}.form-panel{background:#f2f7fb;border:1px solid #d1e0eb}.details-panel{background:#253239;color:white}.details-panel .eyebrow{color:#83cfff}.details-panel h2{font-size:30px}.details-panel .detail{border-top:1px solid #52616a;padding:20px 0}.detail strong{display:block;color:#8acdf3;letter-spacing:1px;margin-bottom:13px}.detail p{margin:0;line-height:1.8}.form-panel h2{font-size:32px;margin:10px 0 25px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}label{font-weight:700;font-size:14px;display:block}input,select,textarea{width:100%;font:16px Arial;padding:14px 15px;border:1px solid #c5d9e8;border-radius:10px;background:white;margin-top:9px}textarea{min-height:140px;resize:vertical}.wide{grid-column:1/-1}.check{display:flex;gap:10px;align-items:flex-start;margin:20px 0}.check input{width:auto;margin:2px}.btn{background:#1685bd;color:#fff;border:0;border-radius:9px;padding:14px 22px;font-weight:700;cursor:pointer}.note{font-size:13px;color:#52616a}.hero{background:#f2f7fb;padding:65px 0}.hero h1{font-size:clamp(40px,5vw,66px);max-width:850px;margin:12px 0}.hero p{font-size:22px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:30px}.card{background:#e6f3fc;border:1px solid #cbdfee;border-radius:14px;padding:24px;font-size:21px;font-weight:700}.card span{display:block;font-size:14px;margin-top:12px;color:#126ca1}.content{padding:55px 0;min-height:330px}.content h2{font-size:34px}.qualities{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.quality{padding:20px;background:#f2f7fb;border-radius:12px}.project{padding:25px;border:1px solid #d1e0eb;border-radius:12px}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}@media(max-width:1120px){.header-inner{flex-wrap:wrap;padding:14px 0}.site-header nav{order:3;margin-left:0;width:100%;flex-wrap:wrap}.phone{margin-left:auto}.contact-grid{grid-template-columns:1fr 1fr}}@media(max-width:700px){.wrap{width:min(100% - 30px,1280px)}.brand{width:165px}.motto{min-width:0}.phone{margin-left:0}.site-header nav{gap:14px}.contact-grid,.fields,.footer-cols,.cards,.qualities,.projects{grid-template-columns:1fr}.wide{grid-column:auto}.panel{padding:22px}.footer-bottom{align-items:flex-start;flex-direction:column}}
/* Nur Startseite – Navigation und Footer bleiben unverändert. */
.home-hero{width:100%;overflow:hidden;background:#eee4d9}.home-hero img{display:block;width:100%;height:auto}.home-qualities{background:#f8fcff;padding:24px 0 27px}.home-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));text-align:center}.home-quality-grid>div{position:relative;padding:0 15px}.home-quality-grid>div+div:before{content:"";position:absolute;left:0;top:24px;bottom:13px;width:1px;background:#d5e8fa}.home-icon{display:grid;place-items:center;margin:0 auto 11px;width:62px;height:62px;border-radius:50%;background:#e4f2ff;color:#167cb8;font-size:35px;font-weight:bold}.home-quality-grid h3{color:#153d68;font-size:16px;margin:0 0 7px}.home-quality-grid p{font-size:15px;line-height:1.5;color:#445267;margin:0}.home-services{padding:34px 0 20px}.home-kicker{display:flex;align-items:center;gap:10px;color:#167bb6;font-size:14px;font-weight:800;letter-spacing:.5px}.home-kicker span{width:55px;height:2px;background:#167bb6}.home-services h2{font-size:clamp(27px,3vw,39px);margin:9px 0 6px;letter-spacing:-.7px}.home-lead{font-size:16px;line-height:1.5;color:#435268;margin:0 0 20px}.home-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-projects a{position:relative;display:block;overflow:hidden;border-radius:6px;aspect-ratio:1.58;background:#e8edf0}.home-projects img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.home-projects a:hover img{transform:scale(1.04)}.home-projects a:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.68))}.home-projects strong{position:absolute;bottom:15px;left:17px;color:white;font-size:16px;z-index:1}@media(max-width:700px){.home-quality-grid{grid-template-columns:repeat(2,1fr);gap:24px 0}.home-quality-grid>div:nth-child(3):before{display:none}.home-projects{grid-template-columns:1fr}.home-services{padding-top:28px}.home-qualities{padding:22px 0}}

/* Layout-Konsistenz: gemeinsame Navigation, Inhalte und Footer */
.site-header .header-inner{display:flex;align-items:center;flex-wrap:nowrap;gap:18px}.site-header nav{display:flex;align-items:center;justify-content:flex-end;gap:19px;margin-left:auto}.site-header nav a{color:#fff}.site-footer .footer-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.intro,.content{color:#263239}.intro h1,.content h1,.content h2{color:#263239}.home-hero img{width:100%;height:auto;display:block}.home-linkcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:16px 0}.home-linkcards a{display:block;background:#f0f9ff;border:1px solid #cce3f5;border-radius:10px;padding:21px 23px;min-height:154px}.home-linkcards b{display:block;font-size:22px;margin:8px 0}.home-linkcards span{display:block;color:#415468;line-height:1.5}.home-linkcards em{display:block;color:#167bb6;font-weight:bold;font-style:normal;margin-top:13px}.home-room{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;padding:22px 0}.home-room img{width:100%;border-radius:8px}.home-room h2{font-size:36px}.home-room p{font-size:18px;line-height:1.6}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.service-grid article{background:#f2f8fc;border-radius:12px;overflow:hidden}.service-grid img{width:100%;aspect-ratio:1.6;object-fit:cover}.service-grid article div{padding:18px}.service-grid h2{margin:0 0 8px}.service-grid p{line-height:1.6}.site-footer .footer-logo{display:block;max-width:145px;width:auto;height:auto;object-fit:contain}@media(max-width:1150px){.site-header .header-inner{flex-wrap:wrap}.site-header nav{order:3;width:100%;justify-content:flex-start;flex-wrap:wrap}.site-header .phone{margin-left:auto}}@media(max-width:720px){.home-linkcards,.home-room,.service-grid,.site-footer .footer-cols{grid-template-columns:1fr}.home-linkcards a{min-height:0}.site-header nav{gap:13px}.site-header .brand{width:160px}.site-header .motto{min-width:0}}

/* Einheitliche Kopf- und Fusszeile auf ALLEN Seiten. */
.site-header .header-inner{display:flex;align-items:center;flex-wrap:nowrap;gap:18px}.site-header nav{display:flex;align-items:center;justify-content:flex-end;gap:19px;margin-left:auto}.site-header nav a{color:#fff}.site-footer .footer-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.site-footer .footer-logo{display:block;width:145px;max-width:100%;height:auto;max-height:none;object-fit:contain}.footer-social{display:flex;gap:12px;align-items:center}.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid #65747c;border-radius:50%;font-size:14px;font-weight:bold;color:white}.footer-social a:hover{background:#1685bd}.footer-bottom-right{display:flex;gap:18px;align-items:center}.footer-brand-text{margin:8px 0 0;font-size:13px}.site-footer .footer-cols a{color:white}@media(max-width:1150px){.site-header .header-inner{flex-wrap:wrap}.site-header nav{order:3;width:100%;justify-content:flex-start;flex-wrap:wrap}.site-header .phone{margin-left:auto}}@media(max-width:720px){.site-footer .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-bottom{flex-wrap:wrap}.footer-bottom-right{width:100%;justify-content:space-between}}@media(max-width:440px){.site-footer .footer-cols{grid-template-columns:1fr}}

/* Einheitlicher Footer: vollständiges Originalbild, sichtbarer Button und farbige Icons */
.site-footer .footer-cols{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.05fr;gap:28px;align-items:start}
.site-footer .footer-brand{min-width:0}.site-footer .footer-logo{display:block;width:180px;max-width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;background:white;border-radius:4px;padding:0;clip-path:none;overflow:visible}
.site-footer .footer-brand p{margin:9px 0}.site-footer .footer-contact-button{display:inline-block;border:1px solid #b4cbd9;border-radius:22px;padding:10px 17px;font-weight:700;color:white}
.site-footer .footer-contact-button:hover{background:#1685bd;text-decoration:none}.site-footer .footer-social{display:flex;align-items:center;gap:10px}.site-footer .footer-social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;border-radius:50%;font-weight:800;color:white;text-decoration:none}
.site-footer .footer-social .social-facebook{background:#1877f2}.site-footer .footer-social .social-instagram{background:#c13584}.site-footer .footer-social .social-linkedin{background:#0a66c2}
@media(max-width:750px){.site-footer .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:440px){.site-footer .footer-cols{grid-template-columns:1fr}}

main{display:block;min-height:0}.empty-page{min-height:55vh;background:#fff}.footer-contact-button{display:inline-block;padding:10px 15px;border:1px solid #8a9da9;border-radius:30px;font-weight:700}.footer-logo{max-height:none!important;height:auto!important;object-fit:contain!important;clip-path:none!important}.site-footer .footer-logo{width:165px;max-width:100%;display:block}.footer-brand img{aspect-ratio:auto}.site-header .header-inner{flex-wrap:nowrap}.site-header nav{width:auto;order:initial;flex-wrap:nowrap}.site-footer .footer-cols{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.site-header .header-inner{flex-wrap:wrap}.site-header nav{width:100%;order:3;flex-wrap:wrap}}@media(max-width:720px){.site-footer .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.site-footer .footer-cols{grid-template-columns:1fr}}

/* FINAL: compact centred header/footer; plain monochrome actual SVG icons */
:root{--mm-width:1120px}
.site-header .wrap,.site-footer .wrap{width:min(var(--mm-width),calc(100% - 64px));margin-inline:auto}
.site-header .header-inner{gap:13px;min-height:96px;flex-wrap:nowrap}
.site-header .brand{width:155px;height:60px;flex-shrink:0}
.site-header .motto{min-width:156px;max-width:156px}
.site-header .motto strong{font-size:15px}
.site-header .motto small{font-size:11px}
.site-header nav{gap:13px;margin-left:auto;flex-wrap:nowrap}
.site-header nav a{font-size:13px}
.site-header .phone{font-size:12px;padding:10px 11px}
.site-footer .footer-cols{grid-template-columns:1fr 1fr 1fr .9fr;gap:22px}
.site-footer .footer-logo{width:112px!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;display:block;overflow:visible;padding:0;background:transparent}
.site-footer .footer-brand a{display:inline-block;max-width:100%;overflow:visible}
.site-footer .footer-social{display:flex;align-items:center;gap:15px}
.site-footer .footer-social a,.site-footer .footer-social .social-facebook,.site-footer .footer-social .social-instagram,.site-footer .footer-social .social-linkedin{background:none!important;border:0!important;border-radius:0!important;width:23px;height:23px;padding:0;color:#fff!important}
.site-footer .footer-social svg{width:21px;height:21px;display:block;fill:currentColor}
.site-footer .footer-social a:hover{color:#9edaff!important}
@media(max-width:1050px){.site-header .header-inner{flex-wrap:wrap;padding:13px 0}.site-header nav{order:3;width:100%;justify-content:flex-start;flex-wrap:wrap;margin-left:0}.site-header .phone{margin-left:auto}}
@media(max-width:700px){.site-header .wrap,.site-footer .wrap{width:calc(100% - 32px)}.site-footer .footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.site-header .motto{min-width:0;max-width:none}.site-header .brand{width:140px}}
@media(max-width:430px){.site-footer .footer-cols{grid-template-columns:1fr}}

/* Pfeil nur auf der Startseite; auf den leeren Seiten wird kein Pfeil ausgegeben. */
.site-footer .home-toplink{width:44px;height:44px;flex:0 0 44px;border:1px solid #7dc7f2;border-radius:50%;background:#1685bd;color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(0,0,0,.18);transition:background .2s,transform .2s}
.site-footer .home-toplink svg{width:22px;height:22px;display:block}
.site-footer .home-toplink:hover,.site-footer .home-toplink:focus-visible{background:#0b6699;transform:translateY(-3px)}

/* Footer logo: complete image, compact, no crop; monochrome WhatsApp icon */
.site-footer .footer-brand .footer-logo{width:78px!important;max-width:78px!important;height:auto!important;max-height:none!important;object-fit:contain!important;clip-path:none!important;border-radius:2px;padding:0!important}
.site-footer .footer-brand>a{display:inline-block;overflow:visible!important;line-height:0}
.site-footer .footer-social .social-whatsapp{display:inline-flex;align-items:center;justify-content:center;background:transparent!important;border:0!important;border-radius:0!important;width:23px;height:23px;padding:0;color:#fff!important}
.site-footer .footer-social .social-whatsapp svg{width:21px;height:21px;fill:currentColor}
/* Kleine, vollständig sichtbare MDmg-Marke; nur Startseiten-Pfeil. */
.site-footer .footer-brand .footer-logo{display:block!important;width:68px!important;max-width:68px!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;overflow:visible!important}
.site-footer .home-toplink{width:42px;height:42px;border-radius:50%;background:#1685bd;border:1px solid #8ed3ff;box-shadow:0 4px 12px rgba(0,0,0,.22)}
.site-footer .home-toplink svg{width:22px;height:22px;fill:none;stroke:currentColor}

/* Footer-MDmg: klein, vollständiges Originalbild, kein Beschnitt. */
.site-footer .footer-brand .footer-logo{width:62px!important;max-width:62px!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;overflow:visible!important;padding:0!important;border:0!important}
.site-footer .footer-brand>a{display:inline-block!important;line-height:0;overflow:visible!important}
.site-footer .footer-brand p{margin:7px 0 0;line-height:1.45}
/* Klar erkennbarer Aufwärtspfeil, ausschliesslich auf index.php ausgegeben. */
.site-footer .home-toplink{width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#1685bd;color:#fff;border:1px solid #a3dcff;box-shadow:0 4px 13px rgba(0,0,0,.24)}
.site-footer .home-toplink svg{width:26px;height:26px;stroke:currentColor;stroke-width:2.6;fill:none}
/* Einzige visuelle Änderung: MDmg-Logo im Footer 30 % kleiner (62 -> 43.4 px), unbeschnitten. */
.site-footer .footer-brand .footer-logo{width:43.4px!important;max-width:43.4px!important;height:auto!important;max-height:none!important;object-fit:contain!important;clip-path:none!important;overflow:visible!important;padding:0!important}
