/*
Theme Name: Wabenkind Natur
Description: Honig. Bienen. Heimat. Ein bearbeitbares Block-Theme nach der Wabenkind-Designvorlage.
Version: 1.0.4
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: wabenkind-natur
License: GPL-2.0-or-later
*/
:root{--cream:#fffcf6;--ink:#48240f;--amber:#ce7908;--line:#eee2cf}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink)}a{text-underline-offset:4px}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #8a4b05;outline-offset:4px}.wp-site-blocks{overflow:hidden}.wp-site-blocks>header,.wp-site-blocks>footer{margin:0}.site-header{position:relative;z-index:3;border-bottom:1px solid var(--line);background:#fffcf6}.header-inner{min-height:104px;max-width:1440px;margin:auto;padding:15px 32px;display:flex;align-items:center;gap:35px}.brand{display:block;flex-shrink:0}.sprite{display:block;position:relative;overflow:hidden;isolation:isolate}.sprite img{position:absolute;max-width:none!important;width:calc(1448 / var(--w) * 100%);height:auto;left:calc(-1 * var(--x) / var(--w) * 100%);top:calc(-1 * var(--y) / var(--h) * 100%);pointer-events:none}.brand-art{width:142px;aspect-ratio:1;--x:37;--y:43;--w:176;--h:176;border-radius:50%}.site-header .wp-block-navigation{font-size:15px;flex:1}.site-header .wp-block-navigation__container{gap:22px}.hero{position:relative;background:linear-gradient(110deg,#f6e6cd,#fff6e5);min-height:430px;display:grid;grid-template-columns:1.03fr 1fr;align-items:center;margin:0!important}.hero-copy{padding:56px 35px 54px max(35px,calc((100vw - 1380px)/2));position:relative;z-index:1}.hero-copy h1{font-size:clamp(40px,4.3vw,68px);line-height:1.02;letter-spacing:-2px;margin:10px 0 18px}.hero-copy p{font-size:21px;line-height:1.45;max-width:550px}.eyebrow{color:#8a5005;font-size:12px!important;font-family:system-ui,sans-serif;letter-spacing:2px;text-transform:uppercase}.hero-art{align-self:stretch;min-height:430px;--x:742;--y:99;--w:706;--h:303}.hero-art img{height:100%!important;width:auto!important;min-width:100%;left:auto;right:0;top:0;object-fit:cover;object-position:right;transform:scale(3.584);transform-origin:right top}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fff3df,transparent 28%)}.hero-art{background-image:url(assets/designvorlage.jpg);background-size:auto 358.4%;background-position:right 12.64%}.hero-art img{display:none}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid #b46508;border-radius:30px;padding:12px 23px;color:#6a340d;text-decoration:none;font-weight:bold;font-size:15px;background:#fffaf1}.button.primary{background:linear-gradient(#efa823,#bf7108);color:white;border-color:#bd710b}.button:hover{filter:brightness(.96)}.values{display:flex;flex-wrap:wrap;gap:20px;margin-top:24px;font-size:12px}.values span:before{content:'◇';color:#ba6505;font-size:23px;margin-right:8px;vertical-align:middle}.home-grid{max-width:1440px;margin:0 auto!important;padding:30px 28px;display:grid;grid-template-columns:1.05fr 1fr;gap:32px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:6px}.section-head h2{font-size:29px;margin:0}.section-head a{font-size:14px;color:#a95d07}.section-intro{max-width:450px;margin:8px 0 22px;font-size:16px;line-height:1.5}.honey-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.honey-card{background:#fff8ed;border:1px solid var(--line);border-radius:9px;overflow:hidden;text-align:center}.honey-card h3{font-size:17px;margin:13px 6px 5px}.honey-card p{font-size:14px;margin:0 5px 18px}.honey-art{aspect-ratio:1.18;--y:509;--w:170;--h:144}.news-area{border-left:1px solid var(--line);padding-left:28px}.news-area .wp-block-post-template{gap:18px}.news-area .wp-block-post{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fffbf4}.news-area .wp-block-post-featured-image{margin:0}.news-area .wp-block-post-featured-image img{aspect-ratio:2.25;object-fit:cover}.news-area .wp-block-post-title{font-size:19px;line-height:1.2;margin:12px 14px 14px}.news-area .wp-block-post-title a{text-decoration:none}.news-area .wp-block-post-date{font-size:12px;margin:12px 14px 0;color:#796959}.news-area .wp-block-query-no-results{padding:24px;background:#f8efdf;border-radius:8px;line-height:1.6}.topic-grid{max-width:1440px;margin:0 auto!important;padding:0 28px 28px;display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:18px}.topic-card{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#f9ecda;display:flex;min-height:205px}.topic-copy{padding:24px;position:relative;z-index:1;flex:1}.topic-copy h2{font-size:28px;margin:0 0 10px}.topic-copy p{font-size:16px;line-height:1.45;margin:0 0 18px}.topic-copy .button{font-size:14px;padding:9px 15px}.topic-art{width:37%;flex-shrink:0;--x:491;--y:777;--w:261;--h:155;align-self:stretch}.topic-art img{height:100%;width:auto!important;left:auto;right:0;top:0;display:none}.topic-art{background:url(assets/designvorlage.jpg) 41.37% 84.49% / auto 700%}.site-footer{border-top:1px solid var(--line);background:linear-gradient(#fffcf6,#f5ebdc);padding:30px 32px 18px}.footer-inner{max-width:1376px;margin:auto;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:35px}.footer-inner h3{font-size:17px;margin:0 0 12px}.footer-inner p{font-size:15px;line-height:1.6}.footer-inner ul{list-style:none;padding:0;margin:0}.footer-inner li{margin:8px 0;font-size:14px}.footer-inner a{color:var(--ink);text-decoration:none}.footer-brand{display:flex;align-items:center;gap:16px}.footer-brand .brand-art{width:95px}.footer-tag{font-size:22px!important;font-style:italic}.footer-bottom{max-width:1376px;margin:25px auto 0;padding-top:16px;border-top:1px solid var(--line);font-size:12px;display:flex;justify-content:space-between;gap:20px}.editor-styles-wrapper .sprite img{position:absolute}.article-shell{padding:60px 25px 80px;min-height:55vh}.article-shell .wp-block-post-title{font-size:clamp(36px,5vw,58px);line-height:1.1}.wp-block-post-content{line-height:1.75}.wp-block-post-content img{border-radius:8px}.wp-block-query-pagination{margin:30px 0}.wp-block-search__button{background:#b16a0e;color:white;border-radius:5px;border:0}.wp-block-search__input{border:1px solid #cbbda9;border-radius:5px}.wp-block-post-content a,.article-shell a{color:#9a580c}.wp-block-button__link{border:1px solid #b46508}.wp-block-post-template a{text-decoration:none}
@media(min-width:1500px){.hero{min-height:465px}.hero-art{min-height:465px}}
@media(max-width:1100px){.header-inner{padding:12px 24px;gap:20px}.brand-art{width:105px}.site-header .wp-block-navigation__container{gap:13px}.home-grid{grid-template-columns:1fr}.news-area{border-left:0;border-top:1px solid var(--line);padding:25px 0 0}.topic-grid{grid-template-columns:1fr 1fr}.topic-card:first-child{grid-column:1/-1}.footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.header-inner{min-height:85px;justify-content:space-between}.brand-art{width:76px}.site-header .wp-block-navigation{flex:0}.hero{grid-template-columns:1fr}.hero-copy{padding:35px 24px 20px}.hero-copy h1{font-size:45px;letter-spacing:-1px}.hero-copy p{font-size:19px}.hero-art{min-height:270px}.hero-art:after{background:linear-gradient(#fff3df,transparent 28%)}.home-grid{padding:25px 20px;gap:25px}.honey-grid{grid-template-columns:1fr 1fr}.section-head h2{font-size:27px}.topic-grid{padding:0 20px 25px;grid-template-columns:1fr}.topic-card:first-child{grid-column:auto}.topic-copy{padding:22px}.footer-inner{grid-template-columns:1fr 1fr;gap:25px}.footer-brand{grid-column:1/-1}.site-footer{padding:25px 20px}.footer-bottom{flex-direction:column}.news-area .wp-block-post-template{grid-template-columns:1fr 1fr!important}.article-shell{padding:35px 20px}.values{gap:10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

body{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.6}a{color:inherit}.header-inner .brand-art{width:105px}.news-area>h2{font-size:29px;margin:0 0 16px}.home-grid>.news-area{margin-block-start:0}.wp-block-query{margin-block-start:0}.topic-card:nth-child(2){background:linear-gradient(90deg,#f9ecda 30%,#f9ecdaeb 72%,#f9ecda22),url(assets/designvorlage.jpg) 74.65% 84.49% / auto 700%}.topic-card:nth-child(3){background:linear-gradient(90deg,#f9ecda 30%,#f9ecdaeb 72%,#f9ecda22),url(assets/designvorlage.jpg) right 84.49% / auto 700%}
@media(max-width:700px){.header-inner .brand-art{width:76px}.header-inner{min-width:0}.site-header .wp-block-navigation{min-width:0}}

.hero-copy h1{font-size:clamp(40px,3.5vw,52px);letter-spacing:-1.5px}.hero-copy p{margin-block:18px}.topic-card:nth-child(2){background:#f9ecda}.topic-card:nth-child(3){background:linear-gradient(90deg,#f9ecda 40%,#f9ecdaee 70%,#f9ecda66),url(assets/designvorlage.jpg) right 84.49% / auto 700%}@media(max-width:700px){.hero-copy h1{font-size:44px}.topic-card:nth-child(3){background:#f9ecda}}

/* Keep the hero crop independent of viewport width and prevent tiling. */
.hero-art{background-size:205.0992% 358.4158%;background-position:100% 12.6437%;background-repeat:no-repeat}.topic-art,.topic-card:nth-child(3){background-repeat:no-repeat}



/* One continuous full-width hero, with live text over the image. */
.hero{display:block;min-height:430px;background:#f6e6cd url(assets/hero-breit.jpg) center center / cover no-repeat}.hero-copy{width:57%;min-height:430px;background:linear-gradient(90deg,#fff3e0aa,#fff3e030);padding-top:55px;padding-bottom:45px}.hero>.hero-art{display:none!important}.hero-copy h1{font-size:clamp(40px,3.5vw,56px)}@media(max-width:700px){.hero{background-position:62% center;min-height:580px}.hero-copy{width:100%;min-height:580px;background:linear-gradient(90deg,#fff3e0ee,#fff3e0b0);padding:35px 24px}.hero-copy h1{font-size:44px}}




/* Dedicated artwork for the three topic cards. */
.topic-card{position:relative;background-color:#fff6e8;min-height:205px;background-repeat:no-repeat;background-size:cover;background-position:center}.topic-card:first-child{background-image:url(assets/thema-wissen.jpg)}.topic-card:nth-child(2){background-image:url(assets/thema-pflanzen.jpg);background-size:cover;background-position:center}.topic-card:nth-child(3){background-image:url(assets/thema-rezepte.jpg);background-size:cover;background-position:center}.topic-card .topic-art{display:none!important}.topic-copy{flex:none;width:76%;padding:24px 12px 24px 28px}.topic-card:first-child .topic-copy{width:66%}.topic-copy h2{font-size:25px}.topic-copy p{font-size:15px}.topic-copy .button{font-size:13px;background:#fffcf6e8}@media(max-width:700px){.topic-card{min-height:235px}.topic-card .topic-copy{width:78%;padding:22px}.topic-card:first-child .topic-copy{width:68%}.topic-copy h2{font-size:24px}}


.topic-copy h2{display:flex;align-items:center;gap:12px}.topic-copy h2:before{content:'';display:block;flex:0 0 34px;width:34px;height:34px;background:center/contain no-repeat url(assets/buch.svg)}.topic-card:nth-child(2) h2:before{background-image:url(assets/blume.svg)}.topic-card:nth-child(3) h2:before{background-image:url(assets/koch.svg)}



.topic-copy{width:82%}.topic-copy h2{font-size:22px;line-height:1.15;gap:10px;margin-bottom:12px}.topic-copy h2:before{width:30px;height:30px;flex-basis:30px}.topic-copy p{max-width:94%}.topic-card:first-child .topic-copy{width:66%}@media(max-width:700px){.topic-card .topic-copy{width:82%}.topic-card:first-child .topic-copy{width:78%}}

