/*
Theme Name: SMART TECH BERLIN
Author: SMART TECH BERLIN
Description: Eigenständige Firmenwebseite mit sicherem Einrichtungsassistenten für getrenntes WordPress-Staging. Kein Page Builder erforderlich.
Version: 1.4.7
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: smart-tech-berlin
*/
:root{--ink:#0b2330;--green:#187a22;--hover:#105e18;--muted:#54616a;--line:#dfe5e4;--soft:#f3f6f2;--max:1320px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:17px/1.65 Arial,Helvetica,sans-serif;background:white}a{color:inherit;text-underline-offset:4px}button,input,textarea,select{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #238c2d;outline-offset:5px}img{max-width:100%;height:auto}.wrap{max-width:var(--max);margin:auto;padding-left:38px;padding-right:38px}.skip{position:fixed;left:1rem;top:-100px;background:white;padding:15px;z-index:99}.skip:focus{top:1rem}.review-bar{font-size:12px;letter-spacing:.04em;text-align:center;background:#edf4e9;color:#315238;padding:7px 16px;border-bottom:1px solid #dce9d5}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:40px;min-height:126px}.brand{text-decoration:none;flex-shrink:0}.brand-word{background:#0c2632;color:white;padding:15px 18px;display:inline-block;font-size:23px;font-weight:300;line-height:1.05;letter-spacing:1.5px}.brand-word span{color:#60b957}nav{display:flex;align-items:center;gap:28px;flex:1}nav a{text-decoration:none;font-size:15px;white-space:nowrap;padding:12px 0;border-bottom:2px solid transparent}nav a[aria-current=page]{color:var(--green);border-color:var(--green)}.header-contact{display:flex;gap:25px;font-size:14px;line-height:1.5}.header-contact a{text-decoration:none;display:block;font-weight:bold;font-size:16px}.header-contact span{color:var(--muted);font-size:12px}.header-contact .symbol{color:var(--green);font-size:25px;float:left;margin-right:12px}.menu-toggle{display:none}.hero{background:#f4f3ef url('assets/hero.png') center center/cover no-repeat;position:relative;min-height:690px;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.7) 37%,rgba(255,255,255,0) 66%);z-index:-1}.hero-inner{padding-top:66px;padding-bottom:60px}.eyebrow{color:var(--muted);letter-spacing:.12em;font-weight:700;font-size:14px;margin:0 0 12px}.hero .eyebrow{font-size:19px;letter-spacing:.08em}h1,h2,h3{line-height:1.13;letter-spacing:-.035em;margin:0 0 22px}h1{font-size:clamp(40px,4.5vw,66px);max-width:950px}h1 span{color:var(--green)}h2{font-size:clamp(28px,3vw,40px)}h3{font-size:23px;letter-spacing:-.02em}.lead{font-size:23px;line-height:1.55;max-width:700px;margin:22px 0 34px}.hero .lead{max-width:610px}.button{display:inline-flex;gap:30px;align-items:center;justify-content:center;background:var(--green);color:white;padding:16px 25px;border-radius:5px;text-decoration:none;font-weight:bold;border:0;cursor:pointer}.button:hover{background:var(--hover)}.hero .button{font-size:21px;padding:18px 28px}.button:disabled{background:#5d6b5e;cursor:not-allowed}.credentials{display:flex;align-items:center;gap:24px;margin-top:43px;max-width:640px}.credential{border-left:2px solid #cbd5ca;padding-left:18px;flex:1;font-size:13px;line-height:1.5}.credential strong{display:block;font-size:15px}.credential small{color:#687368}.credential img{max-height:80px;max-width:200px}.image-note{position:absolute;right:18px;bottom:8px;font-size:10px;color:#38433b;background:#ffffffb3;padding:1px 6px}.section{padding-top:80px;padding-bottom:80px}.section-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:90px;align-items:end;margin-bottom:40px}.section-heading p{max-width:430px}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.services article{border-top:1px solid #bccbbf;padding:26px 0 15px}.number{font-size:13px;color:var(--green);font-weight:bold;letter-spacing:.08em;display:block;margin-bottom:30px}.services h3{margin-bottom:12px}.services p{color:var(--muted)}.text-link{display:inline-block;color:var(--green);font-weight:bold;margin-top:15px}.soft{background:var(--soft)}.steps-layout{display:grid;grid-template-columns:1fr 1fr;gap:110px}.steps{list-style:none;counter-reset:step;margin:0;padding:0}.steps li{counter-increment:step;position:relative;padding:0 0 18px 60px;border-bottom:1px solid var(--line);margin-bottom:23px}.steps li:before{content:'0'counter(step);color:var(--green);position:absolute;left:0;top:0;font-weight:bold;font-size:20px}.steps h3{margin-bottom:8px}.steps p{margin-top:0}.callout{display:flex;justify-content:space-between;align-items:center;gap:40px}.callout p{max-width:670px}.site-footer{border-top:1px solid var(--line);padding:30px 0;color:#50616d;font-size:14px}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-links{display:flex;gap:30px}.footer-links a{text-decoration:none}.page-intro{padding-top:70px;padding-bottom:40px;border-bottom:1px solid var(--line)}.page-intro h1{font-size:clamp(36px,4.4vw,62px)}.page-intro .lead{max-width:800px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px 90px}.detail-grid article{max-width:560px}.narrow{max-width:950px}details{border-bottom:1px solid #cdd7cc;padding:20px 0}summary{cursor:pointer;font-weight:700;font-size:19px}details p{max-width:760px}.about-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:90px}.identity-panel{background:#eef2ed;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px;min-height:380px}.identity-panel .brand-word{font-size:58px;padding:32px}.identity-panel p{font-size:14px}.contact-layout{display:grid;grid-template-columns:1fr 1.65fr;gap:85px}.contact-value{color:var(--green);overflow-wrap:anywhere}.aside-note{padding:24px;margin-top:38px;font-size:15px}.aside-note h3{font-size:19px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{display:block;margin-bottom:20px;font-weight:bold;font-size:15px}.field input,.field textarea{display:block;width:100%;border:1px solid #b5c2b7;border-radius:3px;padding:12px;background:white;color:var(--ink);font-weight:normal;margin-top:7px}.field textarea{min-height:125px;resize:vertical}fieldset{border:0;padding:0;margin:0 0 25px}legend{font-weight:bold;margin-bottom:10px;font-size:15px}.choice{display:inline-flex;align-items:center;gap:7px;margin:0 17px 10px 0;font-size:15px}input[type=checkbox]{accent-color:var(--green);width:19px;height:19px}.form-hint{font-size:13px;color:var(--muted)}.draft{border-left:4px solid #a47c29;background:#fff8e9;padding:18px 20px;margin-bottom:28px;font-size:15px}.status{padding:18px;background:#edf4e9;border-left:4px solid var(--green);margin-bottom:25px}.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.legal{max-width:950px;overflow-wrap:anywhere}.legal h2{font-size:26px;margin-top:40px}.legal .draft+h2{margin-top:0}.legal p{line-height:1.8}.wp-block-image{margin:20px 0}@media(min-width:1600px){.hero{min-height:760px}.hero-inner{padding-top:85px}}@media(max-width:1150px){.header-inner{gap:25px}.header-contact>div:first-child{display:none}nav{gap:20px}.hero{background-position:58% center}.hero .lead{max-width:560px}.hero h1{font-size:55px}.wrap{padding-left:28px;padding-right:28px}.section-heading{gap:40px}}@media(max-width:850px){.header-inner{min-height:100px;flex-wrap:wrap;position:relative;justify-content:space-between;padding-top:12px;padding-bottom:12px}.brand-word{font-size:19px;padding:12px}.header-contact{margin-left:auto}.menu-toggle{display:block;background:white;border:1px solid var(--line);padding:9px 13px;border-radius:4px}nav{flex-basis:100%;flex-wrap:wrap;gap:12px 25px;justify-content:center}.js nav:not(.open){display:none}.hero{min-height:650px;background-position:64% center}.hero:before{background:linear-gradient(90deg,#ffffffed,#ffffffb8 55%,#ffffff20)}.hero h1{font-size:47px}.hero .lead{font-size:21px;max-width:510px}.hero-inner{padding-top:50px}.section{padding-top:55px;padding-bottom:55px}.section-heading,.steps-layout,.about-layout,.contact-layout{grid-template-columns:1fr;gap:30px}.services{gap:25px}.services h3{font-size:21px}.callout{align-items:flex-start;flex-direction:column}.detail-grid{gap:40px}.contact-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.contact-layout aside h2{grid-column:1/-1}.aside-note{grid-column:1/-1;margin-top:10px}.identity-panel{min-height:270px}.about-layout .credentials{margin-bottom:25px}}@media(max-width:560px){body{font-size:16px}.wrap{padding-left:21px;padding-right:21px}.header-contact{display:none}.hero{background-size:auto 600px;background-position:61% top;background-color:#f7f7f2;min-height:740px}.hero:before{background:linear-gradient(90deg,#fffffff2,#ffffffb5 70%,#ffffff6b)}.hero-inner{padding-top:43px;padding-bottom:35px}.hero .eyebrow{font-size:14px}.hero h1{font-size:38px;letter-spacing:-.045em}.hero .lead{font-size:19px;line-height:1.6;max-width:330px}.hero .button{font-size:16px;padding:16px 17px;gap:15px;width:100%}.credentials{flex-direction:column;align-items:stretch;gap:15px;margin-top:30px;max-width:330px}.credential{font-size:12px}.credential strong{font-size:14px}.services,.detail-grid,.form-grid{grid-template-columns:1fr}.services{gap:15px}.services article{padding-top:20px}.number{margin-bottom:14px}.page-intro{padding-top:45px}.page-intro h1{font-size:36px}.lead{font-size:19px}.footer-inner{align-items:flex-start;flex-direction:column}.contact-layout aside{display:block}.callout .button{width:100%}.image-note{font-size:9px}.review-bar{font-size:10px}.identity-panel .brand-word{font-size:42px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Originales Q-Logo: unverändert, proportional und mit Freiraum. */
.credential-logo{flex:0 0 auto;border:0;padding:0}.credential-logo img{display:block;width:112px;max-width:100%;height:auto;max-height:none}.credentials{align-items:center}@media(max-width:560px){.credentials{align-items:flex-start}.credential-logo img{width:100px}}

/* Kontaktdaten in der Kopfzeile zusammenhängend anzeigen. */
.header-contact{flex-shrink:0}.header-contact>div{flex-shrink:0}.header-contact a,.header-contact span{white-space:nowrap}.header-contact .symbol{line-height:1.5}@media(max-width:1200px){.header-contact>div:first-child{display:none}}

.credential-explanation{font-size:15px;line-height:1.6;color:var(--ink);margin:10px 0 0;max-width:430px}.credential:has(.credential-explanation){padding-left:22px}@media(max-width:560px){.credential-explanation{font-size:14px}.credential:has(.credential-explanation){padding-left:16px}}

/* Preserve the complete detector and visible ceiling at the top of the source. */
.hero{background-size:100% auto;background-position:center top}
.hero-mobile-photo{display:none}
@media(max-width:1150px){.hero{background-position:center top;background-size:100% auto}}
@media(max-width:850px){.hero{background-position:center top;background-size:100% auto}}
@media(max-width:560px){
 .hero{background-image:none;background-color:#f7f7f2;min-height:0}
 .hero:before{display:none}
 .hero-inner{padding-bottom:32px}
 .hero-mobile-photo{display:block;width:100%;height:auto;margin:0}
}

@media(min-width:851px){.hero{min-height:max(690px,25vw)}}@media(min-width:1600px){.hero{min-height:max(760px,25vw)}}

.credential-logo{flex-basis:200px}.credential-qualification{font-size:14px;line-height:1.45;font-weight:700;margin:12px 0 0;max-width:220px}.credential-qualification span{font-weight:400}@media(max-width:560px){.credential-logo{flex-basis:auto}}

/* Responsive header: explicit icon/text columns, no floats or overlapping blocks. */
.site-header .header-inner{display:grid;grid-template-columns:auto 1fr auto;gap:28px;min-height:126px;padding-top:18px;padding-bottom:18px}
.brand-image{display:block;max-width:128px;max-height:100px;width:auto;height:auto}
.site-header nav,.js .site-header nav:not(.open){display:flex;flex-wrap:nowrap;justify-content:center;gap:24px;min-width:0}
.site-header nav a{font-size:15px;padding:13px 0;line-height:1.4}
.site-header .header-contact{display:flex;gap:28px;margin:0;align-items:center;min-width:0;flex-shrink:0}
.site-header .header-contact>.contact-item{display:flex;align-items:flex-start;gap:10px;min-width:0;flex-shrink:0}
.site-header .contact-icon{width:22px;height:22px;flex:0 0 22px;color:var(--green);margin-top:2px}
.site-header .contact-copy{min-width:0;line-height:1.5}
.site-header .header-contact a{font-size:15px;line-height:1.5;display:block;white-space:nowrap}
.site-header .header-contact .contact-copy>span{font-size:12px;color:var(--muted);display:block;white-space:nowrap;margin-top:3px}
.site-header .menu-toggle{display:none}
.contact-layout{grid-template-columns:minmax(280px,.85fr) minmax(0,1.5fr);gap:48px;align-items:start}
.contact-card{padding:28px;background:var(--soft);border-radius:8px;min-width:0}
.contact-card h2{font-size:28px;letter-spacing:-.03em;margin-bottom:25px}
.contact-details{display:grid;gap:22px}
.contact-detail{min-width:0}
.contact-detail>strong{display:block;color:var(--muted);font-size:12px;letter-spacing:.04em;margin-bottom:5px}
.contact-detail address{font-style:normal;line-height:1.7}
.contact-detail p{margin:0}
.contact-detail .contact-value{font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.contact-card .aside-note{margin:28px 0 0;padding:22px 0 0;background:transparent;border-top:1px solid #d7dfd5}
.contact-card .aside-note p{margin-bottom:0}
.form-panel{min-width:0;padding:30px;border:1px solid var(--line);border-radius:8px}
.preview-note{margin:0 0 24px;padding:10px 14px;background:var(--soft);border-radius:4px}
@media(max-width:1279px){
 .site-header .header-inner{grid-template-columns:auto 1fr;gap:18px 30px;min-height:0;padding-top:18px;padding-bottom:16px}
 .site-header nav,.js .site-header nav:not(.open){justify-content:flex-end;gap:26px;grid-column:2;grid-row:1}
 .site-header .header-contact{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:22px;border-top:1px solid var(--line);padding-top:14px}
 .site-header .header-contact>.contact-item{display:flex}
 .site-header .brand-word{font-size:21px;padding:13px 16px}
 .site-header .brand-image{max-height:90px}
}
@media(max-width:1000px){
 .contact-layout{grid-template-columns:1fr;gap:28px}
 .contact-layout aside.contact-card{display:block}
 .contact-details{grid-template-columns:1fr 1fr;gap:24px 36px}
 .contact-card h2{font-size:27px}
 .contact-card .aside-note{font-size:14px}
 .page-intro .lead{font-size:21px;max-width:650px}
}
@media(max-width:767px){
 .site-header .header-inner{grid-template-columns:1fr auto;gap:16px;padding-top:16px;padding-bottom:16px}
 .site-header .brand-word{font-size:19px;padding:12px 15px}
 .site-header .brand-image{max-height:84px;max-width:110px}
 .site-header .menu-toggle{display:flex;align-items:center;gap:16px;justify-content:center;grid-column:2;grid-row:1;min-height:46px;padding:10px 16px;font-size:15px}
 .site-header nav,.js .site-header nav.open{display:grid;grid-template-columns:1fr 1fr;grid-column:1/-1;grid-row:3;gap:8px;padding-top:8px}
 .js .site-header nav:not(.open){display:none}
 .site-header nav a{padding:14px 12px;background:var(--soft);border-radius:5px;border-bottom:0;font-size:14px;min-height:48px;display:flex;align-items:center}
 .site-header nav a[aria-current=page]{background:#e4efdf;color:var(--green);font-weight:bold}
 .site-header .header-contact{display:grid;grid-template-columns:1fr;gap:14px;grid-row:2;padding-top:16px}
 .site-header .header-contact>.contact-item{gap:12px}
 .site-header .contact-icon{width:20px;height:20px;flex-basis:20px}
 .site-header .header-contact a{font-size:15px}
 .site-header .header-contact .contact-copy>span{font-size:12px;margin-top:1px}
 .review-bar{font-size:11px;padding:7px 18px}
 .page-intro{padding-top:40px;padding-bottom:24px}
 .page-intro h1{font-size:clamp(32px,6vw,43px);line-height:1.15;overflow-wrap:break-word}
 .page-intro .lead{font-size:18px;margin-bottom:20px}
}
@media(max-width:560px){
 .contact-layout{padding-top:32px;padding-bottom:40px;gap:22px}
 .contact-card{padding:24px 20px}
 .contact-details{grid-template-columns:1fr;gap:22px}
 .contact-card h2{font-size:25px}
 .form-panel{padding:24px 18px}
 .form-grid{gap:0}
 .choice{display:flex;min-height:44px;margin:0;gap:10px}
 .field input,.field textarea{font-size:16px;padding:12px;min-height:48px}
 .form-panel .button{width:100%;font-size:16px;padding:15px 10px}
 .preview-note{font-size:13px}
}

.contact-detail address{max-width:260px}@media(max-width:767px){.hero h1{font-size:clamp(27px,7.8vw,44px);overflow-wrap:anywhere}}

/* Keep the complete detector inside the page at every desktop width. */
body .hero{background-position:center top;background-size:100% auto}

/* Show the entire 1536 x 1024 scene, including ladder, window and Berlin. */
@media(min-width:561px){body .hero{min-height:66.666667vw}}

/* Long German page titles remain readable in narrow mobile previews. */
@media(max-width:560px){.page-intro h1{font-size:clamp(24px,7.5vw,36px);-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}}

.hero-secondary{max-width:540px;font-size:16px;line-height:1.55;margin:-15px 0 25px;color:var(--ink)}.hero-secondary a{color:var(--green);font-weight:700}#heizungsanlagen{scroll-margin-top:20px}@media(max-width:560px){.hero-secondary{font-size:14px;max-width:330px;margin:-15px 0 23px}}

/* Contact languages are visible information, not translation controls. */
.site-header .header-contact{display:grid;grid-template-columns:auto auto;gap:9px 28px}
.site-header .header-contact>.header-languages{grid-column:1/-1;margin:0;text-align:right;font-size:12px;line-height:1.5;color:var(--ink);white-space:normal}
.site-header .header-languages span{font-size:12px;color:var(--ink);white-space:normal}
.site-header .header-languages .language-caption{color:var(--muted);margin-right:5px}
.site-header .header-languages .language-dot{color:var(--green)}
@media(max-width:767px){.site-header .header-contact{grid-template-columns:1fr;gap:14px}.site-header .header-contact>.header-languages{text-align:left;border-top:1px solid var(--line);padding-top:11px}}

/* Preserve the supplied logo pixels; round only its display boundary. */
.site-header .brand-image.original-logo{display:block;width:108px;max-width:108px;height:auto;max-height:none;border-radius:12px}
.identity-panel .original-logo{width:220px;max-width:100%;max-height:none;border-radius:16px}
.plant-overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:38px;margin:24px 0 38px}
.plant-overview p{margin:0}
.plant-photo{margin:0;max-width:430px;justify-self:end}
.plant-photo img{display:block;width:100%;height:auto;border-radius:10px}
.plant-photo figcaption{font-size:10px;color:var(--muted);line-height:1.5;text-align:right;margin-top:5px}
@media(max-width:767px){.site-header .brand-image.original-logo{width:96px;max-width:96px;border-radius:11px}.plant-overview{grid-template-columns:1fr;gap:22px}.plant-photo{justify-self:start;width:100%;max-width:430px}}

/* First-visit cookie selection: readable central dialog, using Complianz controls. */
#cmplz-cookiebanner-container.cmplz-soft-cookiewall.cmplz-show{position:fixed;inset:0;width:100%;height:100%;background:rgba(11,35,48,.42);z-index:99999}
#cmplz-cookiebanner-container.cmplz-soft-cookiewall.cmplz-dismissed{display:none}
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show{position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;box-sizing:border-box;width:560px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 40px);overflow-y:auto;border-radius:12px;box-shadow:0 18px 60px #0b233040;z-index:100000;padding:24px!important}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title{font-size:20px!important;line-height:1.3}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message{font-size:15px!important;line-height:1.65}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-deny{background:var(--green)!important;border:1px solid var(--green)!important;color:white!important;font-weight:700;min-height:44px}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close{min-width:32px;min-height:32px}
@media(max-width:560px){#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-show{padding:20px!important;max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px)!important}}
