/*
Theme Name: Masche & Glanz – Abendgold
Author: Masche & Glanz
Description: Eigenes klassisches Theme für Handgestricktes und Schmuck mit WooCommerce-Unterstützung.
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: masche-glanz
License: GPL-2.0-or-later
*/
:root{color-scheme:dark;--bg:#202b29;--panel:#2a3732;--ink:#f2ecdc;--muted:#bbc4b7;--gold:#ddc18b;--line:#4a574a;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 var(--sans)}a{color:inherit;text-underline-offset:5px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto;display:block}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.skip-link{position:absolute;top:-100px;left:20px;background:var(--gold);color:var(--bg);z-index:100;padding:12px}.skip-link:focus{top:12px}.wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.eyebrow{font-size:11px;letter-spacing:2.3px;text-transform:uppercase;color:var(--gold)}.announcement{text-align:center;padding:9px 20px;font-size:10px;letter-spacing:2px;color:var(--gold);border-bottom:1px solid var(--line)}.site-header{border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 0}.brand{text-decoration:none;font:30px/1.1 var(--serif);letter-spacing:-.7px;white-space:nowrap}.brand span{font-style:italic;color:var(--gold)}.brand small{font:9px var(--sans);display:block;letter-spacing:3px;text-transform:uppercase;margin-top:8px;color:var(--muted)}.nav{display:flex;align-items:center;gap:25px;font-size:12px}.nav a{text-decoration:none}.nav a:hover{color:var(--gold)}.nav ul{display:flex;gap:24px;list-style:none;padding:0;margin:0;flex-wrap:wrap}.cart-link{border:1px solid var(--line);padding:9px 13px;white-space:nowrap}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px;padding-block:62px}.hero h1{font:clamp(45px,5.3vw,72px)/1.04 var(--serif);font-weight:400;letter-spacing:-2px;margin:19px 0 25px}.hero h1 em{color:var(--gold);font-weight:400}.hero p{max-width:440px;font-size:14px;color:var(--muted);margin:0 0 30px}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button{display:inline-flex;justify-content:center;align-items:center;gap:17px;border:1px solid var(--gold);border-radius:0!important;background:var(--gold)!important;color:var(--bg)!important;padding:12px 21px;text-decoration:none;font-size:12px;font-weight:500;min-height:46px;line-height:1.4}.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{filter:brightness(1.08)}.button.secondary{background:transparent!important;color:var(--gold)!important}.hero-note{display:block;margin-top:19px;font-size:10px;letter-spacing:1.1px;color:var(--muted)}.hero-art{position:relative;background:#364239;border-radius:160px 160px 0 0;overflow:hidden}.hero-art img{width:100%;aspect-ratio:1/1.1;object-fit:cover}.art-caption{position:absolute;bottom:19px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:2px;color:#f4e9d1}.intro-line{border-block:1px solid var(--line);padding:17px 0;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:11px}.intro-line span:before{content:'✦';color:var(--gold);padding-right:9px}.section{padding-block:60px}.section-heading{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:28px}.section-heading h2,.story h2,.content-page h1,.woocommerce-products-header h1{font:400 38px/1.15 var(--serif);margin:10px 0 0;letter-spacing:-.7px}.section-heading a{font-size:12px;color:var(--gold)}.categories{display:grid;grid-template-columns:1fr 1fr;gap:24px}.category{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;background:var(--panel);text-decoration:none;min-height:245px;overflow:hidden}.category-text{padding:27px}.category h3{font:29px var(--serif);margin:10px 0}.category p{font-size:12px;color:var(--muted);margin:0 0 18px}.category .arrow{color:var(--gold);font-size:12px}.category img{height:100%;width:100%;object-fit:cover;max-height:280px}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.product-card{min-width:0}.product-card a{text-decoration:none}.product-picture{display:block;position:relative;background:var(--panel);overflow:hidden}.product-picture img{width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .25s}.product-card a:hover img{transform:scale(1.025)}.product-label{position:absolute;left:12px;top:12px;background:var(--bg);color:var(--gold);padding:4px 8px;font-size:9px;letter-spacing:1px}.product-card h3{font:19px var(--serif);margin:17px 0 6px}.product-type{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted)}.product-price{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-top:8px}.product-price .arrow{color:var(--gold)}.empty-state{border:1px solid var(--line);padding:25px;color:var(--muted)}.story{display:grid;grid-template-columns:.7fr 1fr;gap:70px;padding:48px;background:var(--panel);align-items:center}.story .quote{font:italic 37px/1.2 var(--serif);color:var(--gold);margin:0}.story p{font-size:13px;color:var(--muted);max-width:540px}.story h2{font-size:28px;margin-top:0}.site-footer{margin-top:45px;border-top:1px solid var(--line);padding:35px 0 22px}.footer-top{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}.footer-copy{font-size:12px;color:var(--muted);max-width:350px}.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:11px;align-items:start}.footer-bottom{border-top:1px solid var(--line);margin-top:30px;padding-top:19px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:10px;color:var(--muted)}.content-page{padding-block:55px;min-height:50vh}.content-page .entry-content{max-width:800px}.content-page h1{margin-bottom:30px}.entry-content a{color:var(--gold)}.entry-content h2{font:30px var(--serif);margin-top:35px}.demo-banner{background:#dfc28a;color:#202b29;padding:10px 20px;text-align:center;font-size:12px}.preview-detail{display:grid;grid-template-columns:1fr 1fr;gap:45px;padding-block:50px}.preview-detail h1{font:42px var(--serif);margin:10px 0 20px}.preview-detail .gallery-main{width:100%;aspect-ratio:1;object-fit:cover;background:var(--panel)}.preview-thumbs{display:flex;gap:10px;margin-top:12px}.preview-thumbs button{width:76px;padding:0;border:1px solid var(--line);background:var(--panel)}.preview-thumbs button[aria-pressed=true]{border:2px solid var(--gold)}.preview-thumbs img{width:100%;aspect-ratio:1;object-fit:cover}.preview-thumbs button:disabled{opacity:.5}.preview-detail .price{color:var(--gold);font-size:21px}.preview-detail p,.preview-detail dl{font-size:14px;color:var(--muted)}.preview-detail dt{color:var(--ink);margin-top:13px}.preview-detail dd{margin:0}.preview-message{border:1px solid var(--line);padding:15px;margin-top:20px}.woocommerce{padding-block:40px;min-height:40vh}.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font:21px var(--serif);color:var(--ink)}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gold)}.woocommerce div.product .product_title{font:42px var(--serif)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--panel);border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--bg);color:var(--gold)}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:inherit}.woocommerce input.input-text,.woocommerce textarea,.woocommerce select,.entry-content input,.entry-content textarea{background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:12px;max-width:100%}.woocommerce form .form-row input.input-text{line-height:1.4}.woocommerce table.shop_table{border-color:var(--line)}.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--line)}.woocommerce-info,.woocommerce-message,.woocommerce-error{background:var(--panel);color:var(--ink)}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--gold);color:var(--bg)}.woocommerce-checkout #payment,.woocommerce-checkout #payment div.payment_box{background:var(--panel);color:var(--ink)}.woocommerce .quantity .qty{width:5em}.woocommerce span.onsale{background:var(--gold);color:var(--bg)}.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.woocommerce div.product div.images .flex-control-thumbs li{width:calc(25% - 6px)}.woocommerce div.product div.images .flex-control-thumbs li img{opacity:.65}.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{opacity:1;outline:2px solid var(--gold);outline-offset:-2px}.woocommerce div.product div.images .woocommerce-product-gallery__trigger{background:var(--gold)}.woocommerce .select2-container .select2-selection--single{background:var(--panel);border-color:var(--line);height:45px}.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{color:var(--ink);line-height:43px}.select2-dropdown{background:var(--panel);color:var(--ink)}.woocommerce form.checkout .woocommerce-privacy-policy-text{font-size:12px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:12px}.woocommerce .woocommerce-ordering select{min-height:44px}.woocommerce div.product .product_meta{font-size:12px;color:var(--muted)}.woocommerce div.product .woocommerce-tabs .panel h2{font:28px var(--serif)}.woocommerce ul.products li.product .button{font-size:11px}
@media(max-width:980px){.nav{gap:15px}.nav ul{gap:15px}.hero{gap:35px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category{grid-template-columns:1fr}.category img{height:210px}.story{gap:35px;padding:30px}.header-inner{flex-wrap:wrap}.brand{font-size:28px}}
@media(max-width:640px){.wrap{width:calc(100% - 36px)}.announcement{font-size:9px;letter-spacing:1.2px}.header-inner{padding:22px 0;gap:17px}.brand{font-size:26px}.menu-toggle{display:block;color:var(--gold);background:none;border:1px solid var(--line);padding:8px 12px;min-height:44px}.nav{display:none;width:100%;flex-wrap:wrap;padding-top:5px}.nav.is-open{display:flex}.nav ul{flex-direction:column;gap:0;width:100%}.nav a{display:inline-block;padding:9px 0;min-height:44px}.nav .cart-link{padding:9px 13px}.hero{grid-template-columns:1fr;padding-block:35px;gap:30px}.hero h1{font-size:49px}.hero-art{width:100%;max-width:420px;margin:auto}.hero-art img{aspect-ratio:1.15}.intro-line{gap:9px;font-size:10px}.section{padding-block:35px}.section-heading h2{font-size:31px}.section-heading{align-items:start;flex-wrap:wrap;gap:12px}.categories{gap:15px}.category-text{padding:19px}.category h3{font-size:24px}.category p{font-size:11px}.category img{height:170px}.products-grid{gap:22px 14px}.product-card h3{font-size:18px}.product-type{font-size:9px}.product-label{left:7px;top:7px;font-size:8px}.story{grid-template-columns:1fr;gap:22px;padding:27px}.story .quote{font-size:31px}.site-footer{margin-top:30px}.footer-links{gap:15px}.preview-detail{grid-template-columns:1fr;padding-block:28px;gap:28px}.preview-detail h1{font-size:36px}.woocommerce div.product .product_title{font-size:34px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px}input,textarea,select{font-size:16px!important}.woocommerce table.shop_table_responsive tr td{background:var(--panel)}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:48%;margin-right:4%}.woocommerce ul.products li.product:nth-child(2n){margin-right:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-picture img{transition:none}}
