/*
Theme Name: AVA Gebäudeservice
Description: Individueller AVA-Auftritt mit bearbeitbaren Inhalten, Kontaktformular und optionalem Hero-Video.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: ava-service
*/
:root{--navy:#16385e;--blue:#064675;--ink:#132b43;--muted:#586776;--light:#f1f5f8;--line:#d9e2e9;--white:#fff;--radius:20px;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.65;background:white}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #328dc5;outline-offset:5px}img{display:block;max-width:100%;height:auto}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.08;letter-spacing:-.045em}h1{font-size:clamp(3rem,5.5vw,5.1rem);font-weight:800;margin-bottom:28px}h2{font-size:clamp(2.2rem,4vw,3.7rem);margin-bottom:25px}h3{font-size:1.55rem;letter-spacing:-.025em}p{margin-bottom:22px}.wrap{width:min(calc(100% - 80px),var(--max));margin-inline:auto}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:700;display:block;margin-bottom:20px;color:var(--blue)}.topbar{background:var(--navy);color:#fff;font-size:.82rem;letter-spacing:.035em;padding:8px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:18px}.header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.97);border-bottom:1px solid #e4eaf0;backdrop-filter:blur(14px)}.navrow{display:flex;align-items:center;justify-content:space-between;gap:24px;height:99px}.brand{width:260px;flex-shrink:0}.nav{display:flex;align-items:center;gap:30px;font-size:.92rem;font-weight:600}.nav a:not(.button){padding:10px 0}.nav a:hover{color:#247eb0}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;border:1px solid var(--navy);background:var(--navy);color:white;border-radius:7px;padding:16px 24px;font-size:.93rem;font-weight:700;line-height:1.35;transition:background .2s,transform .2s,box-shadow .2s;text-decoration:none}.button:hover{background:#07588d;transform:translateY(-2px);box-shadow:0 10px 22px #16385e20;color:white}.button.light{background:white;color:var(--navy);border-color:white}.button.outline{background:transparent;color:var(--navy)}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:9px 13px;border-radius:5px}.hero{position:relative;isolation:isolate;min-height:715px;display:flex;align-items:center;overflow:hidden;background:#eff4f6}.hero-media{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;object-position:center 39%;animation:hero-in 4s ease-out both}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.92) 31%,rgba(255,255,255,.30) 56%,transparent 76%)}.hero:after{content:"";position:absolute;left:-5%;right:-5%;bottom:-90px;height:145px;border-radius:50% 50% 0 0;background:var(--navy);border-top:7px solid white;transform:rotate(3deg);z-index:1}.hero-copy{width:53%;padding:72px 0 110px}.hero h1 span{color:var(--blue)}.hero-copy .intro{max-width:450px;color:#3a4e60;font-size:1.15rem}.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.text-link{font-weight:700;border-bottom:1px solid #8093a4;font-size:.92rem}.legacy{font-size:.84rem;color:#526476;max-width:410px;margin-top:27px;line-height:1.5}.hero-label{position:absolute;right:5%;bottom:115px;display:flex;align-items:center;gap:12px;background:white;padding:14px 20px;border-radius:12px;box-shadow:0 10px 30px #09244015;font-size:.85rem}.hero-label b{display:block;color:var(--navy)}.hero-label .icon{width:30px;height:30px}.motion-control{position:absolute;right:26px;top:22px;border:1px solid #ffffff90;background:#ffffffde;color:var(--navy);padding:7px 13px;border-radius:30px;font-size:.75rem;z-index:3}.trust{background:var(--navy);color:white;padding:28px 0 36px;position:relative;z-index:2}.trust-row{display:grid;grid-template-columns:repeat(3,1fr)}.trust-item{display:flex;gap:17px;align-items:center;padding:5px 28px;border-left:1px solid #ffffff30}.trust-item:first-child{padding-left:0;border:0}.trust-item b{display:block;font-size:1.05rem}.trust-item span{font-size:.88rem;color:#c7d6e4}.icon{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.section{padding:100px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:45px}.section-heading h2{max-width:650px;margin:0}.section-heading p{max-width:340px;color:var(--muted);margin:0}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service{display:flex;flex-direction:column;background:var(--light);padding:31px;border:1px solid transparent;border-radius:var(--radius);transition:transform .25s,border .25s,background .25s;min-height:300px}.service:hover{transform:translateY(-6px);background:white;border-color:#a4bacd}.service-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.service-top .icon{width:38px;height:38px;color:var(--blue)}.service-number{color:#6c8193;font-size:.8rem;font-weight:700}.service h3{margin-bottom:15px}.service p{font-size:1rem;color:var(--muted);margin-bottom:24px}.service a{font-size:.86rem;font-weight:700;margin-top:auto;display:flex;justify-content:space-between;align-items:center}.service a span{font-size:1.3rem}.about{background:var(--navy);color:white;overflow:hidden}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.about .eyebrow{color:#b6d6ed}.about-copy p{color:#d4e0ea}.about-photo{position:relative}.about-photo img{width:100%;height:430px;object-fit:cover;object-position:70% center;border-radius:80px 12px 80px 12px}.photo-note{background:white;color:var(--navy);padding:22px 25px;position:absolute;bottom:-25px;left:-25px;border-radius:12px;width:240px;box-shadow:0 15px 30px #0002}.photo-note strong{font-size:1.4rem;line-height:1.2;display:block}.photo-note span{font-size:.8rem}.values{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:32px}.value{border-top:1px solid #ffffff35;padding-top:18px}.value h3{font-size:1.08rem;letter-spacing:0;margin-bottom:8px}.value p{font-size:.91rem;margin:0}.process{background:#f5f8fa}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.step-number{display:inline-flex;background:white;border:1px solid var(--line);width:50px;height:50px;align-items:center;justify-content:center;border-radius:50%;margin-bottom:22px;font-size:.85rem;font-weight:700;color:var(--blue)}.steps h3{font-size:1.4rem}.steps p{color:var(--muted);font-size:1rem;margin-bottom:0}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px}.contact-details{margin-top:35px;display:grid;gap:20px}.contact-item{display:flex;align-items:center;gap:17px}.contact-item .icon{color:var(--blue)}.contact-item small{display:block;font-size:.8rem;color:var(--muted)}.contact-item strong{font-size:1.15rem}.contact-form{padding:38px;background:var(--light);border-radius:var(--radius)}.contact-form h3{font-size:1.7rem}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:6px}.full{grid-column:1/-1}.field label{font-size:.85rem;font-weight:600}.field input,.field select,.field textarea{width:100%;min-width:0;padding:12px 14px;background:white;border:1px solid #bacbd8;border-radius:6px;color:var(--ink);font-size:1rem}.field textarea{resize:vertical;min-height:125px}.optional{color:var(--muted);font-weight:400}.privacy-text{font-size:.8rem;color:var(--muted);line-height:1.6;margin:18px 0}.privacy-text a{text-decoration:underline}.form-result{margin-top:18px;font-size:.95rem}.form-result:empty{display:none}.form-result.error{color:#a12626}.form-result.success{color:#176042}.honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.footer{background:#102d4b;color:#d4e0ea;padding:50px 0 100px}.footer-grid{display:flex;justify-content:space-between;gap:40px;align-items:start}.footer-logo{width:230px;background:white;border-radius:6px;padding:12px;margin-bottom:20px}.footer p{font-size:.82rem;max-width:390px}.footer-links{display:flex;gap:25px;font-size:.85rem;flex-wrap:wrap}.footer-links a:hover{text-decoration:underline}.footer-bottom{margin-top:35px;padding-top:20px;border-top:1px solid #ffffff25;display:flex;justify-content:space-between;gap:25px;font-size:.78rem;color:#b3c5d6}.floating{position:fixed;right:23px;bottom:23px;z-index:40;display:flex;gap:9px;align-items:center}.floating a,.floating button{border:none;background:var(--blue);color:white;box-shadow:0 4px 20px #00294d25;display:flex;align-items:center;justify-content:center;border-radius:50px;height:52px}.floating a{gap:11px;padding:0 20px;font-size:.9rem;font-weight:700}.floating .icon{width:21px;height:21px}.floating button{width:52px;background:white;color:var(--navy);border:1px solid var(--line)}.cookie-note{position:fixed;left:20px;bottom:20px;max-width:380px;padding:20px 22px;background:white;border:1px solid var(--line);border-radius:14px;z-index:45;box-shadow:0 12px 45px #102d4b22}.cookie-note p{font-size:.8rem;color:var(--muted);margin:5px 0 12px}.cookie-note strong{font-size:.9rem}.cookie-note .button{padding:9px 16px;font-size:.8rem}.cookie-note a{font-size:.8rem;text-decoration:underline;margin-left:16px}.cookie-note[hidden]{display:none}.page-content{max-width:840px;margin:auto;min-height:55vh;padding:70px 30px 100px}.page-content h1{font-size:3rem}.page-content h2{font-size:1.8rem;margin-top:35px}.page-content h3{font-size:1.3rem}.page-content a{text-decoration:underline}.page-content ul{padding-left:23px}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:white;padding:15px}.skip-link:focus{top:10px}.reveal{animation:reveal-in .7s ease-out both}.js-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s,transform .7s}.js-reveal.visible{opacity:1;transform:none}@keyframes hero-in{from{transform:scale(1.035)}to{transform:scale(1)}}@keyframes reveal-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}.motion-paused *{animation-play-state:paused!important}.motion-paused .js-reveal{opacity:1;transform:none;transition:none}.admin-bar .header{top:32px}@media(min-width:1600px){.hero-media{object-position:center 35%}.hero{min-height:800px}}@media(max-width:1050px){.nav{gap:20px}.brand{width:215px}.nav .button{padding:13px 17px}.hero{min-height:660px}.hero-copy{width:57%}.hero h1{font-size:3.7rem}.hero-label{right:25px}.about-grid{gap:40px}.contact-grid{gap:45px}.service{padding:25px}.trust-item{padding-inline:20px}}@media(max-width:800px){.wrap{width:calc(100% - 40px)}.topbar{font-size:.72rem}.topbar .email-top{display:none}.navrow{height:80px}.brand{width:225px}.menu-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:80px;background:white;padding:20px;box-shadow:0 15px 20px #16385e15;flex-direction:column;align-items:stretch;gap:10px}.nav.open{display:flex}.hero{min-height:760px;align-items:flex-start}.hero-media{object-position:66% center}.hero:before{background:linear-gradient(90deg,#fff 0%,#ffffffed 20%,#ffffffab 54%,#ffffff10 100%)}.hero-copy{width:70%;padding:70px 0 140px}.hero h1{font-size:3.4rem}.hero-copy .intro{font-size:1rem}.hero-label{bottom:95px;right:20px;padding:11px 16px}.hero-actions{gap:16px}.trust-row{grid-template-columns:1fr}.trust-item,.trust-item:first-child{border:0;padding:12px 0}.trust-item span{font-size:.85rem}.section{padding:70px 0}.section-heading{display:block}.section-heading p{margin-top:20px;max-width:100%}.services{grid-template-columns:1fr 1fr}.about-grid,.contact-grid{grid-template-columns:1fr;gap:50px}.about-photo img{height:360px}.photo-note{left:15px;bottom:-20px}.steps{gap:22px}.contact-form{padding:28px}.footer-grid{flex-direction:column}.cookie-note{max-width:330px;bottom:84px}.floating{right:15px;bottom:15px}.admin-bar .header{top:46px}}@media(max-width:500px){.hero{min-height:850px}.hero-copy{width:100%;padding-top:45px;padding-bottom:320px}.hero h1{font-size:2.95rem;max-width:350px}.hero:before{background:linear-gradient(180deg,#fffffff5 0%,#fffffff0 40%,#ffffff30 68%,transparent 85%)}.hero-media{object-position:66% bottom}.hero-label{bottom:72px;font-size:.75rem}.hero-copy .intro{max-width:315px}.hero-actions .button{padding:14px 19px}.hero-actions .text-link{font-size:.84rem}.legacy{font-size:.77rem;margin-top:20px;max-width:320px}.services,.steps{grid-template-columns:1fr}.service{min-height:260px}.section-heading{margin-bottom:30px}.values{gap:20px}.fields{grid-template-columns:1fr}.contact-form{padding:24px 20px}.contact-item strong{font-size:1.07rem}.footer-bottom{flex-direction:column;gap:10px}.floating a{padding:0 17px;font-size:.85rem}.cookie-note{left:12px;right:12px;max-width:none;padding:17px}.motion-control{top:auto;bottom:140px;right:20px}.page-content{padding-inline:20px}.page-content h1{font-size:2.5rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-reveal{opacity:1;transform:none}}

video.hero-media{left:auto;right:0;width:64%;object-position:center;animation:none}@media(max-width:500px){video.hero-media{width:100%;height:49%;top:auto;bottom:0;object-position:center}.hero:before{background:linear-gradient(180deg,#fff 0%,#fff 44%,#ffffff00 63%)}}
