
:root{--blue:#3c4a77;--navy:#26355c;--red:#e22a32;--pale:#f3f5fa;--line:#dee3ed;--muted:#57637b;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.58 'Segoe UI',Arial,sans-serif;color:#1d294b;background:white}img{max-width:100%;display:block}a{text-decoration:none;color:inherit}button{font:inherit}h1,h2,h3,p{margin-top:0}.wrap{width:min(var(--max),calc(100% - 72px));margin:0 auto}.skip{position:absolute;top:-60px;left:20px;z-index:999;padding:10px;background:#fff}.skip:focus{top:10px}:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.topbar{background:var(--navy);color:#fff;font-size:11px;letter-spacing:.02em}.topbar>.wrap{min-height:35px;display:flex;align-items:center;gap:38px}.topbar .end{margin-left:auto;font-weight:700}.topbar a:hover{text-decoration:underline}.header{background:#fff;border-bottom:1px solid #edf0f6;position:relative;z-index:20}.nav-wrap{display:flex;align-items:center;justify-content:space-between;min-height:83px;gap:26px}.logo img{height:71px;width:auto}.nav{display:flex;align-items:center;gap:38px;font-size:13px;font-weight:700}.nav>a:hover{color:var(--red)}.nav .nav-button{margin-left:10px;border-radius:5px;padding:14px 22px;background:var(--red);color:#fff;box-shadow:0 8px 22px #e22a3229}.nav .nav-button:hover{background:#c01f2b;color:#fff}.menu-btn{display:none}
.hero{min-height:520px;position:relative;overflow:hidden;background:#edf0f6}.hero-photo{position:absolute;inset:0 0 0 45%;background:linear-gradient(90deg,rgba(42,58,98,.1),transparent),url('foerderanlage.jpg');background-image:linear-gradient(90deg,rgba(42,58,98,.1),transparent),url('foerderanlage.jpg');background-size:cover;background-position:center;background-repeat:no-repeat}.hero-photo{background-image:linear-gradient(90deg,rgba(42,58,98,.1),transparent),url('foerderanlage.jpg')}.hero-shade{position:absolute;inset:0;background:linear-gradient(105deg,#f6f8fc 0%,#f6f8fc 39%,rgba(246,248,252,.97) 46%,rgba(246,248,252,.07) 67%,transparent 90%)}.hero-inner{min-height:520px;display:flex;align-items:center;position:relative;z-index:1}.hero-content{width:min(645px,61%);padding:60px 0}.kicker{color:var(--red);font-weight:800;font-size:11px;letter-spacing:.1em}.hero h1{font-size:clamp(35px,4.15vw,60px);line-height:1.13;letter-spacing:-.055em;font-weight:780;margin:18px 0 18px;color:#223156}.red-rule{display:block;background:var(--red);width:66px;height:5px;border-radius:3px;margin:0 0 17px}.hero p{font-size:15px;max-width:540px;color:#344362;line-height:1.8}.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:25px}.btn{display:inline-flex;gap:20px;align-items:center;justify-content:space-between;border-radius:4px;padding:14px 18px;font-size:13px;font-weight:750;border:2px solid var(--navy)}.btn.red{background:var(--red);color:#fff;border-color:var(--red)}.btn.outline{color:#243763;background:#ffffffc8}.btn:hover{transform:translateY(-1px)}
.pad{padding:90px 0}.head h2,.competences h2,.about h2{font-size:clamp(28px,3.1vw,43px);letter-spacing:-.048em;line-height:1.17;margin:6px 0 12px}.head p{color:var(--muted);max-width:660px;line-height:1.8}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px}.service-card{border:1px solid #dbe1ec;border-radius:9px;min-height:225px;overflow:hidden;display:flex;background:#f9fafe;transition:box-shadow .2s}.service-card:hover{box-shadow:0 12px 35px #26355c1a}.card-copy{flex:1 1 60%;padding:24px 0 21px 22px;min-width:0;display:flex;flex-direction:column}.card-copy h3{font-size:16px;line-height:1.3;margin-bottom:10px}.card-copy p{font-size:12px;line-height:1.6;color:#626e84;margin:0 0 12px}.card-copy .card-more{font-size:11px;font-weight:750;color:#b91e2b;margin-top:auto}.service-card img{width:38%;height:auto;object-fit:cover;object-position:center;clip-path:polygon(30% 0,100% 0,100% 100%,0 100%)}
.competences{background:linear-gradient(112deg,#edf1f8,#f8faff);border-top:1px solid #e3e8f1;border-bottom:1px solid #e3e8f1}.expert-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:48px}.expert-row>div{padding:0 24px;border-left:1px solid #cfd7e6;text-align:center}.expert-row>div:first-child{border-left:0}.expert-symbol{font-size:30px;line-height:1;color:var(--blue);font-weight:700}.expert-row h3{font-size:14px;line-height:1.25;margin:12px 0 9px}.expert-row p{font-size:12px;line-height:1.55;color:#5e6d86;margin:0}
.about-grid{display:grid;grid-template-columns:1fr 1.07fr;gap:72px;align-items:center}.about-photo{overflow:hidden;border-radius:5px;border-left:12px solid var(--red);height:360px;background:#e9eef5}.about-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(.88)}.about-text p{color:#56647e;line-height:1.82}.about-text ul{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:12px 22px;margin:22px 0}.about-text li{font-size:12px;font-weight:800}.about-text li:before{content:'✓';color:var(--red);margin-right:9px}.inline{color:#b82333;font-weight:800;font-size:13px}.contact{background:linear-gradient(115deg,#26355c 0%,#334572 72%,#e22a32 72%,#e22a32 100%);color:white}.contact-inner{min-height:153px;display:flex;gap:30px;align-items:center;justify-content:space-between}.contact h2{font-size:25px;margin-bottom:0;letter-spacing:-.02em}.contact p{margin:4px 0 0;font-size:13px;color:#e0e5f0}.contact-cta{font-weight:800;font-size:13px;color:#b71b2c;padding:14px 25px;background:white;border-radius:5px;white-space:nowrap}
.footer{background:#f7f9fc}.foot-grid{padding:54px 0;display:grid;grid-template-columns:1.2fr 1fr 1fr .8fr;gap:30px}.foot-grid img{width:95px;height:auto}.foot-grid strong{display:block;font-size:13px;margin-bottom:13px}.foot-grid p,.foot-grid a{font-size:12px;line-height:1.75;color:#526078}.foot-grid a{display:block}.foot-grid a:hover{color:var(--red)}.foot-end{border-top:1px solid #dfe4ee;display:flex;justify-content:space-between;padding:20px 0;font-size:11px;color:#66748d}
@media(max-width:1050px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.nav{gap:18px}.hero-photo{left:38%}}
@media(max-width:740px){.wrap{width:calc(100% - 38px)}.topbar>.wrap{gap:15px;flex-wrap:wrap;padding:8px 0}.topbar .end{display:none}.nav-wrap{min-height:74px}.logo img{height:58px}.menu-btn{width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:#fff;border:1px solid #d8ddeb;border-radius:6px}.menu-btn span{width:21px;height:2px;background:var(--navy)}.nav{display:none;position:absolute;top:74px;left:0;right:0;z-index:99;background:#fff;padding:15px 23px 25px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 18px 22px #26355c20}.nav.open{display:flex}.nav>a{padding:11px 0;border-bottom:1px solid #eef0f6}.nav .nav-button{margin:10px 0 0;text-align:center;padding:14px}.hero,.hero-inner{min-height:610px}.hero-photo{inset:240px 0 0 0;background-position:50% 50%}.hero-shade{background:linear-gradient(to bottom,#f6f8fc 0%,#f6f8fc 47%,#f6f8fc66 60%,transparent 88%)}.hero-inner{align-items:flex-start}.hero-content{width:100%;padding:44px 0}.hero h1{font-size:clamp(33px,7vw,44px)}.hero p{max-width:600px;font-size:14px}.pad{padding:64px 0}.cards{grid-template-columns:1fr 1fr}.expert-row{grid-template-columns:repeat(2,1fr);gap:28px}.expert-row>div{border:0;padding:0 10px}.about-grid{grid-template-columns:1fr;gap:30px}.about-photo{height:300px}.contact{background:#26355c}.contact-inner{padding:34px 0;flex-wrap:wrap}.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.topbar{font-size:10px}.hero,.hero-inner{min-height:690px}.hero-photo{top:390px}.hero-shade{background:linear-gradient(to bottom,#f6f8fc 0%,#f6f8fc 48%,#f6f8fc50 67%,transparent 100%)}.hero h1{font-size:clamp(29px,8vw,40px)}.actions{gap:10px}.btn{width:100%}.cards{grid-template-columns:1fr}.service-card{min-height:178px}.card-copy{padding:22px 0 18px 18px}.expert-row{gap:22px}.expert-row h3{font-size:12px}.expert-row p{font-size:11px}.foot-grid{grid-template-columns:1fr 1fr;gap:25px}.contact-cta{width:100%;text-align:center}.foot-end{gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}


/* PAIS service pages – extensions to shared Variant B design */
:root{--ink:#20304f}
.topbar .top-mail{color:#fff}.topbar a:hover{text-decoration:underline}
.nav .active{color:#bf2532}
.site-crumb{padding:17px 0;font-size:12px;color:#65728a}.site-crumb a{color:#435575}.site-crumb a:hover{text-decoration:underline}
.detail-hero{background:#f1f4f9;border-bottom:1px solid #dee5ee;overflow:hidden}
.detail-hero-grid{min-height:440px;display:grid;grid-template-columns:1.08fr .92fr;gap:55px;align-items:center;padding:52px 0 72px}
.detail-hero h1{font-size:clamp(35px,4.1vw,56px);line-height:1.12;letter-spacing:-.05em;color:#243252;margin:14px 0 20px}
.detail-hero p{font-size:16px;line-height:1.8;color:#52617b;max-width:610px}
.visual-panel{height:330px;position:relative;border-radius:8px;overflow:hidden;border:1px solid #d5deeb;background:#e3e9f2}
.visual-panel>img{width:100%;height:100%;object-fit:cover}
.visual-panel>span{position:absolute;left:20px;bottom:20px;background:#fff;padding:9px 15px;color:#26355c;font-size:12px;font-weight:800;border-left:4px solid var(--red);box-shadow:0 8px 22px #26355c23}
.detail-intro{display:grid;grid-template-columns:1.12fr .88fr;gap:78px;align-items:start}
.detail-intro h2,.detail-section h2,.project-action h2{font-size:clamp(29px,3vw,41px);letter-spacing:-.04em;line-height:1.18}
.detail-intro p,.detail-section p{color:#56647a;line-height:1.85}
.fact-panel{padding:30px;border:1px solid #dae2ed;background:#f7f9fc;border-top:4px solid var(--red)}
.fact-panel h3{font-size:18px;margin-bottom:15px}
.check-list{padding:0;list-style:none;margin:0}
.check-list li{padding:11px 0;border-bottom:1px solid #dce3ed;font-size:14px;line-height:1.5}
.check-list li:last-child{border-bottom:0}.check-list li:before{content:'✓';color:#c32632;font-weight:900;margin-right:11px}
.detail-section.soft{background:#f5f7fa}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px}
.example{border:1px solid #d9e0ea;background:#fff;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.example .photo{height:195px;background:#dce4ee;overflow:hidden}
.example .photo img{height:100%;width:100%;object-fit:cover}
.example .copy{padding:22px 22px 24px;flex:1}.example h3{font-size:17px;line-height:1.25;letter-spacing:-.015em;margin:0 0 8px}.example p{font-size:13px;line-height:1.65;margin:0}
.project-action{background:#26355c;color:#fff;padding:53px 0}.project-action .wrap{display:flex;gap:30px;align-items:center;justify-content:space-between}
.project-action h2{color:#fff;font-size:30px;margin:0 0 8px}.project-action p{color:#e0e5f0;margin:0}.project-action .btn{background:#fff;color:#a91d28;border-color:#fff;flex-shrink:0}
.service-next{padding:65px 0}.service-next .links{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:24px}
.service-next .links a{border:1px solid #d8e1eb;padding:18px;display:flex;align-items:center;justify-content:space-between;font-weight:750;font-size:14px}
.service-next .links a:hover{border-color:#c52632;color:#bd2634}
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}
.contact-card{border:1px solid #dfe4ec;background:#f9fafc;padding:25px}.contact-card strong{display:block;font-size:14px;color:#243252;margin-bottom:10px}.contact-card a{color:#bd2532;font-weight:800;overflow-wrap:anywhere}.contact-card p{font-size:14px;color:#52617b}
.legal-body{max-width:860px}.legal-body h2{font-size:23px;margin:36px 0 12px;letter-spacing:-.02em}.legal-body h3{font-size:17px;margin-top:25px}.legal-body p,.legal-body li{color:#44526b;line-height:1.85}.legal-body a{color:#bc2431;text-decoration:underline;overflow-wrap:anywhere}.legal-body ul{padding-left:20px}
.media-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:35px}.media-layout img{height:350px;width:100%;object-fit:cover}.media-layout .media-text{align-self:center}
@media(max-width:980px){.detail-hero-grid{gap:24px}.detail-intro{gap:35px}.gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:740px){.topbar .top-mail{display:none}.detail-hero-grid,.detail-intro,.media-layout{grid-template-columns:1fr;gap:28px}.detail-hero-grid{padding:26px 0 49px}.visual-panel{height:300px}.gallery{grid-template-columns:1fr 1fr}.project-action .wrap{flex-wrap:wrap}.contact-cards{grid-template-columns:1fr}.service-next .links{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.gallery{grid-template-columns:1fr}.example .photo{height:220px}.visual-panel{height:260px}.service-next .links{grid-template-columns:1fr}.detail-hero h1{font-size:35px}.project-action .btn{width:100%}}


/* PAIS B: gezielt eingesetzte, manuelle Fotogalerien; ursprüngliches Layout bleibt erhalten. */
.pais-gallery{--pg-surface:#edf1f7;position:relative;isolation:isolate;max-width:820px;margin:34px auto 0;background:var(--pg-surface);border:1px solid #dbe1ea;border-radius:8px;overflow:hidden;box-shadow:0 14px 30px rgba(37,52,92,.055)}
.pais-gallery__viewport{position:relative;aspect-ratio:16/8.4;min-height:240px}
.pais-gallery__slide{position:absolute;inset:0;margin:0;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .24s ease}
.pais-gallery__slide.is-active{visibility:visible;opacity:1;pointer-events:auto}
.pais-gallery__slide img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:#edf1f7}
.pais-gallery__controls{position:absolute;right:16px;bottom:16px;z-index:1;display:flex;gap:8px}
.pais-gallery__button{width:40px;height:40px;display:grid;place-items:center;background:rgba(255,255,255,.94);border:1px solid rgba(36,51,83,.14);border-radius:50%;color:#26355c;cursor:pointer;box-shadow:0 3px 13px rgba(0,0,0,.09)}
.pais-gallery__button:hover,.pais-gallery__button:focus-visible{background:#fff;border-color:#d12b37;outline-offset:2px}
.pais-gallery__button svg{width:19px;height:19px;display:block}
.pais-gallery__progress{position:absolute;bottom:0;left:0;right:0;z-index:1;height:3px;background:rgba(38,53,92,.15)}
.pais-gallery__progress span{display:block;height:100%;width:var(--pg-progress,20%);background:#b72b38;transition:width .24s ease}
.pais-gallery--home{width:100%;height:100%;max-width:none;min-height:0;margin:0;box-shadow:none;border:0;border-radius:0}
.pais-gallery--home .pais-gallery__viewport{height:100%;min-height:0;aspect-ratio:auto}
.pais-gallery--home .pais-gallery__slide img{object-fit:cover;background:#e5eaf2}
.pais-gallery--home .pais-gallery__controls{right:12px;bottom:13px}
.pais-gallery--home .pais-gallery__button{width:36px;height:36px}
@media(max-width:740px){.pais-gallery{margin-top:26px}.pais-gallery__viewport{aspect-ratio:4/3;min-height:220px}.pais-gallery--home{margin:0}.pais-gallery--home .pais-gallery__viewport{aspect-ratio:auto;min-height:0}}
@media(max-width:540px){.pais-gallery__viewport{aspect-ratio:1.3;min-height:230px}.pais-gallery--home .pais-gallery__viewport{aspect-ratio:auto}.pais-gallery__controls{bottom:12px;right:12px}.pais-gallery__button{width:38px;height:38px}}
@media(prefers-reduced-motion:reduce){.pais-gallery__slide,.pais-gallery__progress span{transition:none}}

/* Zusätzliche Leistungsbereiche im Menü */
@media(min-width:741px){.nav{gap:clamp(8px,1.1vw,18px);font-size:12px}.nav-wrap{gap:12px}.nav .nav-button{margin-left:0;padding:12px}}
@media(min-width:741px) and (max-width:1150px){.menu-btn{width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:#fff;border:1px solid #d8ddeb;border-radius:6px}.menu-btn span{width:21px;height:2px;background:var(--navy)}.nav{display:none;position:absolute;top:83px;left:0;right:0;z-index:99;background:#fff;padding:15px 23px 25px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 18px 22px #26355c20}.nav.open{display:flex}.nav>a{padding:11px 0;border-bottom:1px solid #eef0f6}}

/* Produktbilder vollständig im einheitlichen Kartenrahmen */
.humidity-examples .example .photo { background:#fff; }
.humidity-examples .example .photo img { object-fit:contain; padding:10px; }

/* Automatisierung: Bildschirmansichten und Netzwerkschema vollständig darstellen */
.automation-examples .example:nth-child(n+3) .photo{background:#fff}.automation-examples .example:nth-child(n+3) .photo img{object-fit:contain;padding:8px}

/* Ruhige Header für Kontakt und rechtliche Informationen */
.detail-hero .detail-hero-grid--simple{display:block;min-height:0;padding:48px 0 68px}
.detail-hero-grid--simple>div{max-width:760px}
.detail-hero--contact .detail-hero-grid--simple{padding-top:64px;padding-bottom:86px}
.detail-hero--contact{background:linear-gradient(115deg,#f1f4f9 0%,#f1f4f9 64%,#e7edf6 100%)}
@media(max-width:740px){.detail-hero .detail-hero-grid--simple{padding:26px 0 49px}.detail-hero--contact .detail-hero-grid--simple{padding:35px 0 55px}}

/* Kopfzeile und kleine Displays */
.topbar .end{display:block}
@media(max-width:740px){.topbar>.wrap{gap:4px 12px}.topbar .end{display:block}.detail-hero h1{overflow-wrap:anywhere}.foot-grid a,.contact-card a{overflow-wrap:anywhere}}
@media(max-width:540px){.hero{display:flex;flex-direction:column;min-height:0}.hero-inner{order:0;min-height:0}.hero-content{padding:38px 0}.hero-photo{position:relative;inset:auto;order:1;width:100%;min-height:235px;background-position:center}.hero-shade{display:none}}

/* Listenhaken mit durchgehendem Texteinzug */
.check-list li{position:relative;padding-left:1.6em}
.check-list li:before{position:absolute;left:0;margin-right:0}

/* Inbetriebnahme: Illustration vollständig im Kartenrahmen darstellen. */
.example .photo .retrofit-commissioning-illustration{object-fit:contain}

/* Galerie: Autoplay lässt sich dauerhaft pausieren. */
.pais-gallery__controls .pais-gallery__pause{width:auto;min-width:60px;padding:0 12px;border-radius:20px;font-size:12px;font-weight:700}
.pais-gallery__controls .pais-gallery__pause[hidden]{display:none}
