/* AWS Fensterbau – gemeinsame Gestaltung aller Seiten */
@font-face{font-family:Poppins;font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/poppins-300.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins-400.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600.woff2) format("woff2")}

/* Größen, die sich auf Tablet und Handy ändern */
:root{--h1:54px;--h1s:52px;--h2:40px;--h3t:34px;--sec:88px;--gut:24px;--hp1:64px;--hp2:104px;--hp3:48px;--hp4:96px}
@media (max-width:900px){:root{--h1:44px;--h1s:44px;--h2:34px;--h3t:30px;--sec:72px}}
@media (max-width:640px){:root{--h1:33px;--h1s:34px;--h2:28px;--h3t:27px;--sec:56px;--gut:20px;--hp1:36px;--hp2:64px;--hp3:28px;--hp4:60px}}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:Poppins,system-ui,sans-serif;color:#1e1e1e;background:#f5f5f5}
body.p-start{color:#ffffff;background:#0d1a24}
a{color:#31467b}a:hover{color:#0d344a}
:where(.p-start) a{color:#a8bdf0}:where(.p-start) a:hover{color:#ffffff}
img{max-width:100%}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #a8bdf0;outline-offset:2px}
.ic{fill:none;stroke-linecap:round;stroke-linejoin:round}

/* Bewegung */
@keyframes up{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
@keyframes rv{from{opacity:0;translate:0 44px}to{opacity:1;translate:0 0}}
@keyframes inL{from{opacity:0;translate:-80px 0}to{opacity:1;translate:0 0}}
@keyframes inR{from{opacity:0;translate:80px 0}to{opacity:1;translate:0 0}}
@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes kb{from{transform:scale(1.03)}to{transform:scale(1.18)}}
@keyframes sweep{0%{transform:translateX(-160%) skewX(-18deg)}60%,100%{transform:translateX(460%) skewX(-18deg)}}
@keyframes sweep2{0%{transform:translateX(-160%) skewX(-18deg)}60%,100%{transform:translateX(320%) skewX(-18deg)}}
@keyframes spin{0%,70%{transform:rotate(0)}85%{transform:rotate(-25deg)}100%{transform:rotate(0)}}
@keyframes ping{from{transform:scale(1);opacity:.75}to{transform:scale(1.22,1.6);opacity:0}}
@keyframes waIn{from{opacity:0;visibility:hidden;translate:0 20px}to{opacity:1;visibility:visible;translate:0 0}}
@keyframes jiggle{0%,60%,100%{transform:rotate(0)}65%{transform:rotate(-70deg)}75%{transform:rotate(-60deg)}85%{transform:rotate(-90deg)}}
@keyframes wind{0%{opacity:0;translate:-26px 0}35%{opacity:1}100%{opacity:0;translate:48px 0}}
@keyframes turn{from{transform:rotate(-3deg)}to{transform:rotate(9deg)}}
@keyframes blinkeye{0%,93%,100%{transform:scaleY(1)}96.5%{transform:scaleY(.1)}}
@keyframes nod{from{transform:translateY(0)}to{transform:translateY(-2.5px)}}
.anim{opacity:0;animation:up .8s cubic-bezier(.2,.7,.2,1) forwards}
.d1{animation-delay:.1s}.d2{animation-delay:.25s}.d3{animation-delay:.4s}.d4{animation-delay:.55s}.d5{animation-delay:.7s}
.inL{animation:inL .9s cubic-bezier(.2,.7,.2,1) .45s both}
.inR{animation:inR .9s cubic-bezier(.2,.7,.2,1) .6s both}
.kb{animation:kb 26s ease-in-out infinite alternate}
.bgv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s ease}
.bgv.on{opacity:1}
.shade{background:linear-gradient(90deg,rgba(13,26,36,.95) 0%,rgba(13,26,36,.86) 50%,rgba(13,26,36,.6) 100%)}
@media (max-width:820px){.shade{background:rgba(13,26,36,.88)}}
.choice{position:relative;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease}
.choice:hover{transform:translateY(-8px);box-shadow:0 28px 60px rgba(0,0,0,.45)}
.choice::after{content:"";position:absolute;top:-20%;left:0;width:26%;height:140%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.16),rgba(255,255,255,0));animation:sweep 6s ease-in-out infinite;pointer-events:none}
.choice.light::after{background:linear-gradient(90deg,rgba(49,70,123,0),rgba(49,70,123,.12),rgba(49,70,123,0));animation-delay:3s}
.arrow{display:inline-block;transition:transform .3s ease}
.choice:hover .arrow{transform:translateX(8px)}
.wrench{transform-origin:70% 30%;animation:spin 3.5s ease-in-out infinite}
.card{transition:transform .25s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(13,52,74,.16)}
.btn{transition:transform .2s ease}
.btn:hover{transform:translateY(-2px)}
.play{transition:transform .25s ease}
.vid:hover .play{transform:scale(1.14)}
.vid img{transition:transform .5s ease}
.vid:hover img{transform:scale(1.06)}
.glass{position:relative;overflow:hidden}
.glass::after{content:"";position:absolute;top:-20%;left:0;width:35%;height:140%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.7),rgba(255,255,255,0));animation:sweep2 5s ease-in-out infinite}
.handle{transform-origin:50% 12%;animation:jiggle 4s ease-in-out infinite}
.wind{opacity:0;animation:wind 2.4s ease-in-out infinite}
.w2{animation-delay:.35s}.w3{animation-delay:.7s}
.arm{transform-origin:190px 206px;animation:turn .85s ease-in-out infinite alternate}
.eyes{transform-origin:120px 118px;animation:blinkeye 4.5s ease-in-out infinite}
.nod{animation:nod 2.4s ease-in-out infinite alternate}
.wa{transition:transform .2s ease}
.wa:hover{transform:translateY(-3px)}
.wa::before{content:"";position:absolute;inset:0;border-radius:999px;border:2px solid #25d366;animation:ping 2.4s ease-out infinite;pointer-events:none}
@supports (animation-timeline: view()){@media (prefers-reduced-motion: no-preference){
.rv{animation:rv linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
.uline{transform-origin:left;animation:grow linear both;animation-timeline:view();animation-range:entry 0% cover 28%}
.wa{animation:waIn linear both;animation-timeline:scroll(root);animation-range:260px 460px}
}}
@media (prefers-reduced-motion: reduce){
html{scroll-behavior:auto}
.anim,.inL,.inR{animation:none;opacity:1}
.kb,.choice::after,.wrench,.glass::after,.handle,.arm,.eyes,.nod{animation:none}
.wind{animation:none;opacity:.6}
.wa::before{animation:none;opacity:0}
}

/* Kopfzeile */
.hdr{position:relative;z-index:2}
.hdr-in{max-width:1200px;margin:0 auto;padding:16px 24px;box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:6px 34px}
.logo{display:flex;align-items:center;margin-right:auto}
.logo img{display:block;height:64px;width:auto}
.menu{display:flex;flex-wrap:wrap;align-items:center;gap:0 30px;font-size:15px;font-weight:500}
.nav{position:relative;display:flex;align-items:center;min-height:44px;text-decoration:none}
.hdr .nav,.hdr .nav:hover{color:#ffffff}
.nav::after{content:"";position:absolute;left:0;bottom:8px;width:100%;height:2px;background:#a8bdf0;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.nav:hover::after,.nav.on::after{transform:scaleX(1)}
.hdiv{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;border-left:1px solid rgba(255,255,255,.28);padding-left:26px}
.flink{color:#ffffff;text-decoration:none;transition:color .2s ease}
.flink:hover{color:#a8bdf0}
.fl{display:flex;align-items:center;gap:8px;min-height:44px}
.tel{display:flex;align-items:center;gap:8px;min-height:44px;font-weight:600;font-size:15px}
.wab{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;box-sizing:border-box;border-radius:999px;background:#25d366;text-decoration:none;font-weight:600;font-size:15px}
.wab,.wab:hover{color:#0b2e1a}
.menu-btn{display:none}
@media (max-width:1080px){
.hdr-in{gap:10px 12px;padding:12px var(--gut)}
.logo{order:1}
.logo img{height:52px}
.hdiv{order:2;border-left:0;padding-left:0;gap:10px;flex-wrap:nowrap}
.menu-btn{order:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:none;cursor:pointer}
.menu-btn span{display:block;width:18px;height:2px;border-radius:1px;background:#ffffff;transition:transform .2s ease,opacity .2s ease}
.menu-btn[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded=true] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.menu{order:4;flex-basis:100%;display:none;flex-direction:column;align-items:stretch;gap:0;font-size:17px;padding-bottom:6px}
.menu.open{display:flex}
.menu .nav{min-height:52px;border-top:1px solid rgba(255,255,255,.16)}
.menu .nav::after{display:none}
.hdr .menu .nav.on{color:#a8bdf0}
}
@media (max-width:640px){
.hdr .lbl{display:none}
.tel{width:44px;justify-content:center;border:1px solid rgba(255,255,255,.45);border-radius:50%;box-sizing:border-box}
.hdr .wab{width:44px;padding:0;justify-content:center}
}

/* Auswahl-Knöpfe */
.chip{min-height:46px;padding:0 20px;border-radius:999px;font-size:15px;font-weight:500;font-family:inherit;cursor:pointer;transition:background .2s ease,color .2s ease;border:2px solid #c3c9d4;background:#ffffff;color:#0d344a}
.chip.on{border-color:#31467b;background:#31467b;color:#ffffff}
.chips-dark .chip{border-color:#7f9db0;background:transparent;color:#ffffff}
.chips-dark .chip.on{border-color:#ffffff;background:#ffffff;color:#0d344a}
.np{display:flex;flex-direction:column;gap:10px}
.np h3{margin:0;font-size:25px;line-height:1.25;font-weight:600;color:#0d344a}
.np p,.pp{margin:0;font-size:17px;line-height:1.6;color:#4b5560}

/* Häufige Fragen */
.faq{background:#ffffff;border:1px solid #e2e4e7;border-radius:14px}
.faq summary{list-style:none;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:17px;font-weight:500;color:#1e1e1e;cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-size:24px;line-height:1;color:#31467b}
.faq[open] summary::after{content:"−"}
.faq p{margin:0;padding:0 22px 20px;line-height:1.65;color:#4b5560}

/* Formulare (Felder kommen aus Wix Forms) */
.wform{min-width:0;min-height:300px;display:flex;flex-direction:column}
.wform form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}
.wform .fld{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:500;min-width:0;margin:0;padding:0;border:0}
.wform .full,.wform .ferr,.wform .note,.wform button{grid-column:1/-1}
.wform legend{padding:0;margin-bottom:6px}
.wform input,.wform select,.wform textarea{width:100%;box-sizing:border-box;padding:14px;border:1px solid #c3c9d4;border-radius:12px;font-size:15px;font-family:inherit;background:#ffffff;color:#1e1e1e}
.wform .chk{display:flex;align-items:flex-start;gap:10px;font-weight:400}
.wform input[type=checkbox],.wform input[type=radio]{width:18px;height:18px;flex:none;padding:0;margin:2px 0 0}
.wform input[type=file]{padding:12px;font-size:14px}
.wform button[type=submit]{background:#31467b;color:#ffffff;border:0;padding:16px;border-radius:999px;font-weight:600;font-size:16px;font-family:inherit;cursor:pointer}
.wform button[disabled]{opacity:.6;cursor:progress}
.wform .back{background:none;border:0;padding:8px;font:inherit;text-decoration:underline;cursor:pointer;color:inherit}
.wform .hint{font-size:13px;font-weight:400;color:#4b5560}
.wform .err{font-size:13px;font-weight:500;color:#b3261e}
.wform .ferr{margin:0;font-size:14px;line-height:1.5;font-weight:500;color:#b3261e}
.wform [aria-invalid=true]{outline:2px solid #b3261e;outline-offset:1px}
.wform .note{margin:0;font-size:13px;line-height:1.55;font-weight:400;color:#4b5560}
.wmsg{margin:0;line-height:1.6}
.done{flex:1;background:#ffffff;color:#1e1e1e;border:1px solid #e2e4e7;border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:10px;justify-content:center}
.done h3{margin:0;font-size:26px;font-weight:600;color:#0d344a}
.done p{margin:0;line-height:1.65;color:#4b5560}
.wform[data-theme=dark] input,.wform[data-theme=dark] select,.wform[data-theme=dark] textarea{border:0}
.wform[data-theme=dark] input[type=file]{background:#2b2b2b;color:#ffffff}
.wform[data-theme=dark] button[type=submit]{background:#ffffff;color:#0d344a}
.wform[data-theme=dark] .hint,.wform[data-theme=dark] .note{color:#d3dde5}
.wform[data-theme=dark] .note a{color:#ffffff}
.wform[data-theme=dark] .err,.wform[data-theme=dark] .ferr{color:#ffb4ab}
.wform[data-theme=dark] [aria-invalid=true]{outline-color:#ffb4ab}

/* Karte */
.map{position:relative;height:340px;border-radius:20px;overflow:hidden;background:#dfe3e8}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Handy */
@media (max-width:640px){
.map{height:300px}
.wform form{grid-template-columns:minmax(0,1fr)}
.wform input,.wform select,.wform textarea{font-size:16px}
.choice{min-height:0!important;padding:26px!important}
.np h3{font-size:22px}
.illu{width:250px!important;height:290px!important}
.wa{right:14px!important;bottom:14px!important;width:52px;padding:0!important;justify-content:center}
.wa .lbl{display:none}
}

/* Handy: Startseite kompakter */
@media (max-width:640px){
:root{--h3t:24px}
.p-start main>div{gap:22px!important;padding-top:8px!important}
.p-start h1+p{font-size:17px!important}
.choice{padding:20px 22px!important;gap:8px!important;border-radius:20px!important}
.choice>svg{position:absolute;right:20px;top:20px;width:30px;height:30px}
.choice h2{padding-right:44px}
.choice p{font-size:16px!important;line-height:1.5!important}
.choice p+p{font-size:13.5px!important}
.choice>span:last-child{font-size:17px!important;margin-top:4px!important}
#preise [style*="text-align: right"]{text-align:left!important}
}

/* Unterseiten: Projekte, Impressum, Datenschutz */
.sub{max-width:1200px;margin:0 auto;padding:var(--hp3) var(--gut) var(--hp1);box-sizing:border-box;display:flex;flex-direction:column;gap:18px}
.sub .eb{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#a8bdf0}
.sub h1{margin:0;max-width:820px;font-size:var(--h1);line-height:1.1;font-weight:600}
.sub h1 span{display:inline-block;color:#a8bdf0}
.sub p{margin:0;max-width:640px;font-size:19px;line-height:1.6;font-weight:300;color:#e3e9ee}

/* Google-Bewertungen */
.stars{flex:none;font-size:20px;line-height:1;letter-spacing:2px;color:#f2a900}
.rsum{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:16px;color:#4b5560}
.rsum strong{font-size:20px;font-weight:600;color:#0d344a}
.rev{margin:0;background:#ffffff;border:1px solid #e2e4e7;border-radius:18px;padding:26px;box-sizing:border-box;display:flex;flex-direction:column;gap:14px}
.rev blockquote{margin:0;font-size:17px;line-height:1.6;font-weight:500;color:#1e1e1e}
.rev figcaption{margin-top:auto;display:flex;flex-direction:column;gap:2px;font-size:14px;color:#4b5560}
.rev figcaption strong{font-size:15px;font-weight:600;color:#0d344a}
/* Bewertungen: Reihe zum seitlichen Blättern */
.rwrap{display:flex;flex-direction:column;gap:14px;min-width:0}
.rtrack{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/3);gap:18px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:6px 0 10px;margin-top:-6px}
.rwrap.on .rtrack{scrollbar-width:none}
.rwrap.on .rtrack::-webkit-scrollbar{display:none}
.rtrack>*{scroll-snap-align:start}
.rmore{min-height:150px;padding:26px;box-sizing:border-box;border-radius:18px;background:#0d344a;text-decoration:none;display:flex;flex-direction:column;justify-content:center;gap:8px}
.rmore,.rmore:hover{color:#ffffff}
.rmore strong{font-size:20px;line-height:1.3;font-weight:600}
.rmore span{font-size:16px;font-weight:600;color:#a8bdf0}
.rnav{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.rnav span{margin-right:auto;font-size:14px;color:#4b5560}
.rnav button{display:flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;padding:0;box-sizing:border-box;border:2px solid #c3c9d4;border-radius:50%;background:#ffffff;color:#0d344a;font-family:inherit;font-size:26px;line-height:1;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.rnav button:hover{border-color:#31467b;background:#31467b;color:#ffffff}
.rnav button:disabled{opacity:.35;cursor:default;border-color:#c3c9d4;background:#ffffff;color:#0d344a}
@media (max-width:980px){.rtrack{grid-auto-columns:calc((100% - 18px)/2)}}
@media (max-width:640px){.rtrack{grid-auto-columns:86%}}

/* Fußzeile: Adresse mit Lager-Symbol */
.fadr{display:flex;align-items:center;gap:8px}
.fadr svg{flex:none}

/* Projekte: Fotos und große Ansicht */
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:18px}
.pcard{margin:0;background:#ffffff;border:1px solid #e2e4e7;border-radius:18px;overflow:hidden;display:flex;flex-direction:column}
.pbtn{display:block;width:100%;padding:0;border:0;background:#dfe3e8;cursor:zoom-in;overflow:hidden}
.pbtn img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;transition:transform .5s ease}
.pcard:hover .pbtn img{transform:scale(1.05)}
.pcard figcaption{padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.pt{font-size:16px;line-height:1.4;font-weight:600;color:#0d344a}
.pl{font-size:14px;color:#4b5560}
.pcta{min-height:260px;padding:30px;box-sizing:border-box;border-radius:18px;background:#0d344a;text-decoration:none;display:flex;flex-direction:column;justify-content:center;gap:12px}
.pcta,.pcta:hover{color:#ffffff}
.pcta strong{font-size:24px;line-height:1.25;font-weight:600}
.pcta>span{font-size:16px;line-height:1.6;color:#d3dde5}
.pcta .go{margin-top:6px;font-size:17px;font-weight:600;color:#a8bdf0}
.pcta:hover .arrow{transform:translateX(8px)}
.zoom{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:64px 84px 24px;box-sizing:border-box;border:0;background:rgba(13,26,36,.96);color:#ffffff;overflow:hidden}
.zoom[open]{display:flex;align-items:center;justify-content:center}
.zoom::backdrop{background:#0d1a24}
.zoom figure{margin:0;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.zoom img{display:block;max-width:100%;max-height:calc(100vh - 170px);max-height:calc(100dvh - 170px);width:auto;height:auto;border-radius:12px}
.zoom figcaption{max-width:760px;font-size:15px;line-height:1.5;text-align:center;color:#e3e9ee}
.zoom button{position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0 0 4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(13,26,36,.75);color:#ffffff;font-family:inherit;font-size:28px;line-height:1;cursor:pointer}
.zoom-x{top:10px;right:16px}
.zoom-prev{left:16px;top:50%;margin-top:-24px}
.zoom-next{right:16px;top:50%;margin-top:-24px}
@media (max-width:640px){
.zoom{padding:64px 12px 86px}
.zoom img{max-height:calc(100vh - 230px);max-height:calc(100dvh - 230px)}
.zoom-prev,.zoom-next{top:auto;bottom:18px;margin:0}
.zoom-prev{left:calc(50% - 58px)}
.zoom-next{right:calc(50% - 58px)}
}

/* Impressum und Datenschutz */
.legal{max-width:860px;margin:0 auto;padding:var(--sec) var(--gut);box-sizing:border-box}
.legal-in{background:#ffffff;border:1px solid #e2e4e7;border-radius:20px;padding:clamp(22px,4.5vw,44px);display:flex;flex-direction:column;gap:12px}
.legal h2{margin:18px 0 0;font-size:21px;line-height:1.3;font-weight:600;color:#0d344a}
.legal h2:first-child{margin-top:0}
.legal p{margin:0;font-size:16.5px;line-height:1.7;color:#4b5560;overflow-wrap:anywhere}
