/* HANFACKER v1.0: referenznahe Startseite; Styles nur im Template */
body.page-template-page-hanfacker-redesign .site-content .ast-container{max-width:100%;padding:0;display:block}
body.page-template-page-hanfacker-redesign #primary{width:100%;margin:0;padding:0;float:none}
body.page-template-page-hanfacker-redesign .entry-header,body.page-template-page-hanfacker-redesign .entry-title{display:none}
body.page-template-page-hanfacker-redesign .entry-content{margin:0}
body.page-template-page-hanfacker-redesign .site-content article{padding:0;margin:0}
/* Nur auf der neuen Testseite: Astra-Header ausblenden, nicht global ändern */
body.page-template-page-hanfacker-redesign #masthead{display:none}
.hf09{--green:#183d27;--deep:#12351f;--cream:#f8f3e7;--gold:#d5b76e;--ink:#203424;background:var(--cream);color:var(--ink);font:16px/1.5 Arial,sans-serif;overflow:hidden}
.hf09 *{box-sizing:border-box}.hf09 a{text-decoration:none}.hf09 h1,.hf09 h2,.hf09 h3{font-family:Georgia,serif;line-height:1.05;font-weight:400;letter-spacing:-.035em}.hf09 h2{font-size:clamp(31px,3.5vw,55px);margin:0}.hf09 h2 em{font-weight:400}.hf09 p{margin:0 0 15px}
.hf09-nav{height:75px;display:flex;align-items:center;justify-content:space-between;padding:0 max(4vw,calc((100vw - 1300px)/2));background:#fffdf6;gap:30px}
.hf09-brand{display:flex;align-items:center;gap:12px;color:var(--deep)!important;font:700 16px Georgia,serif;white-space:nowrap}.hf09-logo{width:46px;height:46px;object-fit:contain}.hf09-brand small{display:block;font:8px Arial,sans-serif;letter-spacing:.12em;margin-top:4px}.hf09-links{display:flex;align-items:center;gap:clamp(12px,2vw,28px)}.hf09-links a{color:#233626!important;font:600 12px Arial,sans-serif;white-space:nowrap}.hf09-links a:hover{text-decoration:underline}.hf09-cart{font-size:19px!important}
.hf09-hero{height:clamp(390px,49vw,600px);position:relative;isolation:isolate;color:white;display:flex;align-items:center}.hf09-hero-img,.hf09-hero-shade{position:absolute;inset:0;width:100%;height:100%}.hf09-hero-img{object-fit:cover;object-position:center 55%;z-index:-2}.hf09-hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(9,35,18,.86),rgba(9,35,18,.46) 55%,rgba(9,35,18,.08)),linear-gradient(0deg,rgba(10,34,17,.22),transparent)}.hf09-hero-content{width:min(1240px,calc(100% - 70px));margin:0 auto}.hf09-eyebrow,.hf09-kicker{font-size:11px;letter-spacing:.19em;font-weight:700;color:var(--gold)}.hf09-hero h1{font-size:clamp(100px,14vw,220px);letter-spacing:-.075em;color:#fff;margin:13px 0 8px}.hf09-hero h1 span{color:var(--gold)}.hf09-hero-sub{font:clamp(19px,2.1vw,29px)/1.25 Georgia,serif;margin-bottom:22px!important}.hf09-pill{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:30px;padding:12px 22px;font-size:12px;font-weight:700;transition:transform .2s}.hf09-pill:hover{transform:translateY(-2px)}.hf09-pill-cream{background:#f9f0d9;color:var(--green)!important}.hf09-pill-green{background:var(--green);color:white!important}.hf09-stamp{position:absolute;right:5%;top:17%;width:125px;height:125px;border:1.5px solid #f8e8c5;border-radius:50%;display:flex;flex-direction:column;justify-content:center;text-align:center;transform:rotate(11deg);font:italic 14px/1.35 Georgia,serif}.hf09-stamp strong{font:700 10px Arial,sans-serif;letter-spacing:.08em}.hf09-scroll{position:absolute;right:5%;bottom:22px;font-size:22px}
.hf09-story{background:#faf6eb;padding:46px 0 52px}.hf09-story-inner{width:min(1260px,calc(100% - 64px));margin:auto;display:grid;grid-template-columns:255px 1fr;gap:38px;align-items:center}.hf09-story-heading h2{font-size:clamp(31px,3.2vw,48px);margin:10px 0 18px}.hf09-story-heading a{color:var(--green)!important;font-size:12px;font-weight:700;border-bottom:1px solid;padding-bottom:4px}.hf09-milestones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hf09-milestones article{min-width:0}.hf09-milestones img,.hf09-milestone-placeholder{width:100%;height:132px;object-fit:cover;border:5px solid #fdfaf1;box-shadow:0 2px 12px #4c5b2b22;display:block}.hf09-milestone-placeholder{background:#e7e4d8;display:grid;place-items:center;text-align:center;font-size:12px;color:#586450;padding:10px}.hf09-year{display:block;color:#8c7137;font-size:12px;font-weight:700;margin-top:9px}.hf09-milestones h3{font-size:23px;margin:2px 0 6px}.hf09-milestones p{font-size:12px;line-height:1.35;color:#536050}
.hf09-products{position:relative;background:var(--green);color:#fff;padding:54px 0 64px}.hf09-products:before{content:'';position:absolute;top:-13px;left:-2%;width:104%;height:27px;border-radius:50%;background:var(--green)}.hf09-products-inner{width:min(1260px,calc(100% - 64px));margin:auto;display:grid;grid-template-columns:240px 1fr;gap:40px;align-items:center}.hf09-products-intro h2{font-size:clamp(31px,3vw,46px);color:#fff;margin:12px 0 18px}.hf09-products-intro p{font-size:14px;color:#e4e8db}.hf09-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.hf09-product-card{background:#f9f6eb;border-radius:18px;overflow:hidden;color:var(--deep)}.hf09-product-image{display:block;background:#efeee5;padding:14px}.hf09-product-image img{display:block;width:100%;height:180px;object-fit:contain}.hf09-product-info{position:relative;padding:12px 43px 17px 15px}.hf09-product-info h3{font-size:19px;line-height:1.2;margin:0 0 7px}.hf09-product-info h3 a{color:var(--deep)!important}.hf09-price{font-weight:700;font-size:13px}.hf09-product-arrow{position:absolute;right:13px;bottom:15px;width:27px;height:27px;border-radius:50%;border:1px solid #8d9c79;display:grid;place-items:center;color:var(--green)!important}
.hf09-recipes{background:#f8f2e5;padding:50px 0 60px}.hf09-recipe-inner{width:min(1260px,calc(100% - 64px));margin:auto;display:grid;grid-template-columns:1fr 1.15fr .6fr;gap:26px;align-items:center}.hf09-recipe-heading h2{font-size:clamp(44px,5vw,72px);margin:10px 0}.hf09-recipe-heading p{font:italic 18px/1.4 Georgia,serif;max-width:270px}.hf09-recipe-photo-placeholder{height:285px;background:linear-gradient(140deg,#e6e4d8,#d5d7c6);border:8px solid #fff9ed;display:grid;place-items:center;text-align:center;color:#4c6047;font:italic 17px Georgia,serif;padding:24px}.hf09-recipe-notes{border-left:1px solid #b6b59a;padding-left:22px}.hf09-recipe-notes span{font-size:26px;color:#a77b43}.hf09-recipe-notes p{font:italic 20px/1.4 Georgia,serif}.hf09-recipe-notes a{color:var(--green)!important;font-size:12px;font-weight:700}
@media(max-width:1000px){.hf09-nav{padding:0 20px}.hf09-links{gap:10px}.hf09-story-inner,.hf09-products-inner{grid-template-columns:1fr}.hf09-recipe-inner{grid-template-columns:1fr 1.2fr}.hf09-recipe-notes{grid-column:1/-1}.hf09-products-intro h2 br{display:none}}
@media(max-width:650px){.hf09-nav{height:auto;min-height:72px;flex-wrap:wrap;padding:10px 18px}.hf09-links{overflow-x:auto;width:100%;padding:8px 0;gap:17px}.hf09-hero{height:530px}.hf09-hero-content{width:calc(100% - 36px)}.hf09-hero h1{font-size:clamp(90px,24vw,145px)}.hf09-stamp{width:83px;height:83px;font-size:10px;right:18px;top:18px}.hf09-stamp strong{font-size:8px}.hf09-story-inner,.hf09-products-inner,.hf09-recipe-inner{width:calc(100% - 36px)}.hf09-milestones,.hf09-product-grid{grid-template-columns:1fr}.hf09-milestones img,.hf09-milestone-placeholder{height:180px}.hf09-story{padding:42px 0}.hf09-products{padding:50px 0}.hf09-product-image img{height:220px}.hf09-recipe-inner{grid-template-columns:1fr}.hf09-recipe-notes{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.hf09-pill{transition:none}}

/* v1.0: Referenzproportionen und ruhige, authentische Bildsprache */
.hf09-nav{height:66px}
.hf09-hero{height:clamp(370px,39vw,525px)}
.hf09-hero h1{font-size:clamp(100px,12vw,175px);margin:0 0 5px}
.hf09-hero-sub{margin-bottom:14px!important}
.hf09-story{padding:25px 0 34px;position:relative}
.hf09-story-inner{grid-template-columns:225px 1fr;gap:28px}
.hf09-story-heading h2{font-size:clamp(30px,2.7vw,42px)}
.hf09-milestones{gap:22px}
.hf09-milestones article{position:relative}
.hf09-milestones article:not(:last-child):after{content:'›';position:absolute;right:-21px;top:42px;color:#37612c;font:42px Georgia,serif;z-index:2}
.hf09-milestones img,.hf09-milestone-placeholder{height:125px;border-radius:10px}
.hf09-year{display:inline-block;background:#406f23;color:white;border-radius:0 12px 12px 0;padding:4px 14px;font:700 15px Georgia,serif;margin-top:-27px;position:relative;z-index:1}
.hf09-milestones h3{font-size:20px;margin-top:5px}
.hf09-products{padding:36px 0 42px;background:radial-gradient(ellipse at 60% 20%,#285719 0%,#173f18 58%,#0d321a 100%)}
.hf09-products:before{top:-12px;height:24px;background:#173f18}
.hf09-products:after{content:'';position:absolute;bottom:-12px;left:-2%;width:104%;height:24px;border-radius:50%;background:#173f18;z-index:1}
.hf09-products-inner{grid-template-columns:230px 1fr;gap:30px}
.hf09-product-card{background:transparent;border-radius:0;color:#fff;overflow:visible}
.hf09-product-image{background:#eee9da;border-radius:22px;overflow:hidden;padding:6px}
.hf09-product-image img{height:165px}
.hf09-product-info{padding:8px 36px 8px 10px}
.hf09-product-info h3{font-size:17px;margin:0 0 4px}
.hf09-product-info h3 a,.hf09-product-arrow{color:#fff!important}
.hf09-product-arrow{bottom:6px;border-color:#c3cda5}
.hf09-recipes{padding:32px 0 35px;background:#f8f2e5}
.hf09-recipe-inner{grid-template-columns:.85fr 1.25fr .75fr;gap:18px}
.hf09-recipe-heading h2{font-size:clamp(42px,4.4vw,67px)}
.hf09-recipe-heading h2 em{display:block;color:#c25e25;font-style:italic;font-size:.8em}
.hf09-recipe-heading p{font-size:17px}
.hf09-recipe-photo img{width:100%;height:245px;object-fit:cover;border-radius:24px;display:block}
.hf09-recipe-photo-placeholder{height:245px;border-radius:22px}
.hf09-recipe-notes{background:#f1e6d1;border:0;border-radius:6px;padding:24px 18px;transform:rotate(1deg);box-shadow:3px 5px 14px #3c2c191a}
.hf09-recipe-notes span{font:italic 19px Georgia,serif;color:#8b5629}
.hf09-recipe-notes p{font:italic 16px/1.65 Georgia,serif;margin:12px 0}
.hf10-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap;background:#173b26;color:#f7f0e1;padding:28px max(5vw,calc((100vw - 1260px)/2));font:13px Arial,sans-serif}
.hf10-footer strong{display:block;font:22px Georgia,serif}.hf10-footer small{display:block;letter-spacing:.13em;font-size:9px;margin-top:5px}
.hf10-footer nav{display:flex;gap:20px;flex-wrap:wrap}.hf10-footer a{color:#f7f0e1!important}
body.page-template-page-hanfacker-redesign #colophon{display:none}
@media(max-width:1000px){.hf09-story-inner,.hf09-products-inner{grid-template-columns:1fr}.hf09-recipe-inner{grid-template-columns:1fr 1fr}.hf09-recipe-notes{grid-column:1/-1}.hf09-story-heading h2 br{display:none}}
@media(max-width:650px){.hf09-hero{height:480px}.hf09-milestones article:not(:last-child):after{display:none}.hf09-recipe-inner{grid-template-columns:1fr}.hf09-recipe-notes{grid-column:auto}.hf09-products-inner{gap:20px}.hf10-footer{padding:26px 18px}}

/* v1.1 – gezielte Korrekturen, ohne Hero oder echte Produktdaten zu ersetzen */
.hf09-products-inner{grid-template-columns:minmax(255px,285px) minmax(0,1fr);gap:clamp(30px,4vw,62px);align-items:center}
.hf09-products-intro{min-width:0;max-width:285px}
.hf09-products-intro h2{font-size:clamp(31px,2.7vw,43px);line-height:1.06;letter-spacing:-.045em;overflow-wrap:normal;hyphens:none}
.hf09-products-intro h2 em{display:block;font-size:.91em;white-space:normal}
.hf09-product-grid{min-width:0;gap:clamp(12px,1.4vw,22px)}
.hf09-product-image{border-radius:18px;transition:transform .22s ease,box-shadow .22s ease}
.hf09-product-image:hover{transform:translateY(-3px);box-shadow:0 8px 22px #071b0b4d}
.hf09-product-info h3{overflow-wrap:anywhere}
.hf09-products:before{height:30px;top:-15px;border-radius:48% 52% 0 0 / 85% 90% 0 0}
.hf09-products:after{height:23px;bottom:-11px;border-radius:0 0 45% 55% / 0 0 80% 85%}
.hf09-recipes{position:relative;padding:45px 0 48px}
.hf09-recipe-inner{grid-template-columns:minmax(215px,.8fr) minmax(320px,1.3fr) minmax(190px,.72fr);gap:clamp(20px,2vw,34px)}
.hf09-recipe-heading h2{line-height:1.02}
.hf09-recipe-photo-placeholder,.hf09-recipe-photo img{height:285px}
.hf09-recipe-notes{transform:rotate(.4deg);background:#f2e6d1;border:1px solid #e6d6b8;box-shadow:2px 5px 12px #35281b16}
.hf09-recipe-notes p{line-height:1.8}
.hf09-story{padding-top:32px;padding-bottom:40px}
.hf09-milestones img,.hf09-milestone-placeholder{height:135px}
@media(max-width:1100px){.hf09-products-inner{grid-template-columns:minmax(200px,235px) minmax(0,1fr);gap:24px}.hf09-products-intro h2{font-size:34px}.hf09-recipe-inner{grid-template-columns:1fr 1.2fr}.hf09-recipe-notes{grid-column:1/-1;max-width:none}}
@media(max-width:850px){.hf09-products-inner{grid-template-columns:1fr}.hf09-products-intro{max-width:100%}.hf09-products-intro h2 em{display:inline}.hf09-products-intro h2 br{display:none}.hf09-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hf09-product-image img{height:145px}.hf09-story-inner{grid-template-columns:1fr}.hf09-story-heading h2 br{display:none}}
@media(max-width:650px){.hf09-product-grid{grid-template-columns:1fr}.hf09-product-image img{height:210px}.hf09-recipe-inner{grid-template-columns:1fr}.hf09-recipe-notes{grid-column:auto}.hf09-products-intro h2{font-size:38px}.hf09-recipes{padding:42px 0}.hf09-milestones img,.hf09-milestone-placeholder{height:180px}}
@media(prefers-reduced-motion:reduce){.hf09-product-image{transition:none}}

/* HANFACKER v1.2: additional content page styles */
body.page-template-page-hanfacker-content .site-content .ast-container{max-width:100%;padding:0;display:block}
body.page-template-page-hanfacker-content .entry-header,body.page-template-page-hanfacker-content .site-header,body.page-template-page-hanfacker-content .site-footer{display:none}
.hf12{background:#f9f4e9;color:#172f22}.hf12 *{box-sizing:border-box}.hf12-hero{min-height:340px;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#e9e4d6;overflow:hidden}.hf12-hero-copy{padding:65px max(32px,calc((100vw - 1250px)/2));padding-right:30px;align-self:center}.hf12-hero h1{font:normal clamp(48px,5vw,82px)/1.04 Georgia,serif;color:#173c2a;margin:14px 0 18px}.hf12-hero-copy>p:last-child{font:italic 21px/1.45 Georgia,serif;max-width:470px}.hf12-hero>img{width:100%;height:100%;max-height:480px;min-height:340px;object-fit:cover}.hf12-body{padding:65px 0 90px}.hf12-container{max-width:1250px;width:calc(100% - 50px);margin:auto}.hf12-content{max-width:950px;margin:0 auto 45px;font-size:18px;line-height:1.65}.hf12-content:empty{display:none}.hf12-heading{text-align:center;margin:30px auto 35px}.hf12-heading h2{font:normal clamp(36px,4vw,58px)/1.1 Georgia,serif;margin:10px 0 0}.hf12-heading em{font-weight:normal}.hf12-cards{display:grid;gap:24px}.hf12-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hf12-cards article{background:#fffdf6;padding:10px 10px 22px;border-radius:14px;overflow:hidden}.hf12-cards img,.hf12-image-placeholder{width:100%;height:200px;object-fit:cover;border-radius:10px}.hf12-image-placeholder{display:grid;place-items:center;text-align:center;background:#e5e4d9;padding:18px;color:#48634b}.hf12-cards article>span{display:inline-block;background:#356d2e;color:#fff;padding:3px 15px;margin-top:10px;border-radius:12px}.hf12-cards h3{font:normal 25px Georgia,serif;margin:12px 4px 6px}.hf12-cards p{margin:0 4px;color:#445249}.hf12-cards a{text-decoration:none;color:inherit}.hf12-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:45px;align-items:center}.hf12-feature img{width:100%;border-radius:18px}.hf12-feature h2,.hf12-contact h2{font:normal 55px Georgia,serif}.hf12-contact{background:#eee5d3;padding:35px;border-radius:16px;max-width:750px;margin:auto}.hf12-contact p{font-size:18px}.hf12 .wp-block-button__link{background:#173c2a;color:white;border-radius:24px}@media(max-width:800px){.hf12-hero,.hf12-feature{grid-template-columns:1fr}.hf12-hero-copy{padding:35px 24px}.hf12-hero>img{min-height:220px;height:250px}.hf12-cards-3{grid-template-columns:1fr}.hf12-body{padding:40px 0}.hf12-feature h2{font-size:40px}}

/* v1.3 – Unser Hof, original images and readable editorial layout */
.hf12-hero-hof{background:#153c28;color:#fff;min-height:460px}.hf12-hero-hof .hf12-hero-copy{background:#173b2a;color:#fff}.hf12-hero-hof h1{color:#fff}.hf12-hero-hof h1 em{font-weight:normal;color:#e2c17c}.hf12-hero-hof .hf09-kicker{color:#e1c27d}.hf12-hero-hof img{max-height:530px;min-height:460px;object-position:center}.hf12-hero-hof .hf12-hero-copy>p:last-child{color:#f5eddb}
.hf13-intro{display:grid;grid-template-columns:1fr .9fr;gap:clamp(35px,6vw,90px);align-items:center;padding:10px 0 80px}.hf13-intro h2,.hf13-heading h2,.hf13-process h2,.hf13-outro h2{font:normal clamp(38px,4vw,62px)/1.08 Georgia,serif;letter-spacing:-.03em;margin:14px 0 24px;color:#20332a}.hf13-intro h2 em,.hf13-heading h2 em,.hf13-process h2 em,.hf13-outro h2 em{font-weight:normal;color:#8a6639}.hf13-intro p,.hf13-process p{font-size:17px;line-height:1.8}.hf13-intro .hf13-lead{font:italic 24px Georgia,serif;color:#264b30}.hf13-intro figure{margin:0}.hf13-intro figure img{width:100%;height:510px;object-fit:cover;border-radius:3px}.hf13-intro figcaption{font-size:12px;color:#617060;padding-top:9px}
.hf13-timeline{background:#f0e8d7;padding:48px clamp(18px,4vw,55px) 55px;margin:0 calc((1250px - min(1250px,100vw - 50px)) / -2) 75px}.hf13-heading{text-align:center;max-width:660px;margin:0 auto 35px}.hf13-heading h2{margin-bottom:0}.hf13-milestones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.hf13-milestones article{min-width:0}.hf13-milestones img{width:100%;height:220px;object-fit:cover;border:5px solid #fffaf1;box-shadow:0 5px 16px #1c271e20}.hf13-milestones span{display:inline-block;background:#356d2e;color:white;font:bold 13px Georgia,serif;padding:4px 20px;border-radius:0 18px 18px 0;margin-top:9px}.hf13-milestones h3{font:normal 26px Georgia,serif;margin:8px 0}.hf13-milestones p{font-size:15px;margin:0}
.hf13-process{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;padding-bottom:90px}.hf13-process h3{font:normal 27px Georgia,serif;color:#254d31;margin:10px 0 0}.hf13-process-text p{margin:8px 0 24px}.hf13-outro{display:grid;grid-template-columns:1fr 1fr;background:#193e2b;color:#fff;align-items:center;overflow:hidden}.hf13-outro img{height:350px;width:100%;object-fit:cover}.hf13-outro>div{padding:35px 55px}.hf13-outro h2{color:#fff}.hf13-outro h2 em{color:#dfc188}.hf13-cta{display:inline-flex;gap:20px;align-items:center;background:#f7edda;border-radius:30px;padding:13px 24px;color:#183d29!important;text-decoration:none;font-weight:bold}.hf13-cta:hover{background:#e5cc94}
.hf13-reveal{opacity:1;transform:none}.hf13-js .hf13-reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}.hf13-js .hf13-reveal.hf13-visible{opacity:1;transform:none}
body.page-template-page-hanfacker-content #colophon{display:none}
@media(max-width:800px){.hf13-intro,.hf13-process,.hf13-outro{grid-template-columns:1fr;gap:24px}.hf13-intro figure img{height:300px}.hf13-milestones{grid-template-columns:1fr}.hf13-milestones img{height:230px}.hf13-process{padding-bottom:35px}.hf13-timeline{margin-bottom:45px}.hf13-outro>div{padding:30px}.hf12-hero-hof img{min-height:260px;height:260px}.hf13-intro{padding-bottom:40px}}
@media(prefers-reduced-motion:reduce){.hf13-js .hf13-reveal{opacity:1;transform:none;transition:none}}
