/*
Theme Name: Brennholz
Description: Massgeschneidertes WooCommerce-Theme für den Online-Verkauf von Brennholz. Alle Inhalte über den Customizer und die Produktverwaltung pflegbar.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brennholz
WC requires at least: 8.0
*/

/* Fonts (self-hosted) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
	--wald: #22301F;
	--wald-2: #2D3F29;
	--wald-3: #3E523A;
	--buche: #C58F5A;
	--buche-dunkel: #A9743F;
	--splint: #EAD7BF;
	--creme: #F7F2EA;
	--papier: #FFFDF9;
	--rinde: #2A2622;
	--muted: #6D655C;
	--linie: #E3D9CB;
	--ok: #3B6D11;
	--fehler: #A32D2D;
	--radius: 8px;
	--radius-lg: 14px;
	--max: 1160px;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--shadow: 0 1px 2px rgba(34, 48, 31, .06), 0 8px 24px rgba(34, 48, 31, .06);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--rinde); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--wald); text-underline-offset: 3px; }
a:hover { color: var(--buche-dunkel); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--wald); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--buche); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--splint); color: var(--wald); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--wald); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.section-tint { background: var(--papier); border-top: 1px solid var(--linie); }
.center { text-align: center; }

/* Draft banner */
.draft-banner { background: #182216; color: var(--splint); text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .04em; padding: 6px 12px; }

/* Buttons */
.btn, .button, button.button, input.button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 22px; border-radius: var(--radius);
	font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none;
	border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary, .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wp-block-button__link {
	background: var(--buche); color: var(--wald);
}
.btn-primary:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wp-block-button__link:hover {
	background: var(--buche-dunkel); color: #fff;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order {
	background: var(--wald); color: #fff;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover { background: var(--wald-2); color: #fff; }
.btn-outline { background: transparent; border-color: var(--wald); color: var(--wald); }
.btn-outline:hover { background: var(--wald); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(234, 215, 191, .7); color: var(--splint); }
.btn-ghost-light:hover { background: rgba(234, 215, 191, .12); color: #fff; }
.btn:active, .button:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--wald); color: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.brand:hover { color: var(--splint); }
.brand-logo { max-height: 44px; width: auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; background: radial-gradient(circle, var(--splint) 0 16%, var(--buche) 17% 30%, var(--splint) 31% 44%, var(--buche) 45% 58%, var(--splint) 59% 70%, var(--wald-2) 71%); }
.brand-name { font-family: var(--serif); font-size: 21px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.main-nav a { color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--splint); border-bottom-color: var(--buche); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: var(--radius); background: var(--wald-2); color: #fff; text-decoration: none; font-size: 14px; font-weight: 500; }
.cart-link:hover { background: var(--wald-3); color: #fff; }
.cart-link .icon { color: var(--buche); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--buche); color: var(--wald); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); border: 1px solid var(--wald-3); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--wald); color: #fff; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--splint); margin-bottom: 14px; }
.eyebrow-dark { color: var(--buche-dunkel); }
.hero-text { font-size: 18px; color: #E7E2D8; max-width: 540px; margin-bottom: 28px; }
.hero-facts { list-style: none; padding: 26px 0 0; margin: 34px 0 0; border-top: 1px solid rgba(234, 215, 191, .22); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 14px; font-weight: 500; color: var(--splint); }
.hero-facts li + li { border-left: 1px solid rgba(234, 215, 191, .22); padding-left: 16px; }
.hero-media .media-img, .hero-media .media-placeholder { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); }
.rings { position: absolute; right: -180px; top: -140px; width: 640px; height: 640px; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(234, 215, 191, .07) 0 12px, rgba(197, 143, 90, .12) 13px 26px); pointer-events: none; }

/* Media */
.media-img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { width: 100%; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 20px; background: var(--splint); border: 1.5px dashed var(--buche); color: #8a6a4a; font-size: 13px; min-height: 220px; }

/* Trust */
.trust { background: var(--papier); border-bottom: 1px solid var(--linie); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.trust-item { display: flex; gap: 14px; padding: 30px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--linie); }
.trust-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--creme); border: 1px solid var(--linie); color: var(--buche-dunkel); display: inline-flex; align-items: center; justify-content: center; }
.trust-title { font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--wald); margin: 2px 0 4px; letter-spacing: 0; }
.trust-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* Section head */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--linie); }
.section-head h2 { margin: 0; }
.section-dark { background: var(--wald); color: #E7E2D8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head { border-bottom-color: rgba(234, 215, 191, .2); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { padding: 28px; border: 1px solid rgba(234, 215, 191, .2); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .03); }
.step-num { display: block; font-family: var(--serif); font-size: 34px; color: var(--buche); line-height: 1; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 15px; }

/* About teaser */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media .media-img, .about-media .media-placeholder { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); }
.about-copy p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }

/* Page */
.page-hero { background: var(--wald); color: #E7E2D8; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin: 0; }
.page-lead { font-size: 18px; max-width: 640px; margin: 14px 0 0; }

/* Entry content */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--papier); border-radius: var(--radius); overflow: hidden; }
.entry-content th, .entry-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.entry-content th { background: var(--splint); color: var(--wald); font-weight: 600; }
.entry-content .wp-block-table { margin-left: 0; margin-right: 0; }
.entry-content .wp-block-table table { border: 1px solid var(--linie); border-collapse: separate; border-spacing: 0; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border: 0; border-bottom: 1px solid var(--linie); }
.entry-content .wp-block-table tr:last-child td { border-bottom: 0; }
.entry-content blockquote { margin: 0; padding: 18px 22px; border-left: 3px solid var(--buche); background: var(--papier); }
.entry-content details, .wp-block-details { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--papier); padding: 0 18px; }
.entry-content details + details { margin-top: 10px; }
.entry-content summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; color: var(--wald); position: relative; }
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--buche); border-bottom: 2px solid var(--buche); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.entry-content details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.entry-content details > :not(summary) { margin: 0 0 16px; color: var(--muted); }
.has-wald-color { color: var(--wald); } .has-wald-background-color { background-color: var(--wald); }
.has-buche-color { color: var(--buche); } .has-buche-background-color { background-color: var(--buche); }
.has-splint-color { color: var(--splint); } .has-splint-background-color { background-color: var(--splint); }
.has-creme-color { color: var(--creme); } .has-creme-background-color { background-color: var(--creme); }
.has-rinde-color { color: var(--rinde); } .has-rinde-background-color { background-color: var(--rinde); }
.post-teaser { padding: 24px 0; border-bottom: 1px solid var(--linie); }

/* Cards and forms */
.card { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-lg); padding: 26px; }
.card-title { font-size: 1.25rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea, .woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; min-height: 46px; padding: 11px 14px; font: inherit; font-size: 15px; color: var(--rinde);
	background: #fff; border: 1px solid #CDBFAB; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--buche); box-shadow: 0 0 0 3px rgba(197, 143, 90, .25); }
label { display: block; font-size: 14px; font-weight: 500; color: var(--wald); margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row { margin-bottom: 16px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--wald); flex: 0 0 auto; }
.form-check label { font-weight: 400; color: var(--rinde); margin: 0; }
.form-note { font-size: 13px; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 15px; }
.notice-success { background: #EAF3DE; color: #27500A; border: 1px solid #C0DD97; }
.notice-error { background: #FCEBEB; color: #791F1F; border: 1px solid #F7C1C1; }
.contact-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { margin-top: 3px; flex: 0 0 auto; color: var(--buche); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list-dark { color: var(--rinde); }

/* Footer */
.site-footer { background: var(--wald); color: #CFC8BC; margin-top: 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-about p { margin-top: 18px; max-width: 360px; }
.footer-title { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--buche); margin-bottom: 16px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #E7E2D8; text-decoration: none; }
.site-footer a:hover { color: var(--splint); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(234, 215, 191, .15); font-size: 13px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { margin: 0; }
.footer-bottom .menu { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Reveal animation (only when JS is active) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	* { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ---------- WooCommerce ---------- */
.shop-wrap { padding-top: 40px; }
.breadcrumb, .woocommerce-breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a, .woocommerce-breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; color: var(--linie); }
.woocommerce-products-header__title { margin-bottom: 10px; }
.woocommerce-result-count { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.woocommerce-ordering { margin: 0 0 24px; float: right; }
.woocommerce-ordering select { min-height: 40px; padding: 6px 12px; width: auto; }

ul.products { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; clear: both; }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { position: relative; display: flex; flex-direction: column; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; margin: 0; width: auto; float: none; }
ul.products li.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; padding-bottom: 6px; }
.loop-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--splint); }
.loop-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
ul.products li.product:hover .loop-thumb img { transform: scale(1.03); }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--wald); padding: 18px 20px 4px; margin: 0; }
.loop-specs { font-size: 13px; color: var(--muted); padding: 0 20px; margin: 0 0 10px; }
ul.products li.product .price { display: block; padding: 0 20px; margin-top: auto; font-size: 1.15rem; font-weight: 600; color: var(--wald); }
ul.products li.product .price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .price-unit, ul.products li.product .wc-gzd-additional-info, ul.products li.product .product-units { display: block; padding: 0 20px; font-size: 12.5px; color: var(--muted); }
ul.products li.product .button { margin: 14px 20px 20px; width: calc(100% - 40px); }
ul.products li.product .added_to_cart { display: block; text-align: center; margin: -8px 20px 18px; font-size: 14px; }
ul.products li.product .onsale, .woocommerce span.onsale { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--splint); color: var(--wald); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; min-height: 0; min-width: 0; line-height: 1.4; margin: 0; }

.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; background: var(--papier); }
.woocommerce-pagination .current { background: var(--wald); color: #fff; border-color: var(--wald); }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; position: relative; }
.single-product div.product .woocommerce-product-gallery { width: auto; float: none; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--splint); position: relative; }
.single-product div.product .woocommerce-product-gallery img { width: 100%; }
.single-product .flex-control-thumbs { list-style: none; padding: 10px; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; background: var(--papier); }
.single-product .flex-control-thumbs img { border-radius: 6px; cursor: pointer; opacity: .7; }
.single-product .flex-control-thumbs img.flex-active, .single-product .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: var(--papier); display: flex; align-items: center; justify-content: center; text-indent: -9999px; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--wald); border-radius: 50%; text-indent: 0; }
.single-product div.product .summary { width: auto; float: none; margin: 0; }
.single-product .product_title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.single-product div.product p.price { font-size: 1.7rem; font-weight: 600; color: var(--wald); margin-bottom: 4px; }
.single-product .woocommerce-product-details__short-description { color: var(--muted); font-size: 17px; margin: 18px 0 24px; }
.single-product .legal-price-info, .single-product .wc-gzd-additional-info, .single-product .price-unit, .single-product .product-units, .single-product .delivery-time-info { font-size: 13.5px; color: var(--muted); margin: 0 0 4px; }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; padding: 22px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin: 22px 0; }
.single-product form.cart .quantity input.qty { width: 90px; text-align: center; min-height: 50px; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 50px; font-size: 16px; background: var(--buche); color: var(--wald); }
.single-product form.cart .single_add_to_cart_button:hover { background: var(--buche-dunkel); color: #fff; }
.single-product form.cart.variations_form { display: block; }
.variations { width: 100%; margin-bottom: 14px; border-collapse: collapse; }
.variations th, .variations td { display: block; padding: 0 0 6px; text-align: left; }
.single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; gap: 12px; }
.reset_variations { font-size: 13px; }
.product_meta { font-size: 13.5px; color: var(--muted); display: grid; gap: 4px; }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce-tabs ul.tabs { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 6px; border-bottom: 1px solid var(--linie); overflow-x: auto; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px; text-decoration: none; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--wald); border-bottom-color: var(--buche); }
.woocommerce-Tabs-panel { max-width: 820px; }
.woocommerce-Tabs-panel h2:first-child { font-size: 1.4rem; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; background: var(--papier); border-radius: var(--radius); overflow: hidden; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--linie); font-size: 15px; }
.woocommerce-product-attributes th { width: 38%; color: var(--wald); font-weight: 600; background: var(--creme); }
.woocommerce-product-attributes td p { margin: 0; }
.related.products, .upsells.products { grid-column: 1 / -1; margin-top: 56px; }
.related.products > h2, .upsells.products > h2 { font-size: 1.7rem; margin-bottom: 24px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; padding: 14px 18px; margin: 0 0 24px; border-radius: var(--radius); background: var(--papier); border: 1px solid var(--linie); border-left: 4px solid var(--buche); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-left-color: var(--fehler); flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 38px; padding: 8px 14px; font-size: 14px; }

/* Cart */
.woocommerce-cart-form { margin-bottom: 32px; }
table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
table.shop_table th { text-align: left; padding: 14px 16px; background: var(--creme); color: var(--wald); font-weight: 600; font-size: 13.5px; }
table.shop_table td { padding: 16px; border-top: 1px solid var(--linie); vertical-align: middle; }
table.shop_table .product-thumbnail img { width: 72px; border-radius: 8px; }
table.shop_table .product-name a { font-weight: 600; text-decoration: none; }
table.shop_table a.remove { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; color: var(--fehler) !important; text-decoration: none; font-size: 20px; }
table.shop_table a.remove:hover { background: #FCEBEB; }
table.shop_table .quantity input.qty { width: 80px; text-align: center; }
table.shop_table td.actions { background: var(--creme); }
table.shop_table td.actions .coupon { display: inline-flex; gap: 8px; align-items: center; }
table.shop_table td.actions .coupon label { display: none; }
table.shop_table td.actions .coupon input { width: 180px; }
table.shop_table td.actions > .button { float: right; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 460px; }
.cart_totals h2 { font-size: 1.5rem; }
.cart_totals table.shop_table th { background: transparent; width: 40%; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 1.1rem; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 16px; background: var(--wald); color: #fff; }
.wc-proceed-to-checkout .checkout-button:hover { background: var(--wald-2); color: #fff; }
#shipping_method { list-style: none; padding: 0; margin: 0; }
.woocommerce-shipping-calculator .shipping-calculator-form { margin-top: 10px; }

/* Checkout */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.woocommerce-checkout #customer_details { grid-column: 1; }
.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout #order_review_heading { margin: 0 0 14px; font-size: 1.5rem; }
.woocommerce-checkout #order_review { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius-lg); padding: 22px; }
.woocommerce-checkout #order_review table.shop_table { border: 0; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; }
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; display: inline-block; vertical-align: top; }
.woocommerce form .form-row-first { margin-right: 2.5%; }
.woocommerce form .form-row label { font-size: 14px; }
.woocommerce form .form-row .required { color: var(--fehler); text-decoration: none; }
.woocommerce-checkout-payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.woocommerce-checkout-payment li.wc_payment_method { border: 1px solid var(--linie); border-radius: var(--radius); padding: 14px 16px; background: #fff; }
.woocommerce-checkout-payment li.wc_payment_method > label { display: inline; font-weight: 600; margin-left: 6px; }
.woocommerce-checkout-payment .payment_box { font-size: 14px; color: var(--muted); margin-top: 10px; }
.woocommerce-checkout-payment .payment_box p:last-child { margin: 0; }
#place_order { width: 100%; min-height: 56px; font-size: 16.5px; }
.woocommerce-terms-and-conditions-wrapper, .wc-gzd-checkbox-placeholder, .legal { font-size: 14px; }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--muted); }

/* My account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--linie); border-radius: var(--radius-lg); overflow: hidden; background: var(--papier); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--linie); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--wald); color: #fff; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hero-inner { gap: 36px; }
	.about-teaser { gap: 40px; }
	.single-product div.product { gap: 36px; }
}

@media (max-width: 860px) {
	.header-inner { height: 64px; }
	.nav-toggle { display: inline-flex; }
	.cart-label { display: none; }
	.main-nav { position: fixed; inset: 64px 0 0 0; background: var(--wald); padding: 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; z-index: 40; }
	.has-draft-banner .main-nav { top: 94px; }
	.admin-bar .main-nav { top: 110px; }
	.nav-open { overflow: hidden; }
	.nav-open .main-nav { transform: none; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav a { display: block; font-family: var(--serif); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--wald-3); }
	.hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
	.hero-media { order: 2; }
	.trust-grid { grid-template-columns: 1fr; }
	.trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--linie); }
	.trust-item { padding: 20px 0; }
	.steps { grid-template-columns: 1fr; gap: 14px; }
	.about-teaser { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.single-product div.product { grid-template-columns: 1fr; }
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; gap: 28px; }
	.woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; }
	.contact-layout { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.section { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 600px) {
	.container { padding: 0 18px; }
	.brand-name { font-size: 18px; }
	.hero-facts { grid-template-columns: 1fr; gap: 8px; }
	.hero-facts li + li { border-left: 0; padding-left: 0; }
	.section-head { flex-direction: column; align-items: flex-start; }
	ul.products { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; margin-right: 0; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-top: 1px solid var(--linie); }
	table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border-top: 0; padding: 10px 16px; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; color: var(--wald); text-align: left; }
	table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before { display: none; }
	table.shop_table td.actions .coupon { display: flex; width: 100%; margin-bottom: 10px; }
	table.shop_table td.actions .coupon input { width: auto; flex: 1; }
	table.shop_table td.actions > .button { float: none; width: 100%; }
	.single-product form.cart .single_add_to_cart_button { width: 100%; flex-basis: 100%; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
