/*
Theme Name: Wohnart Shop
Theme URI: https://example.com/wohnart
Author: Wohnart
Description: Ein schlichtes, deutschsprachiges Shop-Theme mit WooCommerce-Unterstützung, Hero-Bereich und Produktraster.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wohnart
Tags: e-commerce, one-column, custom-menu, featured-images, translation-ready
*/
:root{--bg:#f6f7f5;--surface:#fff;--ink:#1d2a27;--muted:#5d6b67;--line:#dde3e0;--accent:#1f5c57;--accent-ink:#fff;--soft:#e3ebe7}
@media (prefers-color-scheme:dark){:root{--bg:#121917;--surface:#1a2420;--ink:#eaf0ed;--muted:#9fb0aa;--line:#2b3833;--accent:#6fc2b8;--accent-ink:#0d1513;--soft:#22302b}}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6}
h1,h2,h3,h4{font-family:Fraunces,Georgia,serif;line-height:1.2;margin:0 0 .5em}
a{color:var(--accent)}img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.wrap{max-width:1120px;margin:auto;padding:0 20px}
.site-header{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--line)}
.bar{max-width:1120px;margin:auto;padding:14px 20px;display:flex;align-items:center;gap:20px}
.logo{font-family:Fraunces,Georgia,serif;font-weight:700;font-size:1.5rem;text-decoration:none;color:var(--ink);margin-right:auto}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:18px}
.main-nav a{text-decoration:none;color:var(--muted)}.main-nav a:hover{color:var(--ink)}
.cartbtn{background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:9px 18px;font-weight:700;text-decoration:none}
.btn,.button,.wp-element-button,button.single_add_to_cart_button,.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{display:inline-block;background:var(--accent);color:var(--accent-ink);border:0;border-radius:8px;padding:12px 22px;font-weight:700;text-decoration:none;cursor:pointer;font:inherit;font-weight:700}
.woocommerce a.button:hover,.woocommerce button.button:hover,.btn:hover{background:var(--accent);color:var(--accent-ink);opacity:.9}
.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:center;padding:56px 0}
.hero h1{font-size:clamp(2.2rem,5vw,3.6rem)}
.hero p{color:var(--muted);max-width:46ch;margin:16px 0 26px}
.heroart{aspect-ratio:5/4;border-radius:16px;background:var(--soft);position:relative;overflow:hidden}
.heroart i{position:absolute;border-radius:50%}
.heroart .a{width:46%;aspect-ratio:1;background:var(--accent);left:12%;bottom:-8%}
.heroart .b{width:30%;aspect-ratio:1;background:#d9b99b;right:14%;top:14%}
.heroart .c{width:16%;height:56%;background:var(--surface);right:30%;bottom:0;border-radius:60px 60px 0 0}
.perks{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:0 0 40px}
.perks div{border:1px solid var(--line);border-radius:12px;padding:16px 18px;background:var(--surface)}
.perks b{display:block}.perks span{color:var(--muted);font-size:.92rem}
.section-title{font-size:2rem;margin-bottom:22px}
.content{padding:40px 20px}
.entry{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:22px}
.entry h2 a{text-decoration:none;color:var(--ink)}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto;margin:0;float:none;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 0 16px;overflow:hidden;display:flex;flex-direction:column}
.woocommerce ul.products li.product a img{margin:0 0 12px;aspect-ratio:1;object-fit:cover;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1.1rem;padding:0 16px}
.woocommerce ul.products li.product .price{padding:0 16px;color:var(--ink);font-weight:700;display:block;margin-bottom:10px}
.woocommerce ul.products li.product .button{margin:auto 16px 0;text-align:center}
.woocommerce span.onsale{background:var(--accent);color:var(--accent-ink);min-height:0;line-height:1;padding:8px 12px;border-radius:999px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink);font-weight:700}
.woocommerce table.shop_table{border-color:var(--line);border-radius:12px}
.woocommerce-message,.woocommerce-info{background:var(--soft);color:var(--ink);border-top-color:var(--accent)}
.woocommerce-message::before,.woocommerce-info::before{color:var(--accent)}
input,select,textarea{font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);max-width:100%}
.site-footer{margin-top:72px;border-top:1px solid var(--line);padding:32px 0;color:var(--muted);font-size:.92rem}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:12px 28px;justify-content:space-between}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;gap:18px}
.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:760px){.hero{grid-template-columns:1fr;padding:32px 0}.perks{grid-template-columns:1fr}.main-nav{display:none}}
