/* Holz Adrian 2027 – Rahmen: Hinweiszeile, Kopfzeile, Kategorieleiste mit Mega-Menü, Streifen „Preise sehen“, Fuß.
   Übertragen aus dem Entwurf (holz-adrian-viral/style.css und konto.css). Alles steht unter .ha27, damit sich die Regeln nicht mit dem
   Tailwind-CSS des bisherigen Themes beißen; die Inhalte der Seiten (ACF-Bausteine, WooCommerce) bleiben so, wie sie sind. */

/* Farben und Schriften auch für Inhaltsseiten des Eltern-Themes (Körperklasse ha27-seite, inc/inhalt.php) */
.ha27,
body.ha27-seite {
  --forest: #0a2319;
  --forest-2: #102d22;
  --forest-3: #193d2f;
  --night: #071912;
  --sawdust: #f1ebdf;
  --sawdust-2: #e6dccb;
  --card: #fbf8f2;
  --pine: #e2bf8c;
  --oak: #b0814f;
  --walnut: #7a5432;
  --bark: #4a3423;
  --green: #006046;
  --green-light: #49ae53;
  --spray: #49ae53;
  --spray-2: #6fc177;
  --spray-dark: #006046;
  --warn: #a3321f;
  --warn-hell: #f08f78;
  --rule: #f1cc79;
  --ink: #0a2319;
  --line: rgba(241, 235, 223, 0.14);
  --line-d: rgba(10, 35, 25, 0.16);
  --display: "Archivo", "Arial Narrow", Impact, sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 1480px;
}
.ha27 {
  color: var(--sawdust);
  font-family: var(--display);
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:root { --ha27-ab: 0px; --ha27-head: 72px; --ha27-stick: 122px; }

/* Das bisherige Theme setzt overflow-x: hidden auf html und body; damit klebt nichts. clip schneidet genauso ab, ohne den Scrollbereich zu verlegen. */
html, body, body.woocommerce-account { overflow-x: clip; }
html { scroll-padding-top: calc(var(--ha27-ab) + var(--ha27-stick) + 12px); }
/* Steht der Fokus in der klebenden Kopfzeile (Suche, Menüs), hält Chrome das Feld wegen des Abstands oben für verdeckt und scrollt bei jedem Buchstaben hoch (Dominik 04.11.2026). */
html:has(.ha27-header :focus) { scroll-padding-top: 0; }

.ha27 *, .ha27 *::before, .ha27 *::after { box-sizing: border-box; }
.ha27 img, .ha27 svg, .ha27 canvas { display: block; max-width: 100%; }
.ha27 a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s, background .2s; }
.ha27 button, .ha27 input { font: inherit; color: inherit; }
.ha27 h2, .ha27 h3, .ha27 p { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.ha27 ul { list-style: none; margin: 0; padding: 0; }
.ha27 ::selection { background: var(--spray); color: var(--forest); }
.ha27 :focus-visible { outline: 2px solid var(--spray); outline-offset: 3px; }
.ha27 .container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ha27 .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ha27 .tag { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.ha27 .mono { font-family: var(--mono); }

/* Skip-Link: erst bei Tastaturfokus sichtbar; rahmen.js gibt <main> die id */
.ha27-skip { position: absolute; left: .75rem; top: .75rem; z-index: 300; padding: .7rem 1rem; background: #f1ebdf; color: #0a2319; font: 700 13px "Space Mono", monospace; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; transform: translateY(-250%); }
.ha27-skip:focus { transform: none; }
main:focus { outline: none; }

/* Knopf (Mega-Menü „Alles ansehen“) */
.ha27 .btn { position: relative; display: inline-flex; align-items: center; gap: .7rem; height: 58px; padding: 0 2.2rem 0 1.6rem; border: 0; cursor: pointer; white-space: nowrap;
  font-weight: 800; font-stretch: 85%; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; background: var(--spray); color: var(--forest);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); transition: background .25s, transform .25s var(--ease); }
.ha27 .btn:hover { background: var(--spray-2); transform: translateX(4px); }

/* ---------- Privatkunden-Leiste (ganz oben, führt auf restposten.holz-adrian.de) ---------- */
.ha27-privat { display: block; background: var(--spray); color: var(--forest); text-decoration: none; font-size: 13px; line-height: 1.2; letter-spacing: .02em; }
.ha27-privat .container { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 26px; }
.ha27-privat b { font-weight: 800; }
.ha27-privat .privat__pfeil { font-weight: 800; transition: transform .25s var(--ease); }
.ha27-privat:hover { background: var(--spray-2); }
.ha27-privat:hover .privat__pfeil { transform: translateX(4px); }
.ha27-privat:focus-visible { outline: 3px solid var(--forest); outline-offset: -3px; }
@media (max-width: 860px) { .ha27-privat .container { min-height: 32px; } }

/* ---------- Hinweiszeile ---------- */
.ha27-topbar { background: var(--night); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: rgba(241,235,223,.72); }
.ha27-topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 34px; }
.ha27-topbar b { color: var(--sawdust); font-weight: 700; }
.ha27-topbar a { color: var(--spray); }
.ha27-topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 561px) { .ha27-topbar .container > * { white-space: nowrap; } }
@media (max-width: 1200px) { .ha27-topbar .topbar__mid { display: none; } }
.ha27-topbar .topbar__made { text-transform: lowercase; letter-spacing: .06em; }
.ha27-topbar .topbar__herz { color: #e3262f; font-size: 1.5em; line-height: 0; vertical-align: -.12em; margin: 0 .12em; }
@media (max-width: 1200px) { .ha27-topbar .topbar__spur { display: none; } }
@media (max-width: 1200px) and (min-width: 861px) { .ha27-topbar .topbar__made { display: inline; } }
@media (max-width: 560px) { .ha27-topbar a { display: none !important; } }

/* ---------- Kopfzeile ---------- */
.ha27-header { position: sticky; top: var(--ha27-ab); z-index: 85; background: var(--forest); border-bottom: 1px solid var(--line); }
.ha27 .header__row { display: flex; align-items: center; gap: clamp(.75rem, 1.8vw, 2rem); height: 72px; }
.ha27 .header__logo { flex: none; }
.ha27 .header__logo img { height: 30px; width: auto; }

.ha27 .search { position: relative; display: flex; align-items: center; gap: .6rem; }
.ha27 .search input { flex: 1; min-width: 0; height: 100%; padding: 0; background: none; border: 0; outline: none; box-shadow: none; font-family: var(--mono); font-size: 13.5px; color: var(--sawdust); }
.ha27 .search input::placeholder { color: rgba(241,235,223,.6); opacity: 1; }
.ha27 .search input::-webkit-search-cancel-button { filter: invert(1); }
.ha27 .search__icon { width: 19px; height: 19px; flex: none; opacity: .7; }
.ha27 .search--top { flex: 1; min-width: 0; max-width: 860px; height: 46px; margin: 0; padding: 0 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: rgba(241,235,223,.04); transition: border-color .2s; }
.ha27 .search--top:focus-within { border-color: var(--spray); }

.ha27 .tools { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.ha27 .tool { position: relative; display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 .65rem; border-radius: 999px; }
.ha27 .tool:hover { color: var(--spray); }
.ha27 .tool svg { width: 22px; height: 22px; fill: none; }
.ha27 .count { position: absolute; top: 3px; right: -1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: rgba(241,235,223,.85); color: var(--forest); font: 700 13px/18px var(--mono); text-align: center; opacity: .4; }
.ha27 .count.is-on { background: var(--spray); opacity: 1; }
/* Zuschnitt: nur Kachel neben dem Herz wie Merkliste/Warenkorb (Dominik 05.11.2026: „Suchfeld größer“) */
/* Handy: Zuschnitt-Kachel nur mit Inhalt (kein „Lineal mit 0“) */
@media (max-width: 640px) { .ha27 .tool--zs:not(:has(.count.is-on)) { display: none; } }

/* Konto: Gast = Login als Textlink + „Konto beantragen“ in Papierweiß (der Konfiguratoren-Reiter bleibt der einzige Kupferknopf), angemeldet = Menü „Mein Konto“ */
.ha27 .acct { display: flex; align-items: center; gap: .35rem; flex: none; }
.ha27 .acct__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .55rem; font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; font-size: 13.5px; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.ha27 .acct__login:hover { text-decoration-color: currentColor; }
.ha27 .acct__join { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--sawdust); color: var(--forest); font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; font-size: 13.5px; white-space: nowrap; }
.ha27 .acct__join:hover { background: #fff; }
.ha27 .acct__menu { position: relative; }
.ha27 .acct__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .95rem; border: 1.5px solid var(--sawdust); border-radius: 999px; background: transparent; color: var(--sawdust); cursor: pointer; font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s; }
.ha27 .acct__btn:hover, .ha27 .acct__btn[aria-expanded="true"] { background: var(--sawdust); color: var(--forest); }
.ha27 .acct__btn svg { width: 20px; height: 20px; flex: none; }
.ha27 .acct__caret { width: 13px !important; height: 13px !important; transition: transform .25s var(--ease); }
.ha27 .acct__btn[aria-expanded="true"] .acct__caret { transform: rotate(180deg); }
.ha27 .acct__panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 90; width: min(260px, 92vw); padding: .5rem; background: var(--forest-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 40px 60px -28px rgba(0,0,0,.8); animation: ha27-auf .22s var(--ease); }
.ha27 .acct__panel[hidden] { display: none; }
.ha27 .acct__panel ul { display: grid; gap: .1rem; }
.ha27 .acct__panel a { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 .8rem; border-radius: 8px; color: var(--sawdust); font-weight: 700; font-size: 15px; }
.ha27 .acct__panel a:hover, .ha27 .acct__panel a:focus-visible { background: rgba(241,235,223,.08); }
.ha27 .acct__panel li:last-child { margin-top: .25rem; padding-top: .25rem; border-top: 1px solid var(--line); }
.ha27 .acct__panel .acct__out { color: var(--pine); font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* Konfiguratoren: auffälliger Reiter rechts neben dem Login */
.ha27 .konf { position: relative; flex: none; }
.ha27 .konf__btn { display: inline-flex; align-items: center; gap: .55rem; height: 46px; padding: 0 1rem 0 .95rem; border: 0; border-radius: 999px; background: var(--spray); color: var(--forest); cursor: pointer; font-family: var(--display); font-weight: 900; font-stretch: 82%; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(73,174,83,.9); transition: background .2s, transform .25s var(--ease), box-shadow .2s; }
.ha27 .konf__btn:hover { background: var(--spray-2); transform: translateY(-1px); }
.ha27 .konf__btn svg { width: 21px; height: 21px; flex: none; }
.ha27 .konf__caret { width: 13px !important; height: 13px !important; transition: transform .25s var(--ease); }
.ha27 .konf__btn[aria-expanded="true"] { background: var(--sawdust); box-shadow: none; }
.ha27 .konf__btn[aria-expanded="true"] .konf__caret { transform: rotate(180deg); }
.ha27 .konf__menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 90; width: min(460px, 92vw); padding: .75rem; background: var(--forest-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 40px 60px -28px rgba(0,0,0,.8); animation: ha27-auf .22s var(--ease);
  max-height: calc(100vh - var(--ha27-head) - 16px); max-height: calc(100dvh - var(--ha27-head) - 16px); overflow-y: auto; overscroll-behavior: contain; }
.ha27 .konf__menu[hidden] { display: none; }
@keyframes ha27-auf { from { opacity: 0; transform: translateY(-8px); } }
.ha27 .konf__head { margin: .15rem .5rem .5rem; opacity: .6; }
.ha27 .konf__menu ul { display: grid; gap: .1rem; }
.ha27 .konf__item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .6rem; border-radius: 8px; }
.ha27 .konf__item:hover, .ha27 .konf__item:focus-visible { background: rgba(241,235,223,.08); }
.ha27 .konf__item[aria-current="page"] { background: rgba(73,174,83,.14); }
.ha27 .konf__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: rgba(73,174,83,.16); color: var(--spray); }
.ha27 .konf__ic svg { width: 24px; height: 24px; }
.ha27 .konf__t b { display: block; font-weight: 800; font-stretch: 88%; font-size: 15.5px; line-height: 1.2; }
.ha27 .konf__t small { display: block; margin-top: .15rem; font: 13px/1.35 var(--mono); opacity: .66; }
.ha27 .konf__go { width: 18px; height: 18px; color: var(--spray); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .25s var(--ease); }
.ha27 .konf__item:hover .konf__go, .ha27 .konf__item:focus-visible .konf__go { opacity: 1; transform: none; }
.ha27 .konf__alle { display: block; margin: .5rem .5rem .2rem; padding-top: .65rem; border-top: 1px solid var(--line); font: 700 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--spray); }
.ha27 .konf__alle:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .ha27 .konf__btn { padding: 0 .85rem 0 .8rem; font-size: 13.5px; gap: .45rem; } .ha27 .konf__caret { display: none; } }

/* ---------- Kategorieleiste + Mega-Menü ---------- */
.ha27-catbar { position: sticky; top: calc(var(--ha27-ab) + var(--ha27-head)); z-index: 84; background: var(--forest-2); border-bottom: 1px solid var(--line); }
.ha27 .catbar__row { display: flex; align-items: stretch; height: 50px; }
.ha27 .cat { position: relative; display: flex; align-items: center; padding: 0 clamp(.6rem, 1.1vw, .8rem); font-weight: 800; font-stretch: 85%; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.ha27 .cat:first-child { padding-left: 0; }
.ha27 .cat::after { content: ""; position: absolute; left: clamp(.6rem, 1.1vw, .8rem); right: clamp(.6rem, 1.1vw, .8rem); bottom: -1px; height: 3px; background: var(--spray); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ha27 .cat:first-child::after { left: 0; }
.ha27 .cat:hover, .ha27 .cat.is-open { color: var(--spray); }
.ha27 .cat:hover::after, .ha27 .cat.is-open::after, .ha27 .cat[aria-current="page"]::after { transform: none; }
.ha27 .cat--sale { color: var(--spray); }
/* Zusatzlinks eng und direkt hinter „Sale %“ (Dominik 29.10.2026: „weniger Luft zwischen Sale und Ansprechpartner“) – so passen bei ≈ 1.500 px alle sechs */
.ha27 .cat--minor { padding: 0 .4rem; font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: .02em; opacity: .72; }
.ha27 .cat--minor::after { left: .4rem; right: .4rem; }
.ha27 .cat--minor:hover { opacity: 1; }
.ha27 .cat--minor.is-weg { display: none; }
/* Beratung in der Kategorieleiste neben Aktuelles, fett (Dominik 05.11.2026); der Knopf im Kopf bleibt nur am Handy */
.ha27 .cat--beratung { padding: 0 .4rem 0 .6rem; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--sawdust); }
.ha27 .cat--beratung::after { left: .6rem; right: .4rem; }
@media (min-width: 861px) { .ha27 .beratung { display: none !important; } }
.ha27 .catbar__fill { flex: 1 0 .6rem; }   /* Zusatzlinks ganz rechts, mindestens .6rem Abstand zu „Sale %“ (Dominik 29.10.2026) */
@media (max-width: 1180px) {
  .ha27 .cat { font-size: 13.5px; padding: 0 .55rem; }
  .ha27 .cat:first-child { padding-left: 0; }
  .ha27 .cat::after { left: .55rem; right: .55rem; }
  .ha27 .cat:first-child::after { left: 0; }
}
@media (max-width: 1020px) {
  .ha27 .catbar__row { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ha27 .catbar__row::-webkit-scrollbar { display: none; }
}

.ha27 .mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--forest-2); border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(0,0,0,.7); max-height: calc(100vh - var(--ha27-ab) - var(--ha27-stick) - 20px); overflow: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; }
.ha27 .mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
.ha27 .mega__panel[hidden] { display: none; }
.ha27 .mega__inner { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); padding-block: 2rem 2.5rem; }
.ha27 .mega__lead { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.ha27 .mega__lead canvas, .ha27 .mega__bild { width: 120px; height: 120px; border-radius: 50%; box-shadow: 0 0 0 7px var(--bark), 0 0 0 9px rgba(0,0,0,.35); margin: 7px 0 .8rem 7px; }
.ha27 .mega__bild { display: block; overflow: hidden; background: #fff; }
.ha27 .mega__bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ha27 .mega__lead .tag { color: var(--pine); }
.ha27 .mega__lead h3 { font-weight: 900; font-stretch: 70%; text-transform: uppercase; font-size: clamp(1.7rem, 1.1rem + 1vw, 2.2rem); line-height: .92; max-width: 100%; -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; }
.ha27 .mega__lead p { font-size: 13px; opacity: .65; }
.ha27 .mega__lead .btn { height: 48px; font-size: 15px; margin-top: .6rem; }
.ha27 .mega__cols { columns: 4 190px; column-gap: 2rem; }
.ha27 .mg { break-inside: avoid; margin-bottom: 1.1rem; }
/* feste Spalten je Bereich (ha27_mega_spalten(), Boden · Wand · Decke) */
.ha27 .mega__cols--fest { columns: auto; display: grid; grid-template-columns: repeat(var(--sp, 4), minmax(0, 1fr)); column-gap: 1.6rem; align-items: start; }
.ha27 .mg__h { display: inline-block; font-weight: 800; font-stretch: 90%; font-size: 16px; line-height: 1.25; }
.ha27 .mg__h:hover { color: var(--spray); }
.ha27 .mg__subs { display: flex; flex-wrap: wrap; gap: .1rem .7rem; margin-top: .25rem; }
.ha27 .mg__subs a { font-family: var(--mono); font-size: 13px; opacity: .62; }
.ha27 .mg__subs a:hover { opacity: 1; color: var(--spray); }

/* ---------- Streifen „Preise sehen“ (Gäste) ---------- */
.ha27-streifen { background: var(--forest-2); border-bottom: 1px solid var(--line); font: 13px/1.35 var(--mono); }
html[data-ha27-streifen="weg"] .ha27-streifen { display: none !important; }
.ha27 .k-streifen__row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; }
.ha27 .k-streifen__t { display: flex; flex-wrap: wrap; align-items: center; column-gap: .7rem; }
.ha27 .k-streifen__t b { color: var(--pine); font-weight: 700; letter-spacing: .02em; }
.ha27 .k-streifen__t a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--sawdust); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ha27 .k-streifen__t a:hover { color: var(--pine); text-decoration-thickness: 2px; }
.ha27 .k-streifen__x { flex: none; width: 44px; height: 44px; margin-right: -.55rem; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 4px; color: var(--sawdust); font: 400 24px/1 var(--mono); cursor: pointer; opacity: .8; }
.ha27 .k-streifen__x:hover { opacity: 1; background: rgba(241,235,223,.08); }
@media (max-width: 359px) { .ha27 .k-streifen__t span[aria-hidden] { display: none; } }

/* ---------- Fuß ---------- */
.ha27-footer { background: var(--forest); border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; font-size: 14.5px; }
.ha27 .footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 2rem; }
.ha27 .footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.ha27-footer h2 { margin-bottom: .5rem; color: var(--pine); }
.ha27-footer a { opacity: .85; }
.ha27-footer a:hover { color: var(--spray); opacity: 1; }
.ha27-footer p { opacity: .75; }
.ha27 .footer__brand img { height: 30px; width: auto; margin-bottom: .8rem; }
.ha27 .footer__brand p { max-width: 22rem; }
.ha27 .footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.ha27 .footer__legal a { opacity: .6; }
.ha27 .footer__copy { margin-left: auto; opacity: .5; }

/* ---------- Responsiv ---------- */
/* Ab 1500 px eine Zeile (Knopf nur „Beratung“, Dominik 25.10.2026; mit „Beratungstermin vereinbaren“ blieb vom Suchfeld nur ein
   Stummel). Darunter zwei Zeilen: oben Logo und Konto, darunter Suche, Warenkorb, Konfiguratoren und Beratung.
   Die obere Zeile fährt beim Scrollen weg, die Suchzeile klebt. */
@media (max-width: 1499px) {
  .ha27-header { top: calc(var(--ha27-ab) - 44px - .6rem); }
  .ha27 .header__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; height: auto; padding-block: .4rem .45rem; gap: .4rem .25rem; }
  .ha27 .header__logo { grid-area: 1 / 1; justify-self: start; }
  .ha27 .acct { grid-area: 1 / 1 / 2 / -1; justify-self: end; }
  .ha27 .search--top { grid-area: 2 / 1; max-width: none; height: 44px; }
  .ha27 .tools { grid-area: 2 / 2; margin-left: 0; }
  .ha27 .konf { grid-area: 2 / 3; }
}
@media (max-width: 900px) { .ha27 .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .ha27 .header__logo img { height: 26px; }
  .ha27 .tools { gap: 0; }
  .ha27 .tool { min-width: 44px; justify-content: center; padding: 0 .5rem; }
  .ha27 .acct__login { padding: 0 .5rem; font-size: 13px; }
  .ha27 .acct__join { padding: 0 .95rem; font-size: 13px; }
  .ha27 .konf { position: static; }
  .ha27 .konf__btn { height: 44px; padding: 0 .8rem 0 .75rem; gap: .4rem; font-size: 13px; }
  .ha27 .konf__btn svg { width: 18px; height: 18px; }
  .ha27 .konf__menu { left: var(--gutter); right: var(--gutter); top: 100%; width: auto; margin-top: .35rem; }
  .ha27-catbar { position: relative; top: auto; }
  .ha27 .catbar__row { height: 46px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ha27 .catbar__row::-webkit-scrollbar { display: none; }
  .ha27 .cat { font-size: 14px; }
  .ha27 .catbar__fill, .ha27 .cat--minor, .ha27 .cat--beratung { display: none; }
  /* Mega-Menü am Handy: ein Blatt direkt unter der Leiste (Tippen auf einen Reiter öffnet es), einspaltig, große Tippflächen */
  .ha27 .mega { max-height: calc(100vh - var(--ha27-head) - 70px); }
  .ha27 .mega__inner { grid-template-columns: minmax(0, 1fr); gap: .35rem; padding-block: .8rem 1.1rem; }
  .ha27 .mega__lead { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; }
  .ha27 .mega__lead canvas, .ha27 .mega__bild, .ha27 .mega__lead .tag, .ha27 .mega__lead p { display: none; }
  .ha27 .mega__lead h3 { flex: 1 1 auto; font-size: 1.45rem; margin: 0; }
  .ha27 .mega__lead .btn { height: 44px; margin-top: 0; }
  .ha27 .mega__cols { columns: 17rem; column-gap: 1.6rem; }
  .ha27 .mega__cols--fest { display: block; }
  .ha27 .mg { margin-bottom: .5rem; }
  .ha27 .mg__h { display: flex; align-items: center; min-height: 44px; font-size: 17px; }
  .ha27 .mg__subs { gap: 0 .35rem; }
  .ha27 .mg__subs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .55rem; opacity: .85; }
}
@media (max-width: 640px) {
  .ha27 .search--top { padding: 0 .85rem; gap: .5rem; }
  .ha27 .search input { font-size: 16px; }   /* kein Zoomen auf dem iPhone */
  .ha27 .search input::placeholder { font-size: 13px; }
  .ha27 .footer__grid { grid-template-columns: 1fr; }
  .ha27 .footer__copy { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .ha27 .header__logo img { height: 22px; }
  .ha27 .acct__login { padding: 0 .4rem; }
  .ha27 .acct__join { padding: 0 .75rem; }
}
@media (max-width: 480px) {
  .ha27 .konf__btn { width: 44px; padding: 0; justify-content: center; }   /* Reiter bleibt Kupfer, nur das Wort entfällt (steht als verstecktes Label im Knopf) */
  .ha27 .konf__btn > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 389px) {
  .ha27 .header__logo img { height: 20px; }
  .ha27 .acct__login { padding: 0 .3rem; font-size: 13px; }
  .ha27 .acct__join { padding: 0 .65rem; font-size: 13px; }
}
@media (max-width: 339px) {
  .ha27 .header__logo img { height: 16px; }
  .ha27 .acct { gap: 0; }
  .ha27 .acct__login { padding: 0 .2rem; }
  .ha27 .acct__join { padding: 0 .5rem; }
}
@media (max-width: 860px), (pointer: coarse) {
  .ha27-footer .footer__grid a, .ha27 .footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .ha27-footer .footer__grid > div { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ha27 *, .ha27 *::before, .ha27 *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print { .ha27-privat, .ha27-topbar, .ha27-catbar, .ha27-streifen, .ha27 .konf, .ha27 .acct, .ha27 .tools { display: none !important; } .ha27-header { position: static; } }

/* Handy/Touch: Logo als Tippziel mindestens 44 px hoch (Durchsicht 24.10.2026) */
@media (max-width: 860px), (pointer: coarse) {
  .ha27 .header__logo { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- Merkliste: Zähler im Kopf und Hinweis nach dem Merken (inc/schnell.php, assets/js/merkliste.js) ---------- */
/* Hinweis unten nach Merken (alle Seiten) */
.merk-toast { position: fixed; left: 50%; bottom: 1.2rem; z-index: 9999; transform: translate(-50%, 140%); margin: 0; padding: .7rem 1.1rem; border-radius: 6px; background: var(--ink, #0a2319); color: var(--sawdust, #f1ebdf);
  font: 700 13px var(--mono); box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); transition: transform .35s var(--ease, ease); pointer-events: none; }
.merk-toast.is-on { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .merk-toast { transition: none; } }

/* ---------- Vorschläge der Suche im Kopf (assets/js/suche.js, wie style.css im Entwurf: .suggest, .sg) ---------- */
.ha27 .suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 95; max-height: min(70vh, 560px); overflow: auto; padding: .5rem; border-radius: 8px; background: var(--sawdust); color: var(--ink); text-align: left; box-shadow: 0 30px 60px -20px rgba(0,0,0,.65); }
.ha27 .suggest[hidden] { display: none; }
.ha27 .sg-group + .sg-group { margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--line-d); }
.ha27 .sg-group > .tag { display: block; padding: .5rem .7rem .25rem; color: var(--walnut); opacity: .9; }
.ha27 .sg { display: flex; align-items: center; gap: .9rem; min-height: 44px; padding: .55rem .7rem; border-radius: 5px; color: var(--ink); }
.ha27 .sg b { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; }
.ha27 .sg small { display: block; font: 13px var(--mono); opacity: .75; }
.ha27 .sg--p b { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ha27 .sg img, .ha27 .sg__ph { width: 46px; height: 46px; flex: none; object-fit: cover; border-radius: 4px; background: var(--pine); }
.ha27 .sg:hover, .ha27 .sg.is-active { background: var(--forest); color: var(--sawdust); }
.ha27 .sg.is-active { box-shadow: inset 3px 0 0 var(--spray); }
.ha27 .sg--stapel { flex-direction: column; align-items: flex-start; justify-content: center; gap: .15rem; }
.ha27 .sg--hint b { text-decoration: underline; text-underline-offset: 3px; }
.ha27 .sg--all { margin-top: .4rem; border-top: 1px solid var(--line-d); border-radius: 0 0 5px 5px; }
.ha27 .sg--all b { font: 700 13px var(--mono); }
.ha27 .sg-notes { margin-bottom: .35rem; border-bottom: 1px solid var(--line-d); }
.ha27 .sg-note { margin: 0; padding: .45rem .7rem .2rem; font: 13px/1.45 var(--mono); opacity: .85; }
.ha27 .sg-empty, .ha27 .sg-foot { margin: 0; padding: .7rem; font: 13px var(--mono); opacity: .75; }
.ha27 .sg-foot { font-size: 13px; margin-top: .4rem; border-top: 1px solid var(--line-d); }
@media (max-width: 860px) { .ha27 .suggest { position: fixed; left: 0; right: 0; top: var(--ha27-head, 120px); max-height: calc(100dvh - var(--ha27-head, 120px) - 16px); border-radius: 0 0 12px 12px; } }
/* Beratungstermin neben den Konfiguratoren (Dominik 25.10.2026): heller Umriss, damit Konfiguratoren der einzige Kupferknopf bleibt */
.ha27 .beratung { flex: none; display: inline-flex; align-items: center; gap: .5rem; height: 46px; padding: 0 1rem 0 .9rem; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(241,235,223,.55); color: var(--sawdust); font-family: var(--display); font-weight: 900; font-stretch: 82%; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; white-space: nowrap; transition: box-shadow .2s, background .2s, color .2s; }
.ha27 .beratung:hover { background: var(--sawdust); color: var(--forest); box-shadow: inset 0 0 0 2px var(--sawdust); }
.ha27 .beratung svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 1499px) {
  .ha27 .header__row { grid-template-columns: minmax(0, 1fr) auto auto auto; }
  .ha27 .beratung { grid-area: 2 / 4; height: 44px; }
}
/* schmal: nur das Symbol, das Wort bleibt als verstecktes Label */
@media (max-width: 1000px) {
  .ha27 .beratung { width: 44px; padding: 0; justify-content: center; }
  .ha27 .beratung > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .ha27 .beratung { display: none !important; } }
/* eine Zeile ab 1500 px: engere Abstände und kompaktere Knöpfe, damit das Suchfeld Platz behält (Gast mit „Login“ + „Konto beantragen“) */
@media (min-width: 1500px) {
  .ha27 .header__row { gap: 14px; }
  .ha27 .tools { gap: .15rem; }
  .ha27 .konf__btn { padding: 0 .8rem 0 .75rem; gap: .45rem; }
  .ha27 .beratung { padding: 0 .85rem 0 .75rem; gap: .4rem; }
}

/* Kostenlose Muster (inc/muster.php): Hinweis unten rechts und Seite „Muster anfordern“ */
.ha27-muster-pille { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; background: var(--spray-dark, #006046); color: #fff; font: 700 14px/1 var(--display, sans-serif); text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0,40,25,.6); }
.ha27-muster-pille:hover { background: var(--forest, #0a2319); }
@media print { .ha27-muster-pille { display: none !important; } }
.ha27-muster { padding-block: 1.5rem 3rem; color: var(--ink); background: var(--sawdust); }
.ha27-muster .container { display: grid; gap: 1.2rem; max-width: 820px; }
.ha27-muster__h { margin: 0; font: 900 clamp(1.8rem, 1.2rem + 2vw, 2.6rem)/1 var(--display); font-stretch: 75%; text-transform: uppercase; }
.ha27-muster__lead { margin: 0; font-size: 16px; line-height: 1.5; }
.ha27-muster__liste, .ha27-muster__form { padding: 1rem 1.1rem; border: 1px solid var(--line-d); border-radius: 8px; background: #fff; display: grid; gap: .7rem; }
.ha27-muster h2 { margin: 0; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ha27-muster__liste ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.ha27-muster__liste li { display: flex; gap: .6rem 1rem; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line-d); }
.ha27-muster__liste li span { min-width: 0; overflow-wrap: anywhere; }
.ha27-muster__felder { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .7rem 1rem; }
.ha27-muster__felder label { display: grid; gap: .25rem; font-size: 13px; font-weight: 700; }
.ha27-muster__felder .breit { grid-column: 1 / -1; }
.ha27-muster__felder input, .ha27-muster__felder textarea { font: inherit; font-weight: 400; font-size: 16px; min-height: 44px; padding: .45rem .7rem; border: 1px solid var(--line-d); border-radius: 6px; background: #fff; color: var(--ink); }
.ha27-muster [aria-invalid] { border-color: var(--warn); }
.ha27-muster__web { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ha27-muster__ds { display: flex; gap: .6rem; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.ha27-muster__ds input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--forest); }
.ha27-muster__form .btn { justify-self: start; }
.ha27-muster__meld { margin: 0; font-size: 15px; }
.ha27-muster__meld.is-ok { color: var(--spray-dark); font-weight: 700; }
.ha27-muster__meld.is-fehler { color: var(--warn); }

/* WhatsApp-Chatfenster (inc/whatsapp.php) */
.ha27-wa { position: fixed; z-index: 61; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: #0a2319; }
.ha27-wa__knopf { display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: #25d366; color: #fff; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(0,60,30,.55); transition: transform .2s; margin-left: auto; }
.ha27-wa__knopf:hover { transform: scale(1.06); }
.ha27-wa__knopf:focus-visible { outline: 3px solid #0a2319; outline-offset: 3px; }
.ha27-wa__fenster { position: absolute; right: 0; bottom: 70px; width: min(360px, calc(100vw - 32px)); background: #fff; border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); overflow: hidden; }
.ha27-wa__kopf { display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start; padding: .9rem 1rem; background: #075e54; color: #fff; }
.ha27-wa__kopf p { margin: 0; display: grid; gap: .15rem; font-size: 15px; }
.ha27-wa__status { font-size: 13px; opacity: .85; }
.ha27-wa__status.is-offen::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; background: #25d366; }
.ha27-wa__zu { border: 0; background: none; color: #fff; font-size: 18px; cursor: pointer; min-width: 36px; min-height: 36px; }
.ha27-wa__inhalt { display: grid; gap: .6rem; padding: .9rem 1rem 1rem; background: #ece5dd; }
.ha27-wa__blase { margin: 0; padding: .6rem .75rem; background: #fff; border-radius: 0 10px 10px 10px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.ha27-wa__themen { display: flex; flex-wrap: wrap; gap: .35rem; }
.ha27-wa__themen button { border: 1px solid #075e54; background: #fff; color: #075e54; border-radius: 999px; padding: .3rem .7rem; font: 600 13px/1.2 inherit; font-family: inherit; cursor: pointer; min-height: 34px; }
.ha27-wa__themen button:hover { background: #dcf8c6; }
.ha27-wa__feld textarea { width: 100%; font: 15px/1.4 inherit; font-family: inherit; padding: .55rem .65rem; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; resize: vertical; background: #fff; color: #111; }
.ha27-wa__los { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; background: #25d366; color: #fff; font: 700 15px/1 inherit; font-family: inherit; text-decoration: none; }
.ha27-wa__los:hover { background: #1fb457; }
.ha27-wa__klein { margin: 0; font-size: 13px; line-height: 1.4; color: #4a5a52; }
.ha27-wa__klein a { color: inherit; font-weight: 700; }
/* Muster-Hinweis über dem WhatsApp-Knopf */
.ha27-muster-pille { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.ha27-wa__fenster:not([hidden]) { display: flex; flex-direction: column; max-height: calc(100vh - 130px - env(safe-area-inset-bottom, 0px)); }
.ha27-wa__kopf { flex: none; }
.ha27-wa.is-auf { z-index: 86; }   /* offenes Fenster über der klebenden Kopfzeile (85) */
.ha27-wa__inhalt { overflow: hidden auto; min-height: 0; overscroll-behavior: contain; }
.ha27-wa__fenster *, .ha27-wa__fenster *::before, .ha27-wa__fenster *::after { box-sizing: border-box; }
button.ha27-wa__los { width: 100%; border: 0; cursor: pointer; }
.ha27-wa__alt { justify-self: start; border: 0; background: none; padding: .2rem 0; color: #075e54; font: 700 13px/1.35 inherit; font-family: inherit; text-decoration: underline; cursor: pointer; text-align: left; min-height: 32px; }
.ha27-wa__rueck { display: grid; gap: .5rem; padding-top: .6rem; border-top: 1px solid rgba(0,0,0,.1); }
.ha27-wa__rueck label { display: grid; gap: .2rem; font-size: 13px; font-weight: 600; }
.ha27-wa__rueck input[name] { font: 16px/1.3 inherit; font-family: inherit; padding: .5rem .6rem; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; background: #fff; color: #111; min-height: 42px; }
.ha27-wa__rueck label.ha27-wa__ok { grid-template-columns: auto 1fr; align-items: start; gap: .5rem; font-weight: 400; font-size: 13px; line-height: 1.4; }
.ha27-wa__ok input { width: 20px; height: 20px; margin: .05rem 0 0; accent-color: #075e54; }
.ha27-wa__ok a { color: inherit; font-weight: 700; }
.ha27-wa__web { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ha27-wa [aria-invalid] { border-color: #a3321f !important; outline: 2px solid rgba(163,50,31,.25); }
.ha27-wa__meld { margin: 0; font-size: 13px; line-height: 1.4; font-weight: 600; }
.ha27-wa__meld.is-ok { padding: .55rem .7rem; border-radius: 8px; background: #dcf8c6; color: #0a2319; }
.ha27-wa__meld.is-fehler { color: #a3321f; }
@media print { .ha27-wa { display: none !important; } }
.ha27-privat .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }   /* „öffnet in neuem Tab“ nur für Screenreader (01.11.2026) */

/* Maßzeile statt Zollstock (03.11.2026, Marketing): ruhige Textzeile mit Einheit, Karten, Artikelseite, Startseite */
.ha27 .masse, .ha27-kat .masse, .ha27-start .masse, .ha27-pdp .masse { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .1rem; margin: .35rem 0 .5rem; padding: 0; background: none; font: 700 13px/1.4 var(--mono); color: inherit; }
.ha27 .masse i, .ha27-kat .masse i, .ha27-start .masse i, .ha27-pdp .masse i { font-style: normal; font-weight: 400; opacity: .65; }
.ha27 .masse__sep, .ha27 .masse__e { font-weight: 400; opacity: .65; white-space: pre; }
.ha27 .masse__e { margin-left: .2rem; }
.ha27-pdp .pdp__ruler { font-size: 16px; margin: .6rem 0 .3rem; }
.ha27 .pdp__masshinweis { margin: 0 0 .6rem; font: 14px/1.45 var(--display); opacity: .75; }

/* Handy (03.11.2026, Marketing: „auf schmalen Handys sieht man nicht, dass die Navigation nach Massivholz weitergeht“):
   alle Bereiche umbrechend sichtbar statt seitlich wischen */
@media (max-width: 860px) {
  .ha27 .catbar__row { height: auto; flex-wrap: wrap; overflow: visible; padding-block: .25rem; gap: 0 .2rem; }
  /* alle Reiter bündig links, auch in der zweiten und dritten Zeile (04.11.2026, Marketing Teil 3) */
  .ha27 .cat, .ha27 .cat:first-child { min-height: 40px; padding: 0 1.1rem 0 0; font-size: 13.5px; }
  .ha27 .cat::after, .ha27 .cat:first-child::after { left: 0; right: 1.1rem; }
}
/* Handy-Kopf: „Login“ klebte am Logo, „Konto beantragen“ war zu groß (04.11.2026, Marketing Teil 3) */
@media (max-width: 480px) {
  .ha27 .header__logo img { height: 19px; }
  .ha27 .acct { gap: .15rem; }
  .ha27 .acct__login { padding: 0 .5rem; font-size: 12.5px; }
  .ha27 .acct__join { min-height: 36px; padding: 0 .75rem; font-size: 11.5px; letter-spacing: .03em; }
}
@media (max-width: 359px) {
  .ha27 .header__logo img { height: 16px; }
  .ha27 .acct__login { padding: 0 .3rem; }
  .ha27 .acct__join { padding: 0 .55rem; font-size: 11px; }
}
