/*
Theme Name: Brandhout de Bever
Description: Webshop-thema voor Brandhout de Bever – brandhout, houtkachels en pelletkachels.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: brandhoutdebever
*/

/* Schriften lokal eingebunden (DSGVO: keine Verbindung zu Google Fonts) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/archivo.woff2') format('woff2'); }

:root {
  --wald-950: #121416;
  --wald-900: #1b1e21;
  --wald-800: #262a2e;
  --wald-700: #7a4a1e;
  --wald-100: #f4ece2;
  --glut-600: #b0401a;
  --glut-500: #c9541f;
  --glut-100: #fbeadf;
  --anthrazit: #1c1f22;
  --text: #24282c;
  --text-2: #5b636b;
  --linie: #dfe3e6;
  --flaeche: #f6f3ef;
  --weiss: #ffffff;
  --ok: #2e7d32;
  --radius: 2px;
  --breite: 1280px;
  --schrift: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --titel: 'Archivo', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wald-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--glut-600); }
h1, h2, h3, h4 { font-family: var(--titel); color: var(--anthrazit); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Knöpfe ---------- */
.knopf, .button, button.button, .wc-block-components-button, input[type=submit],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  font: 600 15px/1 var(--schrift); padding: 14px 22px; border: 0; border-radius: var(--radius);
  background: var(--glut-600); color: #fff !important; text-decoration: none; cursor: pointer; transition: background .15s;
}
.knopf:hover, .button:hover, input[type=submit]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--glut-500); color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--glut-600); color: #fff; opacity: .5; padding: 14px 22px; }
.knopf--hell { background: #fff; color: var(--anthrazit) !important; }
.knopf--hell:hover { background: var(--wald-100); color: var(--anthrazit) !important; }
.knopf--rahmen { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.knopf--rahmen:hover { background: rgba(255,255,255,.12); }

/* ---------- Kopfbereich ---------- */
.topbar { background: var(--wald-950); color: #d6d2cc; font-size: 13px; border-top: 4px solid; border-image: linear-gradient(90deg, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%) 1; }
.topbar .huelle { display: flex; gap: 28px; justify-content: space-between; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.topbar li::before { content: "✓"; color: #ffce00; font-weight: 700; margin-right: 7px; }
.topbar a { color: #cfdcd2; text-decoration: none; }
.topbar a:hover { color: #fff; }

.kopf { background: #fff; border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 50; }
.kopf__zeile { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--anthrazit); flex-shrink: 0; }
.marke svg { width: 44px; height: 44px; }
.marke__name { font-family: var(--titel); font-weight: 800; font-size: 21px; line-height: 1.05; letter-spacing: -0.02em; }
.marke__name small { display: block; font-family: var(--schrift); font-weight: 500; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-top: 3px; }
.suche { flex: 1; max-width: 520px; display: flex; }
.suche input[type=search] { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid #c9cfd4; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font: inherit; font-size: 15px; }
.suche input[type=search]:focus { outline: 2px solid var(--wald-700); outline-offset: -1px; }
.suche button { height: 46px; padding: 0 18px; border: 0; background: var(--wald-800); color: #fff; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font: 600 14px var(--schrift); }
.kopf__aktionen { display: flex; gap: 6px; margin-left: auto; }
.kopf__aktion { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; text-decoration: none; color: var(--anthrazit); font-size: 12px; font-weight: 500; position: relative; border-radius: var(--radius); }
.kopf__aktion:hover { background: var(--flaeche); color: var(--anthrazit); }
.kopf__aktion svg { width: 24px; height: 24px; }
.kopf__zahl { position: absolute; top: 0; right: 4px; background: var(--glut-600); color: #fff; font-size: 11px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }

.navi { background: var(--wald-800); border-bottom: 3px solid var(--glut-600); }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.navi a { display: block; padding: 14px 18px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.navi a:hover, .navi .current-menu-item > a, .navi .current-product_cat-ancestor > a { background: var(--wald-900); color: #fff; }
.navi li:first-child a { padding-left: 0; }
.navi li:first-child a:hover { padding-left: 18px; }
.navi .menue-oefen > a { color: #ffd2b5; }
.menue-knopf { display: none; }

/* ---------- Startseite ---------- */
.held { position: relative; color: #fff; background: var(--wald-950); overflow: hidden; }
.held__bild { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .45; }
.held::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,22,.95) 0%, rgba(18,20,22,.78) 45%, rgba(18,20,22,.2) 100%); }
.held .huelle { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 104px; }
.held__inhalt { max-width: 620px; }
.held__kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ffd2b5; border-left: 3px solid var(--glut-500); padding-left: 12px; margin-bottom: 22px; }
.held h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.held p { font-size: 18px; color: #e4dfd8; max-width: 540px; }
.held__knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.vorteile { background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.vorteile ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vorteile li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.vorteile strong { display: block; color: var(--anthrazit); font-size: 15px; margin-bottom: 2px; }
.vorteile svg { flex-shrink: 0; width: 34px; height: 34px; color: var(--wald-700); }

.abschnitt { padding: 72px 0; }
.abschnitt--grau { background: var(--flaeche); }
.abschnitt__kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.abschnitt__kopf h2 { margin: 0; }
.abschnitt__kopf p { margin: 6px 0 0; color: var(--text-2); }
.abschnitt__mehr { font-weight: 600; text-decoration: none; white-space: nowrap; }
.abschnitt__mehr::after { content: " →"; }

.kategorien { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.kategorie { position: relative; display: block; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.kategorie:hover { border-color: var(--wald-700); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.kategorie__bild { aspect-ratio: 1 / 1; background: var(--flaeche); }
.kategorie__bild img { width: 100%; height: 100%; object-fit: cover; }
.kategorie__text { padding: 14px 16px 16px; }
.kategorie__text strong { display: block; font-family: var(--titel); font-size: 17px; color: var(--anthrazit); }
.kategorie__text span { font-size: 13px; color: var(--text-2); }

.oefen { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ofen-karte { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.ofen-karte__bild { background: #eef0ee; }
.ofen-karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.ofen-karte__text { padding: 30px; display: flex; flex-direction: column; }
.ofen-karte__text ul { padding-left: 18px; margin: 0 0 22px; color: var(--text-2); font-size: 15px; }
.ofen-karte__text .knopf { margin-top: auto; align-self: flex-start; }

.ratgeber { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ratgeber article { border-top: 3px solid var(--wald-700); padding-top: 18px; }
.ratgeber .zahl { font-family: var(--titel); font-size: 34px; font-weight: 800; color: var(--glut-600); line-height: 1; margin-bottom: 10px; }
.ratgeber p { color: var(--text-2); font-size: 15px; }

.ueber { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.firmendaten { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px 28px; font-size: 15px; }
.firmendaten dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.firmendaten dt { color: var(--text-2); }
.firmendaten dd { margin: 0; font-weight: 500; }

/* ---------- Inhalt / Seiten ---------- */
.inhalt { padding: 40px 0 72px; }
.inhalt--seite .huelle { max-width: 900px; }
.inhalt--seite h2 { font-size: 1.4rem; margin-top: 1.6em; }
.inhalt--seite h3 { margin-top: 1.4em; }
.seitentitel { margin-bottom: 28px; }
.ergaenzen { background: #fff3cd; padding: 0 4px; border-radius: 2px; }

/* ---------- Kontaktformular ---------- */
.kontaktformular { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; margin: 8px 0 36px; scroll-margin-top: 140px; }
.kontaktformular label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; color: var(--anthrazit); }
.kontaktformular label span { color: var(--glut-600); }
.kontaktformular input[type=text], .kontaktformular input[type=email], .kontaktformular input[type=tel], .kontaktformular select, .kontaktformular textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid #c9cfd4; border-radius: var(--radius); background: #fff; }
.kontaktformular :focus-visible { outline: 2px solid var(--wald-700); outline-offset: 1px; }
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.kontakt-check label { font-weight: 400; font-size: 14px; color: var(--text-2); display: flex; gap: 10px; align-items: flex-start; }
.kontakt-check input { margin-top: 4px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--wald-700); }
.kontakt-pflicht { color: var(--text-2); margin-left: 12px; }
.kontakt-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-meldung { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; border-left: 4px solid; }
.kontakt-meldung--erfolg { background: var(--wald-100); border-color: var(--ok); color: var(--wald-900); }
.kontakt-meldung--fehler { background: #fdecea; border-color: #b3261e; color: #7a1a14; }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } .kontaktformular { padding: 20px 16px; } }

/* ---------- WooCommerce ---------- */
.woocommerce-breadcrumb { font-size: 13px; color: var(--text-2); margin-bottom: 22px; }
.woocommerce-breadcrumb a { color: var(--text-2); }
.woocommerce-products-header__title { margin-bottom: 8px; }
.term-description { color: var(--text-2); max-width: 760px; }
.woocommerce-result-count { color: var(--text-2); font-size: 14px; margin: 8px 0 20px; float: left; }
.woocommerce-ordering { float: right; margin-bottom: 20px; }
.woocommerce-ordering select, .woocommerce select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce-input-wrapper input, .woocommerce-input-wrapper select {
  font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #c9cfd4; border-radius: var(--radius); background: #fff; width: 100%; }
.woocommerce-ordering select { width: auto; }

ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; clear: both; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { margin: 0 !important; width: auto !important; float: none !important; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); display: flex; flex-direction: column; position: relative; transition: border-color .15s, box-shadow .15s; }
ul.products li.product:hover { border-color: #b9c3bc; box-shadow: 0 6px 22px rgba(0,0,0,.07); }
ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
ul.products li.product img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--flaeche); border-bottom: 1px solid var(--linie); margin: 0 !important; border-radius: var(--radius) var(--radius) 0 0; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--schrift); font-size: 15px; font-weight: 600; line-height: 1.35; padding: 14px 16px 6px !important; margin: 0; color: var(--anthrazit); }
ul.products li.product .price { padding: 0 16px; margin: auto 0 0 !important; font-size: 19px; font-weight: 700; color: var(--anthrazit) !important; display: block; }
ul.products li.product .price del { font-size: 14px; font-weight: 400; color: var(--text-2); opacity: 1; margin-right: 6px; }
ul.products li.product .price ins { text-decoration: none; color: var(--glut-600); }
.preis-hinweis { display: block; font-size: 12px; color: var(--text-2); font-weight: 400; padding: 2px 16px 0; }
.preis-hinweis a { color: var(--text-2); }
.grundpreis { display: block; font-size: 12.5px; color: var(--text); padding: 4px 16px 0; }
.single-product .summary .grundpreis { padding-left: 0; font-size: 14px; margin-top: 4px; }
.auf-anfrage { font-size: 17px; font-weight: 700; color: var(--wald-700); }
.energielabel { display: flex; align-items: center; gap: 10px; padding: 8px 16px 0; font-size: 12.5px; }
.single-product .summary .energielabel { padding: 10px 0 0; font-size: 14px; }
.energielabel a { text-decoration: none; }
.energielabel .datenblatt { text-decoration: underline; color: var(--text-2); }
.energiepfeil { position: relative; display: inline-flex; align-items: center; height: 24px; padding: 0 6px 0 9px; margin-right: 12px;
  background: var(--farbe); color: #fff; font: 800 14px/1 Arial, sans-serif; text-shadow: 0 0 2px rgba(0,0,0,.6); border-radius: 2px 0 0 2px; }
.energiepfeil::after { content: ""; position: absolute; right: -12px; top: 0; border-style: solid; border-width: 12px 0 12px 12px; border-color: transparent transparent transparent var(--farbe); }
.lieferzeit { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ok); font-weight: 500; padding: 6px 16px 0; }
.lieferzeit::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
ul.products li.product .button { margin: 14px 16px 16px; font-size: 14px; padding: 12px 14px; }
ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; margin: -8px 16px 12px; }
.onsale, span.onsale, .woocommerce span.onsale, .woocommerce ul.products li.product .onsale { position: absolute; top: 12px; left: 12px; right: auto; z-index: 2; background: var(--glut-600); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 2px; min-height: 0; min-width: 0; line-height: 1.2; margin: 0 !important; }

.single-product div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; position: relative; }
.single-product div.product .woocommerce-product-gallery { width: auto !important; float: none !important; position: relative; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.single-product div.product .woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 3; }
.single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .product_title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.single-product div.product p.price { font-size: 30px; font-weight: 800; color: var(--anthrazit); margin: 0; }
.single-product div.product p.price del { font-size: 18px; font-weight: 400; color: var(--text-2); }
.single-product div.product p.price ins { text-decoration: none; color: var(--glut-600); }
.single-product .summary .preis-hinweis, .single-product .summary .lieferzeit { padding-left: 0; font-size: 13.5px; }
.single-product .summary .lieferzeit { margin-bottom: 18px; }
.woocommerce-product-details__short-description { color: var(--text-2); margin: 18px 0; padding: 18px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.woocommerce-product-details__short-description ul { margin: 0; padding-left: 20px; }
form.cart { display: flex; gap: 10px; margin: 22px 0; flex-wrap: wrap; }
form.cart .quantity input { width: 80px; height: 50px; text-align: center; font: inherit; font-size: 16px; border: 1px solid #c9cfd4; border-radius: var(--radius); }
form.cart .single_add_to_cart_button { height: 50px; padding: 0 30px; font-size: 16px; flex: 1; max-width: 340px; }
.kauf-vorteile { list-style: none; padding: 16px 18px; margin: 0 0 18px; background: var(--flaeche); border-radius: var(--radius); font-size: 14px; display: grid; gap: 6px; }
.kauf-vorteile li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.product_meta { font-size: 13px; color: var(--text-2); display: grid; gap: 4px; }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 24px; }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; border-bottom: 2px solid var(--linie); }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px; text-decoration: none; font-weight: 600; color: var(--text-2); margin-bottom: -2px; border-bottom: 2px solid transparent; }
.woocommerce-tabs ul.tabs li.active a { color: var(--anthrazit); border-bottom-color: var(--glut-600); }
.woocommerce-tabs .panel { padding: 26px 0; max-width: 860px; }
.woocommerce-tabs .panel > h2:first-child { display: none; }
table.shop_attributes, .woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.shop_attributes th, table.shop_attributes td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.shop_attributes th { width: 40%; background: var(--flaeche); font-weight: 600; }
table.shop_attributes td p { margin: 0; }
.related, .upsells { grid-column: 1 / -1; margin-top: 30px; }
.related > h2, .upsells > h2 { font-size: 1.5rem; }

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; padding: 14px 18px; margin: 0 0 24px; border-left: 4px solid var(--wald-700); background: var(--wald-100); border-radius: var(--radius); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.woocommerce-error { border-left-color: #b3261e; background: #fdecea; }
.woocommerce-message .button, .woocommerce-info .button { padding: 10px 16px; font-size: 14px; order: 2; }

/* Kasse & Konto: zweispaltig */
.woocommerce .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { width: auto; float: none; }
form.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 48px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; grid-template-columns: 1fr; gap: 24px; }
form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
#order_review { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; }
.woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide { clear: both; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; }
#payment .payment_box { font-size: 14px; color: var(--text-2); background: #fff; padding: 12px 14px; border-radius: var(--radius); margin-top: 8px; }
#place_order { width: 100%; height: 54px; font-size: 17px; margin-top: 10px; }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 30px; }
.cart_totals { width: 100%; max-width: 440px; }
.woocommerce table.shop_table img { width: 70px; }
@media (max-width: 860px) {
  form.checkout, .woocommerce .col2-set { grid-template-columns: 1fr; }
  form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; }
}

.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px; border-bottom: 1px solid var(--linie); text-align: left; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; justify-content: center; margin-top: 36px; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; }
.woocommerce-pagination .current { background: var(--wald-800); color: #fff; border-color: var(--wald-800); }

.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.seitenleiste h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 12px; }
.seitenleiste ul { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--linie); }
.seitenleiste li a { display: flex; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--text); font-size: 15px; }
.seitenleiste li a:hover, .seitenleiste li.aktiv a { color: var(--glut-600); }
.seitenleiste li span { color: var(--text-2); font-size: 13px; }
.seitenleiste .infobox { background: var(--wald-900); color: #dbe5de; padding: 22px; border-radius: var(--radius); font-size: 14px; }
.seitenleiste .infobox strong { color: #fff; display: block; font-size: 16px; margin-bottom: 6px; font-family: var(--titel); }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--anthrazit); color: #b9c0c6; font-size: 14.5px; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.fuss h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-family: var(--schrift); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { color: #b9c0c6; text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss address { font-style: normal; line-height: 1.7; }
.fuss__zahlung { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.fuss__zahlung span { border: 1px solid #3c4248; border-radius: 3px; padding: 5px 10px; font-size: 12px; color: #d6dbdf; }
.fuss__unten { border-top: 1px solid #33383d; padding: 20px 0; font-size: 13px; }
.fuss__unten .huelle { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Mobile Leiste unten ---------- */
.mobil-leiste { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobil-leiste { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobil-leiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px;
    font-size: 11px; font-weight: 600; color: var(--text-2); text-decoration: none; }
  .mobil-leiste a.aktiv { color: var(--wald-800); box-shadow: inset 0 3px 0 var(--glut-600); }
  .mobil-leiste svg { width: 24px; height: 24px; }
  .mobil-leiste__korb { position: relative; display: block; }
  .mobil-leiste .kopf__zahl { top: -6px; right: -12px; }
  /* Konto & Warenkorb stehen jetzt unten – oben nur noch das Menü */
  .kopf__aktion:not(.menue-knopf) { display: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kategorien { grid-template-columns: repeat(3, 1fr); }
  .vorteile ul { grid-template-columns: repeat(2, 1fr); }
  .oefen, .ofen-karte { grid-template-columns: 1fr; }
  .ofen-karte__bild { aspect-ratio: 16 / 9; }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .huelle { padding: 0 16px; }
  .topbar ul li:nth-child(n+2), .topbar .huelle > a { display: none; }
  .topbar .huelle { justify-content: center; min-height: 32px; }
  .kopf__zeile { flex-wrap: wrap; gap: 12px; padding: 12px 16px; min-height: 0; }
  .suche { order: 3; max-width: none; flex-basis: 100%; }
  .kopf__aktion span:not(.kopf__zahl) { display: none; }
  .menue-knopf { display: flex; }
  .navi { display: none; }
  .navi.offen { display: block; }
  .navi ul { flex-direction: column; }
  .navi li:first-child a, .navi li:first-child a:hover, .navi a { padding: 13px 16px; border-top: 1px solid var(--wald-700); }
  ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  ul.products li.product .woocommerce-loop-product__title { font-size: 14px; padding: 10px 10px 4px !important; }
  ul.products li.product .price, .preis-hinweis, .lieferzeit { padding-left: 10px; padding-right: 10px; }
  ul.products li.product .button { margin: 10px; font-size: 13px; }
  .kategorien { grid-template-columns: repeat(2, 1fr); }
  .ratgeber, .ueber, .single-product div.product, .shop-layout { grid-template-columns: 1fr; gap: 28px; }
  .seitenleiste { order: 2; }
  .held .huelle { padding-top: 64px; padding-bottom: 72px; }
  .abschnitt { padding: 52px 0; }
  .vorteile ul { grid-template-columns: 1fr; gap: 14px; }
  .fuss__raster { grid-template-columns: 1fr; gap: 28px; }
  .woocommerce-tabs ul.tabs { overflow-x: auto; }
  .woocommerce-tabs ul.tabs li a { white-space: nowrap; padding: 12px 14px; }
}

/* ---------- Brenholzprofi: Gütesiegel-Leiste ---------- */
.siegel { background: #fff; border-bottom: 1px solid var(--linie); }
.siegel ul { list-style: none; margin: 0; padding: 18px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.siegel li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.siegel b { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 6px; border: 2px solid var(--anthrazit); border-radius: 50%; font: 800 12px/1 var(--titel); color: var(--anthrazit); }
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: schritt; }
.schritte article { position: relative; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); }
.schritte article::before { counter-increment: schritt; content: counter(schritt); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; background: var(--glut-600); color: #fff; font: 800 16px/1 var(--titel); border-radius: 50%; }
.schritte p { color: var(--text-2); font-size: 15px; margin: 0; }
.laengen { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.laengen a { padding: 9px 14px; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; border-radius: var(--radius); }
.laengen a:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 1100px) { .schritte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr; } .siegel ul { justify-content: flex-start; } .siegel li { flex-basis: calc(50% - 9px); } }.seitenleiste li.unter a { padding-left: 16px; font-size: 14px; }

.kategorien--3 { grid-template-columns: repeat(3, 1fr); }
.kategorien--3 .kategorie__bild { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .kategorien--3 { grid-template-columns: 1fr; } }

.kategorien--4 { grid-template-columns: repeat(4, 1fr); }
.kategorien--4 .kategorie__bild { aspect-ratio: 1 / 1; }
@media (max-width: 1100px) { .kategorien--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Fußbereich als Akkordeon ---------- */
.fuss__akkordeon > summary { list-style: none; cursor: default; }
.fuss__akkordeon > summary::-webkit-details-marker { display: none; }
.fuss__akkordeon > summary h3 { display: inline; }
@media (max-width: 860px) {
  .fuss__raster { gap: 0; }
  .fuss__raster > div:first-child { padding-bottom: 24px; }
  .fuss__akkordeon { border-top: 1px solid #33383d; }
  .fuss__akkordeon:last-of-type { border-bottom: 1px solid #33383d; }
  .fuss__akkordeon > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
  .fuss__akkordeon > summary h3 { margin: 0; }
  .fuss__akkordeon > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #b9c0c6; border-bottom: 2px solid #b9c0c6; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
  .fuss__akkordeon[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .fuss__akkordeon > ul { padding-bottom: 18px; }
  .fuss__akkordeon > summary:focus-visible { outline: 2px solid #ffce00; outline-offset: 2px; }
}
/* ---------- Kontaktseite ---------- */
.kontaktseite__kopf { max-width: 760px; margin-bottom: 28px; }
.kontaktseite__kopf p { color: var(--text-2); font-size: 17px; }
.kontaktseite__raster { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.kontaktseite__formular h2, .kontaktkarte h2 { font-size: 1.3rem; margin-bottom: 14px; }
.kontaktseite__formular .kontaktformular { margin: 0; }
.kontaktkarte { position: sticky; top: calc(var(--kopf-hoehe, 140px) + 20px); max-height: calc(100vh - var(--kopf-hoehe, 140px) - 40px); overflow-y: auto; overscroll-behavior: contain; background: var(--wald-900); color: #e4dfd8; border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--glut-600); }
.kontaktkarte h2, .kontaktkarte h3 { color: #fff; }
.kontaktkarte h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 24px 0 10px; font-family: var(--schrift); }
.kontaktkarte a { color: #fff; }
.kontaktkarte__wege { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kontaktkarte__wege li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; }
.kontaktkarte__wege svg { flex-shrink: 0; width: 22px; height: 22px; color: #ffce00; margin-top: 2px; }
.kontaktkarte__wege small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #9aa3ab; }
.kontaktkarte .ergaenzen { color: var(--anthrazit); }
.kontaktkarte__hinweis { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #33383d; font-size: 14px; color: #b9c0c6; }
.kontaktkarte__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.kontaktkarte__links a { text-decoration: none; }
.kontaktkarte__links a::before { content: "› "; color: #ffce00; }
.kontaktkarte__links a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .kontaktseite__raster { grid-template-columns: 1fr; gap: 28px; }
  .kontaktkarte { position: static; order: -1; padding: 22px 18px; max-height: none; overflow: visible; }
}
/* Fester Kopf: nicht unter die WordPress-Adminleiste rutschen */
.admin-bar .kopf { top: 32px; }
@media (max-width: 782px) { .admin-bar .kopf { top: 46px; } }
@media (max-width: 600px) { .admin-bar .kopf { top: 0; } }
.kontaktkarte__wege { gap: 12px; }
.kontakt-check label span span { color: var(--glut-600); }
.kontakt-check label > span { color: var(--text-2); }
