/*
Theme Name: Hartmann – Mehr als Farbe und Putz
Theme URI: https://hartmann-buchen.de/
Author: Hartmann
Description: Schlankes WordPress-Theme mit Elementor Free Unterstützung, Kontaktformular und Leistungsseiten.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hartmann
*/

:root{--ink:#101b2b;--blue:#168fd2;--line:#d8dee4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#f6f8fa;-webkit-font-smoothing:antialiased}a{color:inherit}.hero{position:relative;min-height:900px;isolation:isolate;overflow:hidden;background:#f7f9fa}.photo{position:absolute;z-index:-2;top:0;bottom:0;left:36%;width:64%;background-image:url('assets/hartmann-baustellenfoto-neu.webp');background-position:center 48%;background-size:cover}.photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f7f9fa 0%,rgba(247,249,250,.98) 10%,rgba(247,249,250,.75) 25%,rgba(247,249,250,.04) 58%,rgba(247,249,250,.03) 100%)}.layout{max-width:1536px;margin:auto;padding:0 clamp(35px,6.7vw,103px) 70px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(390px,.93fr);gap:clamp(35px,5.4vw,83px);position:relative}.left{min-width:0}.brand{width:205px;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:12px;text-decoration:none}.brand-icon{height:91px;width:62px;display:block}.brand-icon svg{width:100%;height:100%}.brand strong{font-size:31px;letter-spacing:-.07em;font-weight:900;line-height:1;margin-top:6px}.brand small{font-size:10px;font-weight:800;margin-top:6px;white-space:nowrap}.hero-content{margin-top:75px}.eyebrow{display:flex;align-items:center;gap:15px;font-size:12px;letter-spacing:.22em;text-transform:uppercase;font-weight:900;white-space:nowrap}.eyebrow:before{content:"";display:block;flex:none;width:44px;height:3px;background:var(--blue)}h1{font-size:clamp(37px,3.65vw,56px);letter-spacing:-.065em;line-height:.97;margin:30px 0 23px;font-weight:900;white-space:nowrap}h1 span{color:var(--blue)}.description{max-width:590px;font-size:17px;line-height:1.55;margin:0}.features{display:flex;align-items:center;margin-top:25px;gap:17px}.feature{display:flex;align-items:center;gap:11px;padding-right:18px;border-right:1px solid #bfc8cf;font-size:14px;line-height:1.3}.feature:last-child{border:0;padding-right:0}.feature svg{width:32px;height:32px;stroke:var(--ink);fill:none;stroke-width:1.8;flex:none}.right{min-width:0}.contact-top{display:flex;justify-content:flex-end;gap:20px;align-items:center;font-size:13px;font-weight:800;white-space:nowrap;margin:48px 0 110px}.contact-top a{text-decoration:none}.form-card{width:100%;background:rgba(255,255,255,.96);border-radius:9px;padding:29px 28px 26px;box-shadow:0 14px 40px #18202b23}.form-card h2{font-size:26px;letter-spacing:-.05em;margin:0 0 10px}.form-card p{font-size:15px;line-height:1.48;margin:0 0 15px;color:#343d48}.field{margin-bottom:13px}.field input,.field select,.field textarea{font:14px Arial,Helvetica,sans-serif;display:block;width:100%;border:1px solid #d3d9df;background:#fafbfc;border-radius:5px;padding:14px 15px;color:var(--ink);outline-offset:2px}.field input,.field select{height:47px}.field textarea{height:108px;resize:vertical}.field :is(input,select,textarea):focus{outline:2px solid var(--blue)}.submit{width:100%;height:52px;background:#168ccf;color:white;border:0;border-radius:5px;font-size:14px;font-weight:800;cursor:pointer}.submit:hover{background:#0877b6}.disclaimer{font-size:12px;line-height:1.5;color:#626e78;margin-top:15px}.partner{background:#f9fbfc;border-top:1px solid #e2e8ed;padding:37px 0}.partner-inner{max-width:1350px;margin:auto;padding:0 35px;display:grid;grid-template-columns:280px 205px 240px 1fr;gap:30px;align-items:center}.partner-heading{font-size:16px;line-height:1.55;letter-spacing:.19em;font-weight:900}.neleho-logo{display:block;width:100%;max-width:210px;height:auto}.partner-type{border-left:1px solid #bdc8d1;padding-left:23px;font-size:13px;letter-spacing:.13em;line-height:1.7;text-transform:uppercase}.partner-text{font-size:14px;color:#65717b;line-height:1.6}.footer{padding:18px 25px;display:flex;justify-content:center;flex-wrap:wrap;gap:15px 25px;font-size:12px;background:#fff;border-top:1px solid #e7ecef}.footer a{text-decoration:none}
@media(max-width:1200px){.layout{padding:0 38px 60px;grid-template-columns:minmax(0,1fr) minmax(350px,.88fr);gap:28px}.contact-top{gap:10px;font-size:11px}.eyebrow{font-size:10px;letter-spacing:.16em}.features{gap:8px}.feature{gap:7px;font-size:12px;padding-right:9px}.feature svg{width:27px;height:27px}.partner-inner{grid-template-columns:1fr 1fr;gap:20px 35px}}
@media(max-width:900px){.hero{min-height:0}.photo{left:0;right:0;width:100%;height:640px;background-position:center 50%;opacity:.65}.photo:after{background:linear-gradient(90deg,#f7f9faed,#f7f9fa8c),linear-gradient(180deg,transparent,#f7f9fa 96%)}.layout{display:flex;flex-direction:column;gap:28px;padding:0 26px 50px}.brand{margin:0 auto}.hero-content{margin-top:60px}.eyebrow{white-space:normal}.description{max-width:620px}.contact-top{justify-content:flex-start;margin:0 0 20px;font-size:13px}.form-card{max-width:640px}.partner-inner{grid-template-columns:1fr 1fr}}
@media(max-width:550px){.layout{padding:0 18px 36px}.brand{width:175px}.brand-icon{height:75px;width:51px}.brand strong{font-size:26px}.brand small{font-size:9px}.hero-content{margin-top:44px}.eyebrow{font-size:10px;letter-spacing:.09em;gap:9px}.eyebrow:before{width:24px}h1{font-size:clamp(36px,8vw,49px);white-space:normal;margin:23px 0}.description{font-size:16px}.features{flex-wrap:wrap;gap:17px}.feature{border:0;font-size:12px}.contact-top{flex-wrap:wrap;font-size:12px;gap:10px 22px}.form-card{padding:22px 18px}.partner-inner{grid-template-columns:1fr;gap:15px;padding:0 22px}.partner-type{border:0;padding:0}.partner-heading{font-size:14px}}


/* Headline is a real responsive text block; never extend into the form. */
.hero .layout{grid-template-columns:minmax(0,1.18fr) minmax(390px,.92fr);gap:clamp(38px,5.2vw,80px)}
.hero .hero-content{margin-top:85px}
.hero h1{font-size:clamp(38px,3.6vw,54px);line-height:1.08;letter-spacing:-.055em;white-space:normal;max-width:620px;margin:26px 0 8px}
.hero-subtitle{font-size:clamp(28px,2.9vw,43px);font-weight:900;line-height:1.13;letter-spacing:-.05em;color:#168fd2;max-width:640px;margin:0 0 23px}
.hero .description{max-width:555px;font-size:16px;line-height:1.6}
.hero .features{margin-top:28px}
@media(max-width:1200px){.hero .layout{grid-template-columns:minmax(0,1fr) minmax(345px,.86fr);gap:28px}.hero h1{font-size:clamp(33px,3.7vw,46px)}.hero-subtitle{font-size:clamp(25px,3vw,37px)}.hero .hero-content{margin-top:78px}}
@media(max-width:900px){.hero .layout{display:flex;flex-direction:column}.hero .hero-content{margin-top:52px}.hero h1{font-size:clamp(35px,6vw,54px)}.hero-subtitle{font-size:clamp(27px,4.8vw,42px)}}
@media(max-width:550px){.hero .hero-content{margin-top:36px}.hero h1{font-size:clamp(33px,8.6vw,46px)}.hero-subtitle{font-size:clamp(26px,7vw,35px)}.hero .description{font-size:15px}}


/* Solid white contact ribbon, independent of the photo beneath. */
.hero .contact-top{background:#fff;border:1px solid #e4e9ee;border-radius:9px;padding:15px 18px;box-shadow:0 5px 22px rgba(16,27,43,.10);gap:22px;justify-content:space-between;margin-top:33px;margin-bottom:100px;white-space:normal}
.hero .contact-top a{color:#111b29;font-weight:800;font-size:clamp(11px,1vw,14px);line-height:1.35;overflow-wrap:anywhere}
.hero .contact-top a:hover{color:#168fd2;text-decoration:underline}
@media(max-width:1200px){.hero .contact-top{padding:13px 14px;gap:12px;margin-bottom:92px}}
@media(max-width:900px){.hero .contact-top{justify-content:flex-start;gap:14px 24px;margin:0 0 22px}}
@media(max-width:550px){.hero .contact-top{flex-direction:column;align-items:flex-start;gap:11px}.hero .contact-top a{font-size:14px}}


.partner{padding:64px 0 72px;background:linear-gradient(135deg,#f3f7fb 0%,#fff 75%)}
.partner .partner-inner-new{max-width:1320px;display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.8fr);gap:clamp(35px,6vw,100px);align-items:center;padding:0 36px}
.partner-brand{border-right:1px solid #d9e2e9;padding-right:32px}
.partner-brand .partner-heading{font-size:12px;letter-spacing:.18em;color:#526170;margin-bottom:22px}
.partner-brand .neleho-logo{width:100%;max-width:240px;height:auto}
.partner-brand .partner-type{border:0;padding:0;margin-top:22px;color:#566c83;font-size:12px;letter-spacing:.12em;line-height:1.6}
.partner-story .partner-kicker{font-size:11px;letter-spacing:.19em;font-weight:900;color:#168fd2;margin-bottom:16px}
.partner-story h2{font-size:clamp(29px,3.1vw,45px);letter-spacing:-.055em;line-height:1.12;margin:0 0 23px;color:#10233b}
.partner-story h2 span{color:#168fd2}
.partner-story p{max-width:760px;color:#4f5c68;font-size:16px;line-height:1.7;margin:0 0 14px}
.partner-story p strong{color:#182f4b}
.neleho-benefit{display:flex;align-items:center;gap:13px;margin-top:25px;padding:16px 20px;background:#e9f4fc;border-left:4px solid #168fd2;color:#123456;font-size:15px;line-height:1.45}
.neleho-benefit span{display:grid;place-items:center;background:#168fd2;color:white;width:26px;height:26px;border-radius:50%;flex:none;font-weight:900}
.neleho-link{display:inline-block;color:#116da5;font-weight:800;font-size:14px;text-decoration:none;margin-top:20px}
.neleho-link:hover{text-decoration:underline}
@media(max-width:760px){.partner{padding:42px 0 52px}.partner .partner-inner-new{grid-template-columns:1fr;gap:30px;padding:0 22px}.partner-brand{border-right:0;border-bottom:1px solid #d9e2e9;padding:0 0 25px}.partner-brand .partner-heading{margin-bottom:12px}.partner-brand .partner-type{margin-top:12px}.partner-story h2{font-size:clamp(29px,7vw,39px)}.partner-story p{font-size:15px}}

/* Hartmann full website extensions */
:root{--hartmann-blue:#168fd2;--hartmann-ink:#10233b}
.hp-field{position:absolute!important;left:-9999px!important;opacity:0!important}
.consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5;color:#516071;margin:12px 0}.consent input{width:auto!important;margin-top:2px}.consent a{color:#116da5}
.site-nav{background:#fff;border-bottom:1px solid #e6ebef;position:relative;z-index:10}.site-nav-inner{max-width:1320px;margin:auto;min-height:74px;padding:12px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.nav-logo{font-weight:900;letter-spacing:.08em;font-size:24px;text-decoration:none;color:#14243a;display:flex;align-items:center;gap:11px}.nav-logo img{width:32px;height:43px;object-fit:contain}.nav-logo span{font-size:10px;letter-spacing:.11em;font-weight:600;display:block}.site-nav ul{display:flex;flex-wrap:wrap;gap:23px;list-style:none;margin:0;padding:0}.site-nav li a{font-size:13px;font-weight:700;text-decoration:none;color:#263b4e}.site-nav li a:hover{color:var(--hartmann-blue)}.site-nav .nav-contact{padding:11px 18px;border-radius:6px;background:#168fd2;color:#fff}.site-nav .nav-contact:hover{color:#fff;background:#1176af}
.page-banner{background:linear-gradient(105deg,#f4f8fc,#e8f2fa);padding:80px 24px 66px}.page-banner-inner{max-width:1180px;margin:auto}.eyebrow2{font-size:12px;letter-spacing:.19em;color:#168fd2;font-weight:800;text-transform:uppercase}.page-banner h1{font-size:clamp(37px,5.3vw,70px);letter-spacing:-.055em;line-height:1.06;margin:15px 0 18px}.page-banner p{font-size:18px;line-height:1.65;max-width:750px;color:#4e5e6b}.content-wrap{max-width:1180px;margin:auto;padding:70px 24px 90px}.content-wrap h2{font-size:clamp(27px,3.3vw,42px);letter-spacing:-.035em;margin:20px 0}.content-wrap p{line-height:1.75;color:#465565;font-size:16px}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:35px}.service-card{background:#fff;border:1px solid #e3eaf0;border-radius:12px;padding:32px 28px;box-shadow:0 12px 30px rgba(18,42,63,.04)}.service-card .num{color:#168fd2;font-weight:900;letter-spacing:.12em;font-size:12px}.service-card h3{font-size:23px;letter-spacing:-.025em;margin:18px 0 12px}.service-card p{font-size:15px;margin:0}.btn-h{display:inline-block;background:#168fd2;color:#fff!important;padding:15px 24px;border-radius:7px;text-decoration:none;font-weight:800;margin-top:22px}.btn-h:hover{background:#106da3}.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.photo-panel{min-height:370px;background:url('assets/hartmann-baustellenfoto-neu.webp') center/cover;border-radius:14px}.section-tint{background:#f3f7fb}.section-tint .content-wrap{padding-top:65px;padding-bottom:65px}.footer-links{display:flex;flex-wrap:wrap;gap:18px}.site-footer{background:#11243b;color:#e4ebf2;padding:35px 24px}.site-footer-inner{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.site-footer a{color:#e4ebf2;text-decoration:none;font-size:13px}.site-footer a:hover{text-decoration:underline}.notice{max-width:1180px;margin:18px auto 0;padding:14px 20px;border-radius:8px;background:#e9f4fc;color:#123456}.notice.error{background:#fff0ed;color:#8b3020}.entry-content img{max-width:100%;height:auto}.entry-content a{color:#168fd2}.legal-placeholder{border-left:4px solid #168fd2;padding:20px;background:#f2f7fb}
@media(max-width:900px){.site-nav-inner{flex-direction:column;align-items:flex-start}.site-nav ul{gap:12px 20px}.services-grid{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}
@media(max-width:600px){.site-nav-inner{padding:14px 20px}.site-nav ul{gap:12px}.site-nav li a{font-size:12px}.services-grid{grid-template-columns:1fr}.content-wrap{padding:45px 20px}.page-banner{padding:55px 20px}.photo-panel{min-height:240px}}

/* Projektgalerie – responsive, ohne zusätzliche Plugins */
.hartmann-project-section{padding:76px 0;background:#f6f8fb}.hartmann-project-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px}.hartmann-project-heading h2{margin:8px 0 6px}.hartmann-project-heading p{margin:0;color:#586475}.hartmann-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.hartmann-project{overflow:hidden;border-radius:13px;background:white;box-shadow:0 9px 25px rgba(18,34,53,.08)}.hartmann-project img{display:block;width:100%;height:220px;object-fit:cover}.hartmann-project-info{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:17px}.hartmann-project-info h3{font-size:18px;margin:0}.hartmann-example{font-size:12px;background:#eef1f4;color:#56616e;border-radius:5px;padding:5px 7px;white-space:nowrap}@media(max-width:900px){.hartmann-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.hartmann-project-heading{align-items:start;flex-direction:column}}@media(max-width:550px){.hartmann-gallery{grid-template-columns:1fr}.hartmann-project img{height:240px}.hartmann-project-section{padding:46px 0}}

/* Hartmann: 30 Jahre Handwerk seit Ausbildungsbeginn 1996 */
.experience-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:20px 0 12px;font-size:14px}.experience-note strong{color:#113b65;font-weight:800}.experience-note span{color:#334155}
