/*
Theme Name: Ofen GmbH Kadence Test
Theme URI: https://ofen.gmbh/
Description: Private Kadence child theme preview. NOT activated on production.
Author: Ofen Team
Template: kadence
Version: 0.1.4
Text Domain: ofen-gmbh-kadence-test
WPVibe: yes
*/
:root{--ofg-green:#bed478;--ofg-dark:#172018;--ofg-muted:#657060;--ofg-light:#f3f6ec;--ofg-accent:#e77d23}
body{font-feature-settings:"kern" 1}
.ofg-test{color:var(--ofg-dark);font-size:16px}
.ofg-test *, .ofg-test *:before,.ofg-test *:after{box-sizing:border-box}
.ofg-test .ofg-container{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.ofg-test .ofg-hero{background:linear-gradient(125deg,#152018,#273d28 63%,#46603a);color:white;padding:clamp(52px,7vw,100px) 0}
.ofg-test .ofg-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(26px,5vw,76px);align-items:center}
.ofg-test .ofg-eyebrow{color:#d9ec9a;font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:12px;margin:0 0 20px}
.ofg-test h1{color:white;font-weight:800;line-height:1.08;font-size:clamp(36px,4.6vw,62px);letter-spacing:-.035em;margin:0 0 22px}
.ofg-test .ofg-lead{font-size:clamp(17px,1.5vw,21px);line-height:1.6;color:#f0f4eb;max-width:640px}
.ofg-test .ofg-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ofg-green);padding:13px 20px;border-radius:8px;text-decoration:none!important;color:#162014!important;font-weight:800}
.ofg-test .ofg-button:hover,.ofg-test .ofg-button:focus-visible{background:#d8ea9d;color:#152015!important}
.ofg-test .ofg-button-secondary{background:transparent;border:1px solid #94ad82;color:white!important}
.ofg-test .ofg-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}
.ofg-test .ofg-hero-panel{background:#ffffff10;border:1px solid #ffffff25;border-radius:16px;padding:clamp(23px,3vw,42px)}
.ofg-test .ofg-hero-panel h2{color:white;font-size:25px;margin:0 0 16px}
.ofg-test .ofg-hero-panel ul{list-style:none;margin:0;padding:0}
.ofg-test .ofg-hero-panel li{padding:10px 0;border-bottom:1px solid #ffffff20;color:#f4f4ef}
.ofg-test .ofg-section{padding:clamp(48px,6vw,88px) 0}
.ofg-test .ofg-alt{background:var(--ofg-light)}
.ofg-test .ofg-section h2{font-size:clamp(27px,3vw,39px);color:#172018;letter-spacing:-.025em;margin:0 0 12px}
.ofg-test .ofg-intro{color:var(--ofg-muted);line-height:1.65;max-width:720px;margin:0 0 26px}
.ofg-test .ofg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ofg-test .ofg-card{background:white;border:1px solid #dfe4da;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 22px #1020100b}
/* All previews: identical square frames, original photo aspect ratios preserved. */
.ofg-test .ofg-card-picture{aspect-ratio:1 / 1;width:100%;min-height:0;min-width:0;height:auto;display:flex;align-items:center;justify-content:center;background:#f7f8f4;padding:clamp(16px,2.2vw,28px);overflow:hidden;flex:0 0 auto}
.ofg-test .ofg-card-picture picture{display:flex;width:100%;height:100%;min-width:0;min-height:0;align-items:center;justify-content:center}
.ofg-test .ofg-card-picture img{display:block;max-width:100%;max-height:100%;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.ofg-test .ofg-card-body{padding:19px;display:flex;flex-direction:column;gap:10px;flex:1}
.ofg-test .ofg-card h3{margin:0;font-size:19px;line-height:1.28}
.ofg-test .ofg-card h3 a{color:#1f331b;text-decoration:none}
.ofg-test .ofg-card p{color:#5b6958;line-height:1.5;margin:0 0 6px}
.ofg-test .ofg-card .ofg-link{margin-top:auto;color:#385922;font-weight:750;text-decoration:underline;text-underline-offset:3px}
/* Rotating product themes: compact controls, clear keyboard focus and no hidden-image downloads. */
.ofg-test .ofg-topic[hidden]{display:none!important}
.ofg-test .ofg-topic-nav{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;column-gap:22px;row-gap:15px;margin:0 0 22px}
.ofg-test .ofg-topic-kicker{font-size:13px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#365c2b}
.ofg-test .ofg-topic-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ofg-test .ofg-topic-counter{color:#435d3a;font-size:14px;font-variant-numeric:tabular-nums}
.ofg-test .ofg-topic-next{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border:1px solid #7a9a5e;border-radius:8px;background:#fff;color:#234321;font-weight:800;cursor:pointer}
.ofg-test .ofg-topic-next:hover{background:#edf4e1;border-color:#527f33}
.ofg-test .ofg-topic-next:focus-visible{outline:3px solid #4b7f2d;outline-offset:3px}
.ofg-test .ofg-topic-cta{margin:26px 0 0}
@media(max-width:560px){.ofg-test .ofg-topic-nav{align-items:flex-start;gap:12px}.ofg-test .ofg-topic-controls{width:100%;justify-content:space-between}.ofg-test .ofg-topic-next{font-size:14px}}
/* Descriptive local SEO/decision-help content stays readable, accessible and compact. */
.ofg-test .ofg-advice{border-top:1px solid #e2eadb}
.ofg-test .ofg-advice-eyebrow{color:#3f652e;margin:0 0 10px}
.ofg-test .ofg-advice-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(25px,4vw,62px);max-width:1100px}
.ofg-test .ofg-advice p{font-size:16px;line-height:1.8;color:#3d4d37;margin:0 0 19px}
.ofg-test .ofg-advice a{color:#274b1f;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:700}
.ofg-test .ofg-advice a:hover{color:#192f16;text-decoration-thickness:2px}
.ofg-test .ofg-advice a:focus-visible{outline:3px solid #557e35;outline-offset:3px}
@media(max-width:730px){.ofg-test .ofg-advice-columns{grid-template-columns:1fr;gap:0}}
/* Six modern, clickable stove category tiles. */
.ofg-test .ofg-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ofg-test .ofg-category{min-width:0;min-height:204px;display:flex;flex-direction:column;justify-content:space-between;gap:6px;padding:23px 24px 25px;background:#fff;border:1px solid #dee7d7;border-radius:17px;text-decoration:none!important;color:#1e311f!important;box-shadow:0 6px 28px rgba(27,55,24,.055);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.ofg-test .ofg-category-top{display:flex;align-items:flex-start;justify-content:space-between;width:100%;margin-bottom:auto;padding-bottom:17px}
.ofg-test .ofg-category-icon{display:flex;align-items:center;justify-content:center;flex:0 0 62px;width:62px;height:62px;border-radius:17px;background:#edf4e1;color:#456e30;border:1px solid #e0eccf}
.ofg-test .ofg-category-icon svg{width:35px;height:35px;display:block}
.ofg-test .ofg-category-arrow{display:flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:50%;color:#648352;font-size:22px;font-weight:400;line-height:1;transition:transform .18s ease}
.ofg-test .ofg-category-name{display:block;color:#1a2d1b;font-size:clamp(18px,1.8vw,21px);font-weight:800;line-height:1.22;letter-spacing:-.025em}
.ofg-test .ofg-category-subtitle{display:block;color:#657161;font-size:14px;line-height:1.45;font-weight:450}
.ofg-test .ofg-category:hover,.ofg-test .ofg-category:focus-visible{border-color:#accd8a;box-shadow:0 12px 35px rgba(40,78,28,.11);transform:translateY(-3px)}
.ofg-test .ofg-category:hover .ofg-category-arrow,.ofg-test .ofg-category:focus-visible .ofg-category-arrow{transform:translate(2px,-2px)}
.ofg-test .ofg-category:focus-visible{outline:3px solid #5e8c39;outline-offset:3px}
.ofg-test .ofg-footnote{margin:30px 0 0;padding:17px 20px;border-left:4px solid #789d47;background:#fff;color:#34442f}
@media(max-width:850px){.ofg-test .ofg-hero-grid{grid-template-columns:1fr}.ofg-test .ofg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ofg-test .ofg-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ofg-test .ofg-grid{grid-template-columns:1fr}.ofg-test .ofg-cat-grid{grid-template-columns:1fr}.ofg-test .ofg-hero{padding:52px 0}.ofg-test .ofg-card-picture{aspect-ratio:1/1;padding:24px}}

/* Preview-only Kadence masthead branding and clear consultation CTA. */
.site-header .site-branding .site-title{font-size:clamp(21px,2vw,27px);font-weight:800;letter-spacing:-.035em;color:#213321}
.site-header .main-navigation .primary-menu-container>ul.menu>li>a{font-size:14px;font-weight:700}
.site-header .main-navigation .primary-menu-container>ul.menu>li:last-child>a{background:#bed478;color:#162419;border-radius:7px;padding-inline:13px}
.site-header .main-navigation .primary-menu-container>ul.menu>li:last-child>a:hover,
.site-header .main-navigation .primary-menu-container>ul.menu>li:last-child>a:focus-visible{background:#d7e8a6;color:#152015}
#mobile-drawer .mobile-navigation ul.menu>li:last-child>a{color:#294c17;font-weight:800}
@media(max-width:1100px){.site-header .main-navigation .primary-menu-container>ul.menu>li>a{font-size:13px;padding-inline:8px}}
/* Kadence/WooCommerce archive: consistent product images, never crop originals. */
.woocommerce ul.products li.product .woocommerce-loop-image-link{display:grid;place-items:center;aspect-ratio:1 / 1;background:#f7f8f4;padding:clamp(10px,2vw,24px);overflow:hidden}
.woocommerce ul.products li.product .woocommerce-loop-image-link picture{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0}
.woocommerce ul.products li.product .woocommerce-loop-image-link img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain!important;object-position:center;transition:transform .2s ease}
.woocommerce ul.products li.product .woocommerce-loop-image-link:hover img{transform:scale(1.025)}
.woocommerce ul.products li.product .product-details{min-width:0}
.woocommerce ul.products li.product .woocommerce-loop-product__title{overflow-wrap:anywhere}
@media(max-width:560px){.woocommerce ul.products li.product .woocommerce-loop-image-link{padding:18px}}
@media(prefers-reduced-motion:reduce){.woocommerce ul.products li.product .woocommerce-loop-image-link img{transition:none}.woocommerce ul.products li.product .woocommerce-loop-image-link:hover img{transform:none}}
/* Keep the original ofen.gmbh header logo compact and legible. */
.site-header .brand.has-logo-image .site-title-wrap{display:none}
.site-header .site-branding .custom-logo{display:block;max-width:155px;width:auto;max-height:66px;height:auto;object-fit:contain}
@media(max-width:767px){.site-header .site-branding .custom-logo{max-width:116px;max-height:50px}}

/* Pinterest for WooCommerce: small, unobtrusive but still usable save badge.
   Scale the existing plugin button rather than replacing or disabling it. */
.pinterest-for-woocommerce-image-wrapper{
    top:6px!important;
    left:6px!important;
    transform:scale(.60);
    transform-origin:top left;
}
.product:hover>.pinterest-for-woocommerce-image-wrapper,
.wc-block-grid__product:hover>.pinterest-for-woocommerce-image-wrapper{
    opacity:.78;
}
.product:focus-within>.pinterest-for-woocommerce-image-wrapper,
.wc-block-grid__product:focus-within>.pinterest-for-woocommerce-image-wrapper{
    opacity:1;
}
@media(hover:none){
    .pinterest-for-woocommerce-image-wrapper{opacity:.66}
}
/* Six categories remain a compact two-column overview on phones. */
@media(max-width:560px){
    .ofg-test .ofg-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
    .ofg-test .ofg-category{min-height:178px;padding:15px 13px 18px;gap:5px;border-radius:13px}
    .ofg-test .ofg-category-top{padding-bottom:12px}
    .ofg-test .ofg-category-icon{flex-basis:48px;width:48px;height:48px;border-radius:13px}
    .ofg-test .ofg-category-icon svg{width:28px;height:28px}
    .ofg-test .ofg-category-arrow{width:23px;height:23px;font-size:18px}
    .ofg-test .ofg-category-name{font-size:16px;line-height:1.24}
    .ofg-test .ofg-category-subtitle{font-size:12px;line-height:1.35}
}
@media(prefers-reduced-motion:reduce){
    .ofg-test .ofg-category,.ofg-test .ofg-category-arrow{transition:none}
    .ofg-test .ofg-category:hover,.ofg-test .ofg-category:focus-visible{transform:none}
}

/* Mobile accessibility: keyboard navigation, cookie consent contrast,
   legal withdrawal link and finger-friendly touch targets. */
a.skip-link.screen-reader-text:focus,
a.skip-link.screen-reader-text:focus-visible{
    position:fixed!important;
    top:10px!important;
    left:10px!important;
    z-index:10000000!important;
    display:inline-flex!important;
    align-items:center;
    min-height:44px;
    padding:10px 16px!important;
    color:#fff!important;
    background:#203f18!important;
    border:2px solid #fff!important;
    border-radius:7px;
    clip:initial!important;
    clip-path:none!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    overflow:visible!important;
    box-shadow:0 0 0 3px #203f18;
    text-decoration:none!important;
}
.cky-consent-container .cky-btn-customize,
.cky-consent-container .cky-btn-reject,
.cky-preference-center .cky-btn-customize,
.cky-preference-center .cky-btn-reject{
    color:#263c25!important;
    border-color:#4b6146!important;
    background-color:#fff!important;
}
.cky-consent-container .cky-btn-accept,
.cky-preference-center .cky-btn-accept{
    color:#fff!important;
    background-color:#356220!important;
    border-color:#356220!important;
}
.cky-consent-container .cky-btn{
    min-height:44px!important;
    font-size:14px!important;
    line-height:1.35!important;
    padding:10px 11px!important;
}
.cky-consent-container .cky-btn:focus-visible,
.cky-preference-center button:focus-visible{
    outline:3px solid #1e4717!important;
    outline-offset:2px!important;
}
.cky-consent-container .cky-notice-des,
.cky-consent-container .cky-notice-des p{
    color:#333e35!important;
}
.wp-widerrufsbutton-wrap .wp-widerrufsbutton-link{
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:14px!important;
    line-height:1.35!important;
    padding:10px 16px!important;
    opacity:1!important;
}
.wp-widerrufsbutton-wrap .wp-widerrufsbutton-link:focus-visible{
    outline:3px solid #94bd64!important;
    outline-offset:3px!important;
}
@media(max-width:560px){
    .ofg-test .ofg-category-subtitle{font-size:13px;line-height:1.45}
    .ofg-test .ofg-category-name{font-size:16px;line-height:1.3}
    .ofg-test .ofg-button{min-height:44px}
}
/* Mobile: avoid competing fixed controls at the bottom of the viewport.
   Keep legal withdrawal link visible in normal document flow after footer. */
@media(max-width:767px){
    .cky-consent-container .cky-notice-btn-wrapper{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:11px!important;
    }
    .cky-consent-container .cky-notice-btn-wrapper .cky-btn{
        min-width:0!important;
        min-height:48px!important;
        width:100%!important;
        margin:0!important;
        font-size:14px!important;
    }
    .cky-consent-container .cky-notice-btn-wrapper .cky-btn-accept{
        grid-column:1 / -1;
    }
    .wp-widerrufsbutton-wrap.wp-widerrufsbutton-fixed-center{
        position:static!important;
        left:auto!important;
        bottom:auto!important;
        transform:none!important;
        width:100%!important;
        padding:20px 16px!important;
        margin:0 auto!important;
        text-align:center!important;
    }
    .wp-widerrufsbutton-wrap.wp-widerrufsbutton-fixed-center .wp-widerrufsbutton-link{
        min-height:48px!important;
        width:100%!important;
        max-width:320px!important;
    }
}



