/*
Theme Name: Fenster.Expert
Description: Helles WordPress-Theme für Fenster.Expert.
Version: 0.3.0
Text Domain: fenster-expert-vorschau
*/
*{box-sizing:border-box}body{margin:0;color:#14283d;font:16px/1.6 system-ui,sans-serif;background:#fff}header{position:sticky;top:0;background:#fffffff2;border-bottom:1px solid #eaded2;z-index:2}nav{max-width:1180px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;gap:20px}a{color:inherit;text-decoration:none}nav strong{font-size:1.3rem}nav div{display:flex;gap:25px}.btn{display:inline-block;padding:13px 22px;border:1px solid #d3bba7;border-bottom:5px solid #c5a88e;border-radius:12px;background:linear-gradient(#fff9f2,#efd8c3);font-weight:700}.hero,.section{background:linear-gradient(145deg,#fff 20%,#fff6ec 65%,#f5dcc5);padding:90px 24px}.wrap{max-width:1180px;margin:auto}.hero-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:55px;align-items:center}.eyebrow{font-size:.8rem;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:#805d42}h1{font-size:clamp(2.6rem,5.7vw,5rem);line-height:1.05;letter-spacing:-.045em;margin:18px 0 24px}h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.15;letter-spacing:-.035em;margin:12px 0 25px}p{max-width:64ch;color:#425262}.lead{font-size:1.15rem}.hero-card{min-height:350px;border-radius:25px;background:linear-gradient(140deg,#e7d6c5,#fffaf5);border:1px solid #e3d1c1;display:grid;place-items:center;text-align:center;padding:30px}.window{width:75%;height:260px;border:14px solid #fff;box-shadow:0 16px 40px #72553c30;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(160deg,#dce9ea,#a7bfc0)}.window span+span{border-left:8px solid white}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid #eadbd0;background:#fffdfb;border-radius:20px;padding:28px;box-shadow:0 10px 30px #8061470d}.card h3{font-size:1.3rem;margin:8px 0}.number{font-size:.8rem;color:#98755a}.plain{background:white}.contact{display:flex;justify-content:space-between;align-items:center;gap:30px}footer{padding:30px 24px;background:#162c40;color:white}footer .wrap{display:flex;justify-content:space-between;gap:20px}small{color:#6c7a87}@media(max-width:700px){nav div a:not(.btn){display:none}.hero,.section{padding:65px 20px}.hero-grid,.features{grid-template-columns:1fr}.hero-card{min-height:280px}.window{height:200px}.contact,footer .wrap{display:block}}html{scroll-behavior:smooth;scroll-padding-top:100px}.card{transition:transform .28s ease,box-shadow .28s ease}.card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #80614726}.btn{transition:transform .2s ease,box-shadow .2s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px #80614722}.btn:active{transform:translateY(2px);border-bottom-width:2px}.hero-card img{animation:float 6s ease-in-out infinite}@keyframes float{50%{transform:translateY(-12px)}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}} nav{padding:6px 20px;min-height:62px}.brand img{display:block;width:120px!important;max-height:52px!important}.menu{position:relative;margin-left:auto}.menu summary{list-style:none;cursor:pointer;width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px;border:1px solid #d6c5b4;border-radius:10px;background:#fff9f2}.menu summary::-webkit-details-marker{display:none}.menu summary span{height:2px;width:22px;background:#14283d}.menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(300px,calc(100vw - 40px));display:flex;flex-direction:column;gap:0;background:#fffdfa;border:1px solid #e8d9cd;border-radius:14px;padding:8px;box-shadow:0 14px 35px #1a283a25}.menu:not([open]) .menu-panel{display:none}.menu-panel a{display:block!important;padding:11px 14px;border-radius:8px}.menu-panel a:hover,.menu-panel a:focus-visible{background:#f8e8d9}@media(max-width:700px){nav{padding:5px 16px;min-height:60px}nav div a:not(.btn){display:block}.hero{padding-top:65px}}
/* Fenster.Expert: helles Blau als durchgängige Gestaltungsfarbe */
.hero,.section,.section.plain{background:linear-gradient(145deg,#ffffff 12%,#f0f9ff 58%,#d8f0fc 100%)}
header{border-bottom-color:#d6eaf4}.eyebrow,.number{color:#087db7}.card{border-color:#d3eaf5;background:#ffffffed}.hero-card{background:linear-gradient(140deg,#d6eefb,#f8fdff);border-color:#c9e6f4}.btn{background:linear-gradient(#e9f8ff,#bce7fa);border-color:#8ecbe8;border-bottom-color:#53acd4;color:#102e43}.menu summary{background:#f2faff;border-color:#bcdfee}.menu-panel{border-color:#cae5f2}.menu-panel a:hover,.menu-panel a:focus-visible{background:#e3f4fd}.window{background:linear-gradient(160deg,#e2f5fd,#96d3eb)}
.reveal-ready .reveal{opacity:0;transform:translate3d(0,48px,0);transition:opacity 1.25s ease,transform 1.5s cubic-bezier(.22,.6,.3,1)}.reveal-ready .reveal.in-view{opacity:1;transform:translate3d(0,0,0)}.reveal-ready .card.reveal{transition-delay:var(--delay,0ms)}
@media(prefers-reduced-motion:reduce){.reveal-ready .reveal{opacity:1;transform:none;transition:none}}
@media(max-width:700px){header nav{min-height:54px;padding:3px 14px}.brand img{max-height:48px!important;width:110px!important}.hero{min-height:calc(100svh - 54px);padding:24px 20px 20px;display:flex;align-items:center}.hero-grid{gap:18px}.hero h1{font-size:clamp(2.05rem,9vw,3rem);margin:10px 0 12px}.hero .lead{font-size:.98rem;line-height:1.45;margin:0 0 14px}.hero .btn{padding:9px 15px}.hero-card{min-height:0;padding:9px;max-height:34svh;overflow:hidden}.hero-card img{max-height:31svh!important;width:auto!important;max-width:100%;object-fit:contain}.hero .eyebrow{font-size:.7rem}}@media(max-width:700px){.section{padding:44px 18px}.features{gap:12px}.card{padding:20px}.card img{height:150px!important}.section h2{font-size:clamp(1.7rem,7vw,2.4rem)}.section p{line-height:1.5}.legal-section{min-height:auto}.legal-section .wrap{overflow-wrap:anywhere}}.legal-section iframe{max-width:100%}.legal-section h4{margin-top:2em} section[id]{scroll-margin-top:calc(var(--header-height, 64px) + 8px)} footer a{text-decoration:underline;text-underline-offset:3px} footer .wrap{align-items:center;flex-wrap:wrap;gap:15px} @media(max-width:700px){footer .wrap{display:flex;flex-direction:column;align-items:flex-start} section[id]{scroll-margin-top:calc(var(--header-height, 60px) + 8px)}} @media(max-width:700px){#leistungen{padding-top:18px;padding-bottom:32px}#leistungen h2{margin:5px 0 10px;line-height:1.08}#leistungen .wrap>p{margin:0 0 14px;line-height:1.4}#leistungen .card{padding:16px}#leistungen .card img{height:115px!important}#leistungen .card h3{margin:4px 0;font-size:1.18rem}#leistungen .card p{margin:6px 0 0;line-height:1.4}#leistungen .features{gap:10px}}@media(max-width:700px){#ablauf{padding-top:18px;padding-bottom:28px}#ablauf h2{margin:6px 0 14px;line-height:1.08}#ablauf .features{gap:9px}#ablauf .card{padding:14px 16px}#ablauf .card h3{font-size:1.16rem;margin:0 0 5px;line-height:1.2}#ablauf .card p{margin:0;line-height:1.38}}@media(max-width:700px){#ablauf{min-height:calc(100svh - var(--header-height, 60px));box-sizing:border-box}} .footer-logo{display:inline-block;background:#fff;border-radius:8px;padding:5px 9px}.footer-logo img{max-width:155px;height:auto} #leistungen .card img{display:block;width:100%;height:240px;object-fit:contain;background:#fff;border-radius:12px;margin:8px 0 16px} @media(max-width:700px){#leistungen .card img{height:210px!important;max-width:100%;margin:6px 0 12px}} 
[hidden]{display:none!important}
@media(max-width:700px){#leistungen{padding-top:10px}#leistungen .eyebrow{font-size:.7rem}#leistungen h2{font-size:clamp(1.55rem,7vw,2rem);margin:3px 0 7px}#leistungen .wrap>p{font-size:.9rem;line-height:1.35;margin:0 0 9px}#leistungen .card{padding:11px 14px}#leistungen .card img{height:clamp(95px,19svh,155px)!important;margin:0 0 4px}#leistungen .card h3{margin:2px 0;font-size:1.08rem}#leistungen .card p{font-size:.88rem;line-height:1.32;margin:3px 0}#kontakt{padding-top:16px;padding-bottom:20px}#kontakt h2{margin:5px 0 8px}#kontakt .wrap>p{margin:0 0 10px}#workflow{padding:16px}#workflow p{margin:8px 0}#workflow label{font-size:1.18rem!important;line-height:1.25;margin:10px 0 6px!important}#workflow .btn{padding:9px 15px}#workflow #answer{padding:10px!important}}

@media(min-width:701px){.hero,.section{padding-top:44px;padding-bottom:44px}#start{min-height:calc(100svh - var(--header-height,65px));display:flex;align-items:center}#start h1{font-size:clamp(2.7rem,4.7vw,4.2rem);margin:10px 0 16px}#start .hero-card{min-height:0;padding:18px}#start .hero-card img{max-height: min(48svh,420px)!important;width:auto!important;max-width:100%}#leistungen h2,#kontakt h2,#ablauf h2,#marken h2{margin:8px 0 15px}#leistungen .card{padding:18px}#leistungen .card img{height:clamp(120px,20svh,190px);margin:4px 0 8px}#leistungen .card p{margin:6px 0;line-height:1.42}#ablauf,#marken{min-height:calc(100svh - var(--header-height,65px))}#kontakt{padding-top:32px;padding-bottom:32px}#kontakt .wrap>p{margin:8px 0 12px}#workflow{padding:20px}#workflow p{margin:8px 0}#workflow label{margin:12px 0 8px!important}#workflow .btn{padding:10px 18px}}

@media(min-width:701px){#leistungen{padding-top:18px;padding-bottom:18px}#leistungen h2{font-size:clamp(1.8rem,2.7vw,2.5rem);line-height:1.1;margin:4px 0 8px}#leistungen .wrap>p{max-width:95ch;margin:0 0 12px;line-height:1.35;font-size:.95rem}#leistungen .features{gap:10px}#leistungen .card{padding:10px 14px}#leistungen .card img{height:clamp(70px,12svh,110px)!important;margin:0 0 4px}#leistungen .card h3{font-size:1.1rem;margin:2px 0}#leistungen .card p{font-size:.87rem;line-height:1.3;margin:3px 0}#leistungen .number{font-size:.72rem}}

/* Nur ein Abstand für Ankerziele: scroll-margin berücksichtigt den Header. */
html{scroll-padding-top:0}

/* Größere Produktansichten ohne Nummerierung */
#leistungen .card img{height:clamp(140px,20svh,180px)!important;margin:0 0 8px;object-fit:contain} 
@media(max-width:700px){#leistungen .card img{height:clamp(145px,22svh,190px)!important;margin:0 0 8px}}

.wp-block-group{box-sizing:border-box}.wp-block-image{margin:0}.hero-card .wp-block-image{display:contents}#leistungen .card .wp-block-image{margin:0}#marken .wp-block-image{display:inline-block}#marken .wp-block-image img{max-width:120px;max-height:65px;object-fit:contain}.wp-block-group.features{display:grid}.wp-block-group.hero-grid{display:grid}.eyebrow{margin:0}

#marken .wrap>.wp-block-group{display:flex;flex-wrap:wrap;gap:24px;align-items:center}.wp-block-group__inner-container{width:100%}#workflow #consent{width:auto;margin-right:8px}

/* Gutenberg adds an inner wrapper; it must not occupy a grid cell. */
main .wp-block-group > .wp-block-group__inner-container{display:contents!important;opacity:1!important;transform:none!important}
.hero-grid>*{min-width:0}#leistungen .wrap>.wp-block-group__inner-container>p:not(.eyebrow){max-width:95ch;margin:0 0 12px;line-height:1.35;font-size:.95rem}

/* Shared page and footer layout for production. */
footer .wrap>span{line-height:1.7}footer .footer-pages{display:inline}main img{max-width:100%;height:auto}.legal-section iframe{display:block;width:100%;border:0}.legal-section .wrap{min-width:0}.legal-section h1{font-size:clamp(2rem,5vw,3.2rem)}#kontakt h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.15;margin:8px 0 15px}.legal-section .wp-block-image.aligncenter{text-align:center}.legal-section .wp-block-image.alignright{float:right;margin:0 0 20px 24px}@media(max-width:700px){.legal-section .wp-block-image.alignright{float:none;margin:18px 0}footer .footer-credit{font-size:.9rem}}

header{background:#fff}
@media(max-width:700px){#marken,#kontakt{min-height:calc(100svh - var(--header-height,55px) - 8px)}}
@media(max-width:700px) and (max-height:740px){.hero{padding:16px 18px}.hero-grid{gap:12px}.hero h1{font-size:1.9rem;margin:7px 0 9px}.hero .lead{font-size:.9rem;line-height:1.35;margin-bottom:10px}.hero-card img{max-height:20svh!important}.hero .btn{padding:8px 13px}}
