/*
Theme Name: Hanse
Template: twentytwentyfive
Description: Gemeinsames Theme aller Hanse-Shops. Shop-Unterschiede nur über die Design-Tokens in theme.json (shops/<slug>/theme.json: Palette, Schriften, settings.custom.hanse). Hell und Dunkel, mobil zuerst, kein Page-Builder, keine externen Schriften oder CDNs.
Version: 0.4.5
Text Domain: hanse
*/

/* =========================================================================
   Tokens (aus der Palette der theme.json; Dunkelmodus kommt per PHP, siehe hanse_dunkel_css)
   ========================================================================= */
:root {
  --h-on-brand: #fff;
  --h-ease: cubic-bezier(.2, .8, .2, 1);
  --h-radius-l: 28px; --h-radius-m: 18px; --h-radius-s: 12px;
  --h-wrap: 1180px;
  --h-kopf-hoehe: 68px;
  color-scheme: light dark;
}
body {
  --h-bg: var(--wp--preset--color--base, #fff);
  --h-text: var(--wp--preset--color--contrast, #1d1d1f);
  --h-brand: var(--wp--preset--color--accent-1, #16233a);
  --h-akzent: var(--wp--preset--color--accent-2, #a9843f);
  --h-flaeche: var(--wp--preset--color--accent-3, #f5f5f7);
  --h-grau: var(--wp--preset--color--accent-4, #6e6e73);
  --h-linie: var(--wp--preset--color--accent-5, #d2d2d7);
  --h-tief: var(--wp--preset--color--tief, #0b1424);
  --h-akzent-text: var(--h-brand); /* Akzent als Schrift: muss AA auf --h-bg schaffen; je Shop unten überschrieben */
  --h-titel: var(--h-font);
  --h-font: var(--wp--preset--font-family--manrope, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif);
  --h-serif: var(--wp--preset--font-family--literata, Georgia, "Times New Roman", serif);
  --h-schatten: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 30px -8px rgba(0, 0, 0, .12);
  --h-schatten-hoch: 0 2px 4px rgba(0, 0, 0, .06), 0 24px 50px -12px rgba(0, 0, 0, .22);
  background: var(--h-bg); color: var(--h-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11"; overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
  body { --h-schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -8px rgba(0, 0, 0, .6); --h-schatten-hoch: 0 2px 4px rgba(0, 0, 0, .5), 0 28px 60px -12px rgba(0, 0, 0, .75); }
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--h-kopf-hoehe) + 16px); -webkit-text-size-adjust: 100%; }
::selection { background: var(--h-akzent); color: var(--h-bg); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--h-akzent) 70%, var(--h-text)); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.h-wrap { width: min(var(--h-wrap), 100% - 40px); margin-inline: auto; }
.h-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--h-bg); color: var(--h-text); padding: 10px 16px; border-radius: 10px; box-shadow: var(--h-schatten); }
.h-skip:focus { left: 12px; }
.h-icon { width: 24px; height: 24px; flex: none; }

/* ---------- Schrift ---------- */
.h-eyebrow { margin: 0 0 .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--h-akzent-text); }
.h-lead { margin: 1.1rem 0 0; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--h-grau); letter-spacing: -.012em; max-width: 36em; }
.h-link { font-weight: 600; color: inherit; text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--h-akzent) 60%, transparent); padding-bottom: 2px; transition: border-color .2s var(--h-ease); }
.h-link::after, .h-link-pfeil::after { content: " ›"; }

/* ---------- Schaltflächen ---------- */
.h-btn, .wp-element-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; box-sizing: border-box; vertical-align: middle;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.6rem; border: 0; border-radius: var(--h-knopf-radius, 999px);
  background: var(--h-brand); color: var(--h-on-brand); font: 650 1rem/1 var(--h-font); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--h-ease), box-shadow .2s var(--h-ease), background-color .2s var(--h-ease), opacity .2s;
}
.h-btn:active, .wp-element-button:active, .woocommerce a.button:active, .woocommerce button.button:active { transform: scale(.98); }
.h-btn[disabled], .woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce button.button:disabled[disabled] { background: var(--h-linie); color: var(--h-grau); -webkit-text-fill-color: var(--h-grau); opacity: 1; cursor: not-allowed; box-shadow: none; transform: none; padding: 0 1.6rem; }
/* Safari/iOS: Knöpfe, Absende-Felder und eigene <button> ohne Systemoptik (Verlauf, Systemrundung, blaue Schrift, Tipp-Schimmer).
   PayPal-Knöpfe liegen in einem iframe und bleiben unberührt. */
:where(button, input[type="submit"], input[type="button"], input[type="reset"]):where(.h-btn, .button, .wp-element-button, .h-wende__knopf, .h-menuknopf, .wc-block-components-button, .single_add_to_cart_button, .checkout-button, #place_order) { -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; font-family: var(--h-font); }
.woocommerce input.button, .woocommerce button.button, .woocommerce #respond input#submit, .woocommerce-checkout #place_order { border: 0; text-shadow: none; background-image: none; }
.woocommerce input[type="submit"], .woocommerce button[type="submit"] { border-radius: var(--h-knopf-radius, 999px); }
/* „Demnächst erhältlich“ (hanse-core, <span aria-disabled>): ruhiger Umriss-Knopf, gleiche Höhe und Form wie „Jetzt gestalten“, kein Link */
.hanse-demnaechst-knopf, .woocommerce ul.products li.product .hanse-demnaechst-knopf { display: inline-flex !important; align-items: center !important; justify-content: center !important; box-sizing: border-box; min-height: 40px; padding: 0 1.1rem !important;
  border: 1.5px dashed var(--h-linie); border-color: color-mix(in srgb, var(--h-grau) 70%, var(--h-bg)); border-radius: var(--h-knopf-radius, 999px); background: transparent !important; color: var(--h-grau) !important;
  font: 600 .85rem/1.2 var(--h-font); letter-spacing: -.005em; text-decoration: none; cursor: default; box-shadow: none !important; transform: none !important; opacity: 1 !important; user-select: none; }
@media (max-width: 700px) { .woocommerce ul.products li.product .hanse-demnaechst-knopf { padding: 0 .5rem !important; font-size: .8rem; white-space: nowrap; } }
/* Produktseite „Demnächst“: großer deaktivierter Knopf an der Stelle von „Jetzt gestalten“, darunter ein Satz (hanse-core) */
.hanse-demnaechst { display: grid; gap: 10px; margin: 1.4rem 0 !important; }
.hanse-demnaechst .hanse-demnaechst-knopf--gross { width: 100%; min-height: 58px; font-size: 1.05rem; }
.hanse-demnaechst__text { color: var(--h-grau); font-size: .88rem; line-height: 1.5; }
.h-btn--klein { min-height: 40px; padding: 0 1.15rem; font-size: .9rem; }
.h-btn--hell { background: var(--h-bt, #fff); color: var(--h-ba, #16233a); }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--h-brand); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--h-text); border: 1.5px solid currentColor; }

/* Text mittig auch dann, wenn WooCommerce `display: inline-block` mit höherer Spezifität setzt (Text saß dann oben):
   Flex-Zentrierung erzwingen, Zeilenhöhe nicht auf 1 (Manrope hat asymmetrische Metrik) und Innenabstand oben/unten gleich. */
.h-btn, .wp-element-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce ul.products li.product .button, .woocommerce div.product form.cart .single_add_to_cart_button, .woocommerce #respond input#submit,
.mk-kaufen, .h-kaufleiste .h-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1.2 !important; padding-block: 0 !important; text-align: center; }
.h-btn svg, .woocommerce a.button svg { flex: none; }

/* =========================================================================
   Kopf (schwebend, durchscheinend)
   ========================================================================= */
.h-seitenkopf, header.wp-block-template-part { position: sticky; top: 0; z-index: 60; margin: 0; }
.admin-bar .h-seitenkopf, .admin-bar header.wp-block-template-part { top: 32px; }
.hanse-notice { background: var(--h-flaeche) !important; color: var(--h-text) !important; font-size: 13px !important; padding: 9px 16px !important; letter-spacing: -.005em; }
.h-kopf { background: var(--h-bg); background: color-mix(in srgb, var(--h-bg) 80%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .2s var(--h-ease); }
.h-kopf.ist-gescrollt { border-bottom-color: var(--h-linie); }
.h-kopf__innen > :empty:not(nav):not(button) { display: none; }
.h-kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--h-kopf-hoehe); }
.h-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--h-text); text-decoration: none; flex: none; }
.h-logo__zeichen svg { width: 32px; height: 32px; display: block; color: var(--h-text); }
.h-logo__name { font-weight: 750; font-size: 1.2rem; letter-spacing: -.03em; }
.h-nav { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.h-nav a { color: var(--h-text); text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .78; transition: opacity .15s; padding: 8px 0; }
.h-nav a:focus-visible { opacity: 1; }
.h-kopf__aktionen { display: flex; align-items: center; gap: 8px; }
.h-warenkorb { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--h-text); transition: background-color .15s; }
.h-warenkorb__zahl { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--h-akzent); color: var(--h-bg); font-size: 11px; font-weight: 750; line-height: 18px; text-align: center; }
.h-warenkorb__zahl[data-zahl="0"] { display: none; }
.h-menuknopf { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; color: var(--h-text); }
.h-menuknopf span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: currentColor; transition: transform .25s var(--h-ease); }
.h-menuknopf span:first-child { top: 18px; } .h-menuknopf span:last-child { top: 25px; }
.menue-offen .h-menuknopf span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menue-offen .h-menuknopf span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.h-kopf--kasse .h-kopf__innen { justify-content: space-between; }
.h-kopf__sicher { display: flex; align-items: center; gap: 6px; margin: 0 auto 0 24px; font-size: .85rem; color: var(--h-grau); }
.h-kopf__sicher .h-icon { width: 18px; height: 18px; }
.h-kopf__zurueck { font-size: .9rem; color: var(--h-text); text-decoration: none; opacity: .8; }
@media (max-width: 860px) {
  .h-kopf__cta { display: none !important; }
  .h-menuknopf { display: block; }
  .h-nav { position: fixed; inset: var(--h-kopf-hoehe) 0 auto 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 24px; background: var(--h-bg); border-bottom: 1px solid var(--h-linie);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform .25s var(--h-ease), opacity .2s; }
  .h-nav a { font-size: 1.35rem; font-weight: 650; padding: 14px 0; opacity: 1; border-bottom: 1px solid var(--h-linie); }
  .menue-offen .h-nav { transform: none; opacity: 1; pointer-events: auto; }
  .h-kopf__sicher { margin-left: 12px; font-size: .78rem; }
  .h-kopf__zurueck { font-size: .82rem; }
}

/* =========================================================================
   Startseite
   ========================================================================= */
.h-main > .wp-block-shortcode, .h-main--start > .wp-block-shortcode { margin: 0; }
.h-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); background: var(--h-hero-bg, var(--h-bg)); color: var(--h-hero-text, var(--h-text)); }
.h-hero__innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.h-hero h1 { margin: 0; font-family: var(--h-titel, var(--h-font)); font-size: var(--h-hero-groesse, clamp(2.4rem, 5.6vw, 4.4rem)); line-height: var(--h-titel-zeile, 1.04); font-weight: var(--h-titel-gewicht, 750); letter-spacing: var(--h-titel-spacing, -.035em); text-wrap: balance; color: inherit; }
.h-hero .h-lead { color: var(--h-hero-lead, var(--h-grau)); }
.h-hero__cta { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2rem; }
.h-hero__vorschau { position: relative; min-height: 420px; --hd-label: var(--h-text); --hd-accent: var(--h-akzent); --hd-bg2: var(--h-flaeche); --hd-bg3: var(--h-linie); --hd-label2: var(--h-grau); }
.h-hero__vorschau .hd-pv, .h-hero__vorschau .mk-pv3d { position: relative; z-index: 1; }
/* Auf der Startseite ist die 3D-Ansicht Bild, nicht Werkzeug: Knöpfe und Hinweis erst auf der Produktseite */
.h-hero .hdp-ctrl, .h-hero .hdp-hint { display: none !important; }
.h-hero__bild { position: relative; margin: 0; }
.h-hero__bild img { display: block; width: 100%; aspect-ratio: var(--h-hero-format, 1); object-fit: cover; border-radius: var(--h-hero-radius, var(--h-radius-m)); }
.h-hero__notiz { position: absolute; font: 400 1.5rem/1.15 var(--h-hand, cursive); color: var(--h-brand); }
.h-hero--text .h-hero__innen { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) {
  /* Handy: Überschrift, dann gleich das Bild; Fließtext und Knöpfe folgen darunter (Reihenfolge per order, Text bleibt in Lesereihenfolge im HTML) */
  .h-hero { padding: 24px 0 36px; }
  .h-hero__innen { grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
  .h-hero__text { display: contents; }
  .h-hero .h-eyebrow { order: 1; margin: 0 0 8px; }
  .h-hero h1 { order: 2; font-size: var(--h-hero-groesse-handy, clamp(2.1rem, 9.6vw, 2.8rem)); }
  .h-hero__vorschau, .h-hero__bild { order: 3; margin-top: 18px; }
  .h-hero__vorschau { min-height: 300px; }
  .h-hero__vorschau .hd-pv, .h-hero__vorschau .mk-pv3d { height: 380px !important; }
  .h-hero .h-lead { order: 4; margin: 20px 0 0; font-size: 1.05rem; line-height: 1.55; }
  .h-hero__cta { order: 5; margin-top: 20px; gap: 14px 22px; }
}

/* Faktenzeile: vier kurze, prüfbare Angaben; keine Symbole */
.h-vertrauen { background: var(--h-vertrauen-bg, var(--h-bg)); border-block: 1px solid var(--h-linie); }
.h-vertrauen__liste { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-vertrauen__liste li { padding: 20px 20px 20px 0; font-size: .9rem; line-height: 1.4; }
.h-vertrauen__liste li + li { padding-left: 20px; border-left: 1px solid var(--h-linie); }
.h-vertrauen__liste strong { display: block; font-weight: 700; letter-spacing: -.005em; }
.h-vertrauen__liste span { display: block; color: var(--h-grau); font-size: .84rem; margin-top: 2px; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .h-vertrauen__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-vertrauen__liste li, .h-vertrauen__liste li + li { padding: 14px 12px 14px 0; border-left: 0; }
  .h-vertrauen__liste li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--h-linie); }
  .h-vertrauen__liste li:nth-child(n+3) { border-top: 1px solid var(--h-linie); }
}

.h-abschnitt { padding: clamp(56px, 7vw, 104px) 0; }
.h-abschnitt--flaeche { background: var(--h-flaeche); }
/* Abschnittskopf links, Link „alle …“ rechts auf der Grundlinie */
.h-abschnitt__kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin: 0 0 clamp(24px, 4vw, 44px); }
.h-abschnitt__titel { max-width: 40rem; }
.h-abschnitt__kopf h2 { margin: 0; font-family: var(--h-titel, var(--h-font)); font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: var(--h-titel-spacing, -.03em); font-weight: var(--h-titel-gewicht, 750); text-wrap: balance; }
.h-abschnitt__kopf .h-lead { font-size: 1.05rem; margin-top: .7rem; }
.h-abschnitt__alle { white-space: nowrap; margin-bottom: 6px; }
.h-abschnitt__fuss { margin: 2.2rem 0 0; }

/* Kategorie-Kacheln: Raumbild, darunter Name, Startpreis und Pfeil */
.h-kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.h-kacheln:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.h-kacheln:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-kacheln:has(> li:only-child) { grid-template-columns: minmax(0, 520px); }
.h-kachel { margin: 0; }
.h-kachel__link { display: block; color: inherit; text-decoration: none; border-radius: var(--h-kachel-radius, var(--h-radius-m)); }
.h-kachel__bild { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--h-kachel-radius, var(--h-radius-m)); background: var(--h-flaeche); }
.h-kachel__bild--leer { display: grid; place-items: end start; padding: clamp(16px, 2vw, 24px); box-sizing: border-box; background: var(--h-flaeche); background: color-mix(in srgb, var(--h-brand) 12%, var(--h-bg)); }
.h-kachel__platzhalter { font-family: var(--h-titel); font-weight: var(--h-titel-gewicht, 700); letter-spacing: var(--h-titel-spacing, -.02em); font-size: clamp(6rem, 12vw, 10rem); line-height: .8; color: color-mix(in srgb, var(--h-brand) 55%, var(--h-bg)); }
.h-kachel__bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--h-ease); }
.h-kachel__unten { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 14px 2px 0; }
.h-kachel__name { font-family: var(--h-titel, var(--h-font)); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: var(--h-titel-gewicht, 700); letter-spacing: var(--h-titel-spacing, -.02em); line-height: 1.2; }
.h-kachel__info { grid-row: 2; color: var(--h-grau); font-size: .9rem; font-variant-numeric: tabular-nums; }
.h-kachel__pfeil { grid-row: 1 / span 2; grid-column: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--h-linie); transition: background-color .2s var(--h-ease), color .2s var(--h-ease), border-color .2s; }
.h-kachel__pfeil .h-icon { width: 18px; height: 18px; }
.h-kachel__link:focus-visible .h-kachel__pfeil { background: var(--h-brand); border-color: var(--h-brand); color: var(--h-on-brand); }
@media (max-width: 860px) { .h-kacheln, .h-kacheln:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .h-kacheln:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); } .h-kachel__pfeil { display: none; } .h-kachel__name { font-size: 1.05rem; } }

/* Karten (Startseite) und Produktbilder der Liste: weißes Hauptbild, Raumszene blendet beim Überfahren ein */
.h-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 32px 20px; }
.h-karte a { display: block; color: inherit; text-decoration: none; }
.h-karte__bild, .h-produktbild { position: relative; display: block; aspect-ratio: 1; background: #fff; border-radius: var(--h-karte-radius, var(--h-radius-s)); overflow: hidden; border: 1px solid var(--h-karte-linie, var(--h-linie)); }
.h-karte__bild img, .h-produktbild img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.h-karte__bild .h-szene, .h-produktbild .h-szene { position: absolute; inset: 0; opacity: 0; transition: opacity .35s var(--h-ease); }
/* Produkt ohne eigenes Bild (hanse_bild_leer_html): ruhige Fläche im Shop-Look mit Namen, kein grauer Platzhalter */
.h-produktbild--leer { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; box-sizing: border-box; padding: clamp(14px, 2vw, 22px);
  background: var(--h-flaeche); background: color-mix(in srgb, var(--h-brand) 9%, var(--h-bg)); color: var(--h-brand); text-align: left; }
.h-produktbild__name { font-family: var(--h-titel); font-weight: var(--h-titel-gewicht, 700); letter-spacing: var(--h-titel-spacing, -.02em); font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
.h-produktbild__bald { order: -1; margin-bottom: auto; font: 700 .68rem/1.2 var(--h-font); letter-spacing: .12em; text-transform: uppercase; color: var(--h-grau); }
.h-produktbild--gross { border-radius: var(--h-radius-l); padding: clamp(24px, 4vw, 48px); }
.h-produktbild--gross .h-produktbild__name { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h-produktbild--gross .h-produktbild__bald { font-size: .8rem; }
.woocommerce-product-gallery__image--placeholder { border-radius: var(--h-radius-l); overflow: hidden; }
@media (max-width: 700px) { .h-produktbild__name { font-size: 1.05rem; } .h-produktbild--gross .h-produktbild__name { font-size: 2.2rem; } }
@media (max-width: 860px) { .h-produktbild--gross, .woocommerce-product-gallery__image--placeholder { border-radius: 0; } .h-produktbild--gross { border-width: 0; } }
/* Tastatur: Raumszene auch per Fokus (Zeigergeräte zusätzlich beim Überfahren, siehe Hover-Block) */
.h-karte a:focus-visible .h-szene, li.product a:focus-visible .h-produktbild .h-szene { opacity: 1; }
.h-karte__name { display: block; margin-top: 14px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; }
.h-titel-zusatz { display: block; margin-top: 3px; font-weight: 400; font-size: .86em; letter-spacing: 0; color: var(--h-grau); line-height: 1.35; }
.h-karte__preis { display: block; margin-top: 6px; font-size: .95rem; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .h-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } }
.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; }

/* Banner */
.h-banner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; border-radius: var(--h-radius-l); overflow: hidden; background: var(--ba, #16233a); color: var(--bt, #fff); }
.h-banner__text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; --h-ba: var(--ba); --h-bt: var(--bt); }
.h-banner .h-eyebrow { color: color-mix(in srgb, var(--bt) 70%, var(--ba)); }
.h-banner h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; color: var(--bt); }
.h-banner p { color: color-mix(in srgb, var(--bt) 82%, var(--ba)); margin: 1rem 0 1.6rem; max-width: 30em; }
.h-banner img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 260px; }
@media (max-width: 860px) { .h-banner { grid-template-columns: minmax(0, 1fr); } .h-banner img { order: -1; max-height: 280px; } }

/* Ratgeber-Teaser */
.h-ratgeber { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-artikel { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border-radius: var(--h-radius-m); background: var(--h-flaeche); color: inherit; text-decoration: none; transition: transform .25s var(--h-ease), box-shadow .25s var(--h-ease); }
.h-artikel img { width: calc(100% + 44px); margin: -22px -22px 8px; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--h-radius-m) var(--h-radius-m) 0 0; }
.h-artikel strong { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.3; }
.h-artikel > span:not(.h-link-pfeil) { color: var(--h-grau); font-size: .93rem; line-height: 1.5; }
.h-link-pfeil { margin-top: auto; padding-top: 8px; font-weight: 650; color: var(--h-text); }
@media (max-width: 860px) { .h-ratgeber { grid-template-columns: minmax(0, 1fr); } }

/* Einblenden */
.h-js .h-erscheint { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--h-ease) calc(var(--i, 0) * 60ms), transform .5s var(--h-ease) calc(var(--i, 0) * 60ms); }
.h-js .h-erscheint.ist-da { opacity: 1; transform: none; }

/* =========================================================================
   Fuß und Verbund
   ========================================================================= */
footer.wp-block-template-part { margin: 0; }
.h-fuss { background: var(--h-flaeche); color: var(--h-grau); font-size: .85rem; margin-top: clamp(40px, 6vw, 80px); }
.h-fuss a { color: var(--h-text); text-decoration: none; opacity: .8; } .h-fuss a:focus-visible { opacity: 1; text-decoration: underline; }
.hanse-verbund { width: min(var(--h-wrap), 100% - 40px); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 8px; border-bottom: 1px solid var(--h-linie); padding-bottom: clamp(32px, 5vw, 56px); }
.hanse-verbund__titel { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; color: var(--h-text); }
.hanse-verbund__intro { margin: .5rem 0 1.6rem; max-width: 38em; font-size: .95rem; }
.hanse-verbund__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.hanse-verbund__karte { background: var(--h-bg); border-radius: var(--h-radius-m); overflow: hidden; box-shadow: var(--h-schatten); border-top: 3px solid var(--akzent, var(--h-akzent)); transition: transform .25s var(--h-ease), box-shadow .25s var(--h-ease); }
.hanse-verbund__bild { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hanse-verbund__link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; text-decoration: none; opacity: 1 !important; }
.hanse-verbund__marke { font-size: 1.2rem; font-weight: 750; letter-spacing: -.03em; color: var(--h-text); }
.hanse-verbund__text { color: var(--h-grau); font-size: .9rem; line-height: 1.45; }
.hanse-verbund__domain { margin-top: 6px; font-weight: 650; color: var(--h-text); font-size: .88rem; }
.h-fuss__innen { padding: clamp(32px, 5vw, 56px) 0 28px; }
.h-fuss__hinweis { max-width: 52em; margin: 0 0 2rem; line-height: 1.55; }
.h-fuss__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--h-linie); }
.h-fuss__spalte h2 { margin: 0 0 12px; font-size: .85rem; font-weight: 700; color: var(--h-text); letter-spacing: -.005em; }
.h-fuss__spalte ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.h-fuss__unten { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; }
.h-fuss__unten p { margin: 0; } .h-fuss__unten a { margin-right: 14px; } .h-fuss__unten a:last-child { margin-right: 0; }
/* § 356a BGB: Widerrufsfunktion hervorgehoben und auf jeder Seite erreichbar */
.h-fuss__unten a.h-fuss__widerruf { --hw-rot: #B42318; display: inline-block; margin-left: 12px; padding: 1px 9px; border: 1px solid var(--hw-rot); border-radius: 999px; color: var(--hw-rot); font-size: .8em; font-weight: 600; text-decoration: none; background: transparent; }
@media (prefers-color-scheme: dark) { .h-fuss__unten a.h-fuss__widerruf { --hw-rot: #FF8A7A; } }
.h-fuss__unten a.h-fuss__widerruf:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 860px) { .h-fuss__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h-kasse .h-fuss { margin-top: 24px; }

/* Querverweise (Verbund) auf Produktseiten */
.hanse-quer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; margin: clamp(32px, 5vw, 56px) 0 0; }
.hanse-quer__karte { position: relative; display: grid; gap: 2px; padding: 20px 52px 20px 22px; border-radius: var(--h-radius-m); background: var(--h-flaeche); border-left: 4px solid var(--akzent, var(--h-akzent)); color: var(--h-text); text-decoration: none; transition: transform .2s var(--h-ease), box-shadow .2s var(--h-ease); }
.hanse-quer__marke { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--h-grau); }
.hanse-quer__titel { font-size: 1.12rem; letter-spacing: -.02em; }
.hanse-quer__text { color: var(--h-grau); font-size: .92rem; }
.hanse-quer__pfeil { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--h-grau); }

/* =========================================================================
   Seiten (Ratgeber, Texte)
   ========================================================================= */
.h-main--seite { padding-bottom: clamp(24px, 4vw, 56px); }
.h-seite { padding: clamp(32px, 5vw, 64px) 20px 0; }
.h-seite h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; font-weight: 750; }
.h-seite--titel { max-width: 760px; margin-inline: auto; padding-bottom: 0; } .h-seite--titel + .h-seite { padding-top: clamp(8px, 1.5vw, 16px); }
.h-seite h2 { margin-top: 2.2em; letter-spacing: -.03em; } .h-seite h3 { margin-top: 1.6em; letter-spacing: -.02em; }
.h-seite p, .h-seite li { line-height: 1.65; }
.h-seite a { color: var(--h-text); text-decoration-color: color-mix(in srgb, var(--h-akzent) 70%, transparent); text-underline-offset: 3px; }

/* =========================================================================
   WooCommerce: Kategorie / Archiv
   ========================================================================= */
.h-main--archiv > *, .h-main--produkt > * { box-sizing: border-box; width: min(var(--h-wrap), 100% - 40px); max-width: none; margin-inline: auto !important; }
/* WordPress 7 gibt Vorlagen-Blöcke ohne die Klasse wp-block-… aus: deshalb über data-block-name bzw. die direkten Kinder von main.
   Vorher lief Kategorie- und Produktseite randlos über die volle Breite (Brotkrumen bei x = 0). */
.h-main--archiv > :is(.wp-block-woocommerce-legacy-template, [data-block-name="woocommerce/legacy-template"], #primary) { padding: clamp(20px, 3vw, 40px) 0 clamp(40px, 6vw, 80px); }
.h-main--produkt { padding-top: clamp(16px, 3vw, 40px); }
.woocommerce-breadcrumb { margin: 0 0 1.4rem; font-size: .82rem; color: var(--h-grau); }
.woocommerce-breadcrumb a { color: var(--h-grau); text-decoration: none; } .woocommerce-breadcrumb a:focus-visible { color: var(--h-text); text-decoration: underline; }
.woocommerce-products-header { margin-bottom: 1.6rem; }
.woocommerce-products-header__title, .page-title { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.04; }
.term-description, .page-description { box-sizing: border-box; width: 100%; max-width: 40rem; margin: 1rem 0 0; padding: 0; color: var(--h-grau); font-size: 1.08rem; line-height: 1.6; text-wrap: pretty; }
.term-description p, .page-description p { margin: 0 0 .7em; } .term-description > :last-child { margin-bottom: 0; }
/* Ausführlicher Kategorietext unter dem Raster (Zeilenlänge begrenzt, im Inhaltscontainer) */
.h-kat-mehr { box-sizing: border-box; max-width: 44rem; margin: clamp(48px, 7vw, 88px) 0 0; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--h-linie); }
.h-kat-mehr h2 { margin: 0 0 .7rem; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.15; }
.h-kat-mehr__text { color: var(--h-grau); font-size: 1.02rem; line-height: 1.7; text-wrap: pretty; }
.h-kat-mehr__text p { margin: 0 0 1em; } .h-kat-mehr__text > :last-child { margin-bottom: 0; } .h-kat-mehr__text strong { color: var(--h-text); }
.woocommerce .woocommerce-result-count { float: none; margin: 0; font-size: .85rem; color: var(--h-grau); }
.woocommerce .woocommerce-ordering { float: none; margin: 0; }
.woocommerce .woocommerce-ordering select, .wc-block-catalog-sorting select { appearance: none; border-radius: var(--h-knopf-radius, 999px); border: 1px solid var(--h-linie); padding: .55rem 2.2rem .55rem 1.1rem; background: var(--h-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--h-text); font: 500 .88rem var(--h-font); min-height: 44px; }
.h-main--archiv .woocommerce-result-count, .h-main--archiv .woocommerce-ordering { display: inline-block; vertical-align: middle; }
.h-main--archiv .woocommerce-ordering { float: right !important; }
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 1.6rem 0 0 !important; padding: 0; list-style: none; clear: both; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; position: relative; display: flex; flex-direction: column; text-align: left; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: inherit; text-decoration: none; }
.woocommerce ul.products li.product img { display: block; width: 100%; height: auto; margin: 0 0 14px; aspect-ratio: 1; object-fit: cover; border-radius: var(--h-radius-m); background: #fff; box-shadow: var(--h-schatten); transition: transform .35s var(--h-ease), box-shadow .35s var(--h-ease); }

.woocommerce ul.products li.product .h-produktbild { margin: 0 0 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0; padding: 0; font: 700 1.02rem/1.3 var(--h-font); letter-spacing: -.015em; }
.woocommerce ul.products li.product .woocommerce-loop-product__title .h-titel-zusatz { font-family: var(--h-font); }
.woocommerce ul.products li.product .price { display: block; margin-top: 6px; color: var(--h-text); font-size: .95rem; font-variant-numeric: tabular-nums; }
.woocommerce ul.products li.product .price ins { text-decoration: none; font-weight: 650; color: var(--h-text); }
.woocommerce ul.products li.product .button { margin-top: 12px; align-self: flex-start; min-height: 40px; padding: 0 1.1rem; font-size: .85rem; }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0; min-width: 0; min-height: 0; padding: 5px 11px; border-radius: 999px; line-height: 1.2; font-size: .72rem; font-weight: 700; background: var(--h-akzent); color: var(--h-bg); }
.wc-gzd-additional-info-loop, .woocommerce ul.products li.product .wc-gzd-additional-info { font-size: .78rem; color: var(--h-grau); margin: 2px 0 0; line-height: 1.4; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; margin-top: 3rem; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; } .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--h-text); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--h-brand); color: var(--h-on-brand); }
/* Wenige Produkte: kein verlorenes Einzelstück am linken Rand */
.woocommerce ul.products:has(> li.product:only-child) { grid-template-columns: minmax(0, 880px); justify-content: center; }
.woocommerce ul.products li.product:only-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--h-radius-l, 28px); background: var(--h-flaeche, color-mix(in srgb, var(--h-text) 4%, var(--h-bg))); }
.woocommerce ul.products li.product:only-child > a.woocommerce-LoopProduct-link { display: contents; }
.woocommerce ul.products li.product:only-child .h-produktbild { grid-column: 1; grid-row: 1 / span 7; margin: 0; }
/* Germanized-Zeilen (Kleinunternehmer, Versand) unter den Knopf, nicht über den Namen */
.woocommerce ul.products li.product:only-child .wc-gzd-additional-info.small-business-info { grid-row: 5; margin-top: 14px; }
.woocommerce ul.products li.product:only-child .wc-gzd-additional-info.shipping-costs-info { grid-row: 6; }
.woocommerce ul.products li.product:only-child { grid-template-rows: 1fr auto auto auto auto auto 1fr; }
.woocommerce ul.products li.product:only-child .woocommerce-loop-product__title { grid-row: 2; }
.woocommerce ul.products li.product:only-child .price { grid-row: 3; }
.woocommerce ul.products li.product:only-child .button { grid-row: 4; justify-self: start; }
.woocommerce ul.products li.product:only-child > a.woocommerce-LoopProduct-link > :not(.h-produktbild), .woocommerce ul.products li.product:only-child > :not(a.woocommerce-LoopProduct-link) { grid-column: 2; }
.woocommerce ul.products li.product:only-child .woocommerce-loop-product__title { font-family: var(--h-titel); font-weight: var(--h-titel-gewicht, 700); font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: var(--h-titel-spacing, -.03em); line-height: 1.1; }
.woocommerce ul.products li.product:only-child .woocommerce-loop-product__title .h-titel-zusatz { font-size: 1rem; margin-top: 8px; }
.woocommerce ul.products li.product:only-child .price { font-size: 1.1rem; margin-top: 8px; }
.woocommerce ul.products li.product:only-child .button { margin-top: 20px; min-height: 48px; padding: 0 1.6rem; font-size: 1rem; }
.woocommerce ul.products:has(> li.product:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.woocommerce ul.products:has(> li.product:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; }
@media (max-width: 1000px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; } .woocommerce ul.products li.product img { border-radius: 14px; } .h-main--archiv .woocommerce-ordering { float: none !important; display: block; margin-top: 12px; } .woocommerce ul.products li.product .button { width: 100%; } }
@media (max-width: 700px) {
  .woocommerce ul.products:has(> li.product:only-child) { grid-template-columns: minmax(0, 1fr); }
  .woocommerce ul.products li.product:only-child { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding: 16px; }
  .woocommerce ul.products li.product:only-child .woocommerce-loop-product__title, .woocommerce ul.products li.product:only-child .price, .woocommerce ul.products li.product:only-child .button { grid-row: auto; }
  .woocommerce ul.products li.product:only-child .button { justify-self: stretch; }
  .woocommerce ul.products li.product:only-child .h-produktbild { grid-column: 1; grid-row: auto; margin-bottom: 14px; }
  .woocommerce ul.products li.product:only-child > a.woocommerce-LoopProduct-link > :not(.h-produktbild), .woocommerce ul.products li.product:only-child > :not(a.woocommerce-LoopProduct-link) { grid-column: 1; }
  .woocommerce ul.products:has(> li.product:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products:has(> li.product:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================================
   WooCommerce: Produktseite
   ========================================================================= */
.h-main--produkt > .wp-block-shortcode { padding: 0 0 clamp(32px, 5vw, 72px); }
.single-product .woocommerce-breadcrumb { margin-bottom: 1.2rem; }
.woocommerce div.product.type-product { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 0 clamp(28px, 5vw, 72px); align-items: start; position: relative; }
.woocommerce div.product.type-product div.images, .woocommerce div.product.type-product div.woocommerce-product-gallery { float: none; width: auto !important; margin: 0 0 24px; }
.woocommerce div.product.type-product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product.type-product .woocommerce-tabs, .woocommerce div.product.type-product .related, .woocommerce div.product.type-product .upsells, .woocommerce div.product.type-product > .up-sells { grid-column: 1 / -1; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { border-radius: var(--h-radius-l); overflow: hidden; background: #fff; box-shadow: var(--h-schatten); }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0 !important; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { float: none !important; width: auto !important; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; opacity: .6; transition: opacity .2s; cursor: pointer; background: #fff; display: block; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; }
/* Galerie mit FlexSlider (Vorschaubilder) und PhotoSwipe (Vergrößern per Klick, hanse_galerie_noetig in functions.php):
   Rundung und Schatten am Sichtfenster, nicht am einzelnen Bild (das Fenster schneidet sonst den Schatten ab). */
.woocommerce-product-gallery .flex-viewport { border-radius: var(--h-radius-l); overflow: hidden; background: #fff; box-shadow: var(--h-schatten); }
.woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image { border-radius: 0; box-shadow: none; }
.woocommerce-product-gallery__image a { display: block; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.woocommerce-product-gallery .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 14px; right: 14px; width: 44px; height: 44px; box-sizing: border-box; border-radius: 50%; background: color-mix(in srgb, var(--h-bg) 85%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); z-index: 5; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before { left: 13px; top: 13px; border-color: var(--h-text); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after { left: 26px; top: 23px; background: var(--h-text); }
.pswp { z-index: 1000; } .pswp__bg { background: color-mix(in srgb, var(--h-tief) 94%, transparent); }
.single-product .product_title { margin: 0 0 .5rem; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.06; }
.single-product .summary .price { margin: 0 0 1rem; font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; color: var(--h-text); }
.single-product .summary .price del { color: var(--h-grau); font-weight: 400; font-size: 1.1rem; } .single-product .summary .price ins { text-decoration: none; }
.single-product .summary .woocommerce-product-details__short-description { color: var(--h-grau); line-height: 1.6; margin-bottom: 1.4rem; }
.single-product .summary .woocommerce-product-details__short-description p { margin: 0 0 .8em; }
.wc-gzd-additional-info, .legal-price-info, .product-units-wrapper { font-size: .82rem; color: var(--h-grau); line-height: 1.5; }
.single-product .summary form.cart { margin: 1.4rem 0; }
.woocommerce div.product form.cart .variations { width: 100%; border: 0; margin-bottom: 1rem; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
.woocommerce div.product form.cart .variations label { font-size: .85rem; font-weight: 650; display: block; margin: 12px 0 6px; }
.woocommerce div.product form.cart .variations select, .woocommerce .quantity .qty, .woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single, .woocommerce-page input[type="text"], .woocommerce-page input[type="email"], .woocommerce-page input[type="tel"], .woocommerce-page input[type="password"] {
  min-height: 48px; width: 100%; padding: 10px 14px; border: 1px solid var(--h-linie); border-radius: var(--h-radius-s); background: var(--h-bg); color: var(--h-text); font: 500 1rem/1.3 var(--h-font); transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.woocommerce div.product form.cart .variations select:focus, .woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus, .woocommerce .quantity .qty:focus { outline: none; border-color: var(--h-akzent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--h-akzent) 25%, transparent); }
.woocommerce div.product form.cart .reset_variations { font-size: .82rem; color: var(--h-grau); }
.woocommerce div.product form.cart .woocommerce-variation-price .price { font-size: 1.3rem; }
/* Optionen als Kacheln (Radio-Inputs aus hanse_option_kacheln_html; ohne JS bleibt das Auswahlfeld) und Einstieg „Jetzt gestalten“ */
.h-optionen { display: none; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 10px; margin: 2px 0 6px; }
.h-kacheln-aktiv .h-optionen, .h-optionen--links { display: grid; }
.h-kacheln-aktiv .variations select { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.h-option { position: relative; display: block; margin: 0 !important; cursor: pointer; text-decoration: none; color: inherit; }
.h-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.h-option__box { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 14px; box-sizing: border-box;
  border: 1.5px solid var(--h-grau); border-color: color-mix(in srgb, var(--h-grau) 75%, var(--h-bg)); border-radius: var(--h-radius-s); background: var(--h-bg); color: var(--h-text);
  transition: border-color .15s var(--h-ease), background-color .15s var(--h-ease), box-shadow .15s var(--h-ease); }
.h-option__name { font-size: 1rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; }
.h-option__preis { font-size: .9rem; color: var(--h-grau); font-variant-numeric: tabular-nums; }
.h-option input:checked + .h-option__box, .h-option[aria-current="true"] .h-option__box { border-color: var(--h-brand); background: color-mix(in srgb, var(--h-brand) 8%, var(--h-bg)); box-shadow: inset 0 0 0 1px var(--h-brand); }
.h-option input:checked + .h-option__box::after { content: ""; position: absolute; top: 9px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--h-brand); }
.h-option input:checked + .h-option__box::before { content: ""; position: absolute; top: 9px; right: 10px; width: 18px; height: 18px; z-index: 1; background: var(--h-on-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.h-option input:focus-visible + .h-option__box, a.h-option:focus-visible .h-option__box { outline: 3px solid var(--h-akzent); outline-offset: 3px; }
.h-option.ist-nicht-verfuegbar { cursor: not-allowed; } .h-option.ist-nicht-verfuegbar .h-option__box { border-style: dashed; opacity: .55; }
.h-option.ist-nicht-verfuegbar input { cursor: not-allowed; }
.h-gestalten { margin: 1.4rem 0; display: grid; gap: 14px; }
.h-gestalten__label { margin: 0; font-size: .85rem; font-weight: 650; }
.h-btn--gross { min-height: 58px; font-size: 1.1rem; width: 100%; }
.h-gestalten__info { margin: 0; font-size: .88rem; color: var(--h-grau); line-height: 1.5; }
.single-product .product_meta .sku_wrapper { display: none; }
.woocommerce div.product form.cart .quantity.hidden, .woocommerce div.product form.cart .quantity:has(input[type="hidden"]) { display: none; }

.woocommerce div.product form.cart div.quantity { margin: 0 12px 0 0; float: none; display: inline-block; vertical-align: top; }
.woocommerce .quantity .qty { width: 80px; text-align: center; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-height: 56px; padding: 0 2.2rem; font-size: 1.1rem; flex: 1 1 14rem; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; }
.hanse-notice-product { padding: 12px 16px; border-radius: var(--h-radius-s); background: var(--h-flaeche); color: var(--h-grau); font-size: .9rem; }
.product_meta { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--h-linie); font-size: .85rem; color: var(--h-grau); display: grid; gap: 4px; } .product_meta a { color: var(--h-text); }
.woocommerce-tabs { margin: clamp(32px, 5vw, 64px) 0 0; }
.woocommerce-tabs ul.tabs, .woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0; margin: 0 0 1.4rem; border: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none !important; }
.woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0 !important; background: none !important; border-radius: 0; }
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
/* Reiter: WooCommerce setzt mit höherer Spezifität `padding: .5em 0` und #515151 (Befund 04.11.2026: Text klebte unten im Pillen-Feld,
   aktiver Reiter grau auf Dunkel). Darum mit `div.product` und als Flex-Feld mit fester Höhe. */
.woocommerce-tabs ul.tabs li a, .woocommerce div.product .woocommerce-tabs ul.tabs li a { display: flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 0 20px; border-radius: var(--h-knopf-radius, 999px); background: var(--h-flaeche); color: var(--h-text); font-weight: 600; font-size: .92rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.woocommerce-tabs ul.tabs li.active a, .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--h-brand); color: var(--h-on-brand); }
.woocommerce-tabs .panel { max-width: 46em; line-height: 1.65; margin: 0; } .woocommerce-tabs .panel h2 { font-size: 1.4rem; letter-spacing: -.03em; }
.woocommerce table.shop_attributes { border: 0; } .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--h-linie); padding: 12px 8px; background: none; font-style: normal; }
.related.products, .upsells.products { margin-top: clamp(40px, 6vw, 80px); } .related.products > h2, .upsells.products > h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.035em; margin: 0 0 1rem; }
@media (max-width: 860px) {
  .woocommerce div.product.type-product { grid-template-columns: minmax(0, 1fr); }
  .woocommerce div.product.type-product div.images, .woocommerce div.product.type-product div.woocommerce-product-gallery { position: relative; top: auto; margin-inline: -20px; width: calc(100% + 40px) !important; }
  .woocommerce-product-gallery__image, .woocommerce-product-gallery .flex-viewport { border-radius: 0; box-shadow: none; }
  .woocommerce-product-gallery .flex-control-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .woocommerce-product-gallery .flex-control-thumbs { margin: 12px 20px 0 !important; }
  .single-product .woocommerce-breadcrumb { display: none; }
}

/* Kaufleiste (Handy) */
.h-kaufleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--h-bg); background: color-mix(in srgb, var(--h-bg) 88%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--h-linie); animation: h-hoch .25s var(--h-ease); }
.h-kaufleiste[hidden] { display: none; }
.h-kaufleiste__text { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.h-kaufleiste__text strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.h-kaufleiste__text span { font-size: .85rem; color: var(--h-grau); } .h-kaufleiste__text .price, .h-kaufleiste__text del { font-size: inherit; }
.h-kaufleiste .h-btn { flex: none; min-height: 46px; }
@keyframes h-hoch { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 861px) { .h-kaufleiste { display: none !important; } }
body.hat-kaufleiste { padding-bottom: 72px; }

/* =========================================================================
   Meldungen, Warenkorb, Kasse (klassisch und Blöcke), Konto
   ========================================================================= */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error, .woocommerce-noreviews, .wc-block-components-notice-banner {
  border: 0 !important; border-radius: var(--h-radius-s) !important; background: var(--h-flaeche) !important; color: var(--h-text) !important; padding: 16px 20px 16px 52px; margin: 0 0 24px; list-style: none; font-size: .95rem; }
.woocommerce .woocommerce-message::before { color: var(--h-akzent); top: 16px; left: 20px; } .woocommerce .woocommerce-info::before { color: var(--h-akzent); top: 16px; left: 20px; }
.woocommerce .woocommerce-error { background: color-mix(in srgb, #d70015 10%, var(--h-bg)) !important; } .woocommerce .woocommerce-error::before { color: #d70015; top: 16px; left: 20px; }
.woocommerce .woocommerce-message .button { float: right; min-height: 38px; font-size: .85rem; }

.woocommerce table.shop_table, .wc-block-cart .wc-block-cart-items { border: 0; border-radius: var(--h-radius-m); background: var(--h-flaeche); border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 28px; }
.woocommerce table.shop_table th { text-align: left; font-size: .8rem; font-weight: 650; color: var(--h-grau); border: 0; padding: 16px 20px; }
.woocommerce table.shop_table td { border: 0; border-top: 1px solid var(--h-linie); padding: 18px 20px; vertical-align: middle; }
.woocommerce-cart table.cart img { width: 88px; border-radius: 10px; background: #fff; }
.woocommerce table.shop_table .product-name a { color: var(--h-text); font-weight: 650; text-decoration: none; }
.woocommerce a.remove { color: var(--h-grau) !important; font-weight: 300; width: 32px; height: 32px; line-height: 30px; font-size: 24px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 460px; margin-left: auto; } .woocommerce .cart-collaterals .cart_totals h2 { font-size: 1.5rem; letter-spacing: -.03em; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 1.05rem; }
.woocommerce .order-total .amount { font-size: 1.3rem; font-weight: 750; }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; } .woocommerce form .form-row label { font-size: .85rem; font-weight: 600; color: var(--h-text); margin-bottom: 5px; line-height: 1.4; }
.woocommerce form .form-row.woocommerce-invalid .input-text { border-color: #d70015; }
.select2-container--default .select2-selection--single { padding: 6px 8px; height: 48px; } .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--h-text); line-height: 34px; } .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading { font-size: 1.4rem; letter-spacing: -.03em; margin: 8px 0 18px; }
.woocommerce-checkout #payment { background: var(--h-flaeche); border-radius: var(--h-radius-m); } .woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--h-linie); padding: 20px 24px; }
.woocommerce-checkout #payment div.payment_box { background: var(--h-bg); border-radius: var(--h-radius-s); color: var(--h-grau); } .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--h-bg); }
.woocommerce-checkout #payment div.form-row { padding: 20px 24px; } .woocommerce-checkout #place_order { width: 100%; float: none; min-height: 56px; font-size: 1.05rem; }
.woocommerce-terms-and-conditions-wrapper { font-size: .88rem; color: var(--h-grau); }
@media (min-width: 960px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 56px; align-items: start; }
  .woocommerce-checkout form.checkout > .col2-set { grid-column: 1; grid-row: 1 / span 3; width: 100%; } .woocommerce-checkout form.checkout > .col2-set .col-1, .woocommerce-checkout form.checkout > .col2-set .col-2 { float: none; width: 100%; }
  .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; } .woocommerce-checkout #order_review { position: sticky; top: calc(var(--h-kopf-hoehe) + 24px); }
}
.woocommerce-cart .h-seite, .woocommerce-checkout .h-seite { max-width: 1120px; margin-inline: auto; }
/* WooCommerce-Blöcke (Warenkorb/Kasse) */
.wc-block-components-sidebar-layout { gap: 32px; }
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-block-components-combobox .components-combobox-control input, .wc-blocks-components-select select { border-radius: var(--h-radius-s) !important; border: 1px solid var(--h-linie) !important; background: var(--h-bg) !important; color: var(--h-text) !important; min-height: 52px; }
.wc-block-components-text-input label, .wc-block-components-form .wc-block-components-text-input.is-active label { color: var(--h-grau) !important; }
.wc-block-components-totals-wrapper, .wc-block-components-order-summary, .wc-block-cart__sidebar, .wc-block-checkout__sidebar { border-color: var(--h-linie) !important; }
.wc-block-checkout__sidebar, .wc-block-cart__sidebar { background: var(--h-flaeche); border-radius: var(--h-radius-m); padding: 20px; align-self: start; }
.wc-block-components-product-name { color: var(--h-text) !important; font-weight: 650; text-decoration: none; }
.wc-block-components-title, .wc-block-checkout__main h2, .wc-block-cart__totals-title { font-weight: 700 !important; letter-spacing: -.03em; text-transform: none !important; }
.wc-block-components-checkout-step__title { font-size: 1.3rem !important; letter-spacing: -.03em; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: var(--h-radius-s); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; } .woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--h-text); text-decoration: none; } .woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--h-flaeche); font-weight: 650; }
.woocommerce form.login, .woocommerce form.register { border: 0; background: var(--h-flaeche); border-radius: var(--h-radius-m); padding: 28px; }

/* =========================================================================
   Konfigurator der Momentkarte (Plugin hanse-momentkarte): Anpassung an die Tokens, Hell und Dunkel
   ========================================================================= */
.h-produkt--konfigurator { padding: 0; }
.h-produkt .mk { gap: clamp(1.5rem, 5vw, 4.5rem); }
.h-produkt .mk-vorschau-rahmen { background: radial-gradient(80% 70% at 50% 25%, color-mix(in srgb, var(--h-akzent) 12%, var(--h-flaeche)), var(--h-flaeche)); border-radius: var(--h-radius-l); }
.h-produkt .mk-vorschau { box-shadow: var(--h-schatten-hoch); }
/* Größen-Kacheln des Konfigurators im Theme-Look (Hell/Dunkel, Fokus, Kontrast) */
.h-produkt .mk-groessen { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 10px; }
.h-produkt .mk-groesse { min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--h-grau); border-color: color-mix(in srgb, var(--h-grau) 75%, var(--h-bg)); border-radius: var(--h-radius-s); background: var(--h-bg); color: var(--h-text); text-align: left; text-decoration: none; justify-content: center; position: relative; }
.h-produkt .mk-groesse strong { font-size: 1rem; font-weight: 650; } .h-produkt .mk-groesse span { color: var(--h-grau); font-size: .9rem; }
.h-produkt .mk-groesse.ist-aktiv { border-color: var(--h-brand); background: color-mix(in srgb, var(--h-brand) 8%, var(--h-bg)); box-shadow: inset 0 0 0 1px var(--h-brand); }
.h-produkt .mk-groesse:focus-visible { outline: 3px solid var(--h-akzent); outline-offset: 3px; }
.h-produkt .mk-groessen legend { color: var(--h-text); }
.h-produkt .mk-vorschau-hinweis, .h-produkt .mk-preis-info, .h-produkt .mk-lieferzeit, .h-produkt .mk-brotkrumen, .h-produkt .mk-brotkrumen a { color: var(--h-grau); }
.h-produkt .mk-titel { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.04em; line-height: 1.05; font-weight: 750; }
.h-produkt .mk-preis-wert { font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; }
.h-produkt .mk-kaufen { width: 100%; min-height: 56px; font-size: 1.05rem; }
.h-produkt .mk-vertrauen { color: var(--h-grau); }
.h-produkt .mk-tabelle th, .h-produkt .mk-tabelle td { border-color: var(--h-linie); }
.h-produkt .mk-details h2 { letter-spacing: -.03em; }
.h-produkt input, .h-produkt select, .h-produkt textarea { background: var(--h-bg); color: var(--h-text); border-color: var(--h-linie); }
.h-produkt .mk-faq details { border-color: var(--h-linie); }
/* Wende-Animation der Vorschau (Neigen, Umdrehen), gleiche Bewegung wie die 3D-Vorschau */
.h-wende__buehne { perspective: 1500px; }
.h-wende__koerper { position: relative; transform-style: preserve-3d; transition: transform .45s var(--h-ease); max-width: 500px; margin: 0 auto; }
.h-wende__koerper .mk-vorschau { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.h-wende__rueck { position: absolute; inset: 0; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; text-align: center; background: linear-gradient(160deg, #f6f2ea, #e8e2d6); color: #6a6354; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.8; box-shadow: var(--h-schatten-hoch); }
.h-wende__knopf { display: block; margin: 16px auto 0; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--h-knopf-radius, 999px); -webkit-appearance: none; appearance: none; background: color-mix(in srgb, var(--h-text) 9%, transparent); color: var(--h-text); font: 600 .85rem var(--h-font); cursor: pointer; transition: background-color .2s; }
.h-wende__knopf[aria-pressed="true"] { background: var(--h-brand); color: var(--h-on-brand); }
.h-wende.ist-gewendet .mk-vorschau-hinweis { visibility: hidden; }

/* =========================================================================
   Wenig Bewegung: nichts dreht sich, es wird überblendet
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .h-wende__koerper { transform: none !important; }
  .h-wende.ist-gewendet .mk-vorschau { opacity: 0; } .h-wende__rueck { transform: none; opacity: 0; } .h-wende.ist-gewendet .h-wende__rueck { opacity: 1; }
}

/* =========================================================================
   Dunkelmodus: Details, die nicht über die Palette laufen
   ========================================================================= */
@media (prefers-color-scheme: dark) {
  .woocommerce ul.products li.product img, .h-karte__bild, .woocommerce-product-gallery__image { background: #fff; }
  .h-kopf { background: color-mix(in srgb, var(--h-bg) 72%, transparent); }
  .h-banner { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
  .h-hero__vorschau .hdp-face { box-shadow: 0 0 0 .5px rgba(255, 255, 255, .1); }
  .h-produkt .mk-vorschau-rahmen { background: radial-gradient(80% 70% at 50% 25%, color-mix(in srgb, var(--h-akzent) 16%, #1b2130), #151a26); }
}

/* Schaltflächen und Eingaben rechnen Innenabstand in die Breite ein (sonst läuft „width: 100 %“ über) */
.h-btn, .wp-element-button, .wp-block-button__link, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce .quantity .qty { box-sizing: border-box; }

/* Produktinfo aus hanse-core ([hanse_produktinfo], Reiter Lieferumfang/Häufige Fragen) */
.hanse-info { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hanse-info h2, .hanse-faq h2 { font-size: 1.15rem; letter-spacing: -.02em; margin: 0 0 .5em; }
.hanse-info ul { margin: 0; padding-left: 1.2em; }
.hanse-faq__frage { border-top: 1px solid var(--h-linie); padding: 14px 0; }
.hanse-faq__frage:last-child { border-bottom: 1px solid var(--h-linie); }
.hanse-faq__frage summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; }
.hanse-faq__frage summary::-webkit-details-marker { display: none; }
.hanse-faq__frage summary::after { content: '+'; margin-left: auto; font-weight: 400; color: var(--h-grau, #6E6E73); transition: transform .2s; }
.hanse-faq__frage[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .hanse-faq__frage summary::after { transition: none; } }

/* =========================================================================
   Überschriften: Display-Schrift je Shop (--h-titel aus custom.hanse.schrift.titel), Gewicht/Laufweite je Shop
   ========================================================================= */
.woocommerce-products-header__title, .page-title, .h-seite h1, .h-seite h2, .single-product .product_title, .related.products > h2, .upsells.products > h2,
.h-kat-mehr h2, .h-banner h2, .h-produkt .mk-titel, .hanse-verbund__titel, .woocommerce-tabs .panel h2, .h-artikel strong {
  font-family: var(--h-titel); font-weight: var(--h-titel-gewicht, 750); letter-spacing: var(--h-titel-spacing, -.03em);
}
.single-product .product_title .h-titel-zusatz { font-family: var(--h-font); font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 400; letter-spacing: 0; margin-top: .6rem; line-height: 1.4; }
/* Widerrufsknopf von Germanized („EU Order Withdrawal Button“) unter dem Fuß: Der Fuß führt „Vertrag widerrufen“ bereits auf jeder Seite
   (§ 356a BGB). Seit 0.4.4 gibt functions.php den zweiten Knopf gar nicht erst aus; diese Regel bleibt als Netz. Der Knopf steht als
   <p> direkt in <body> hinter .wp-site-blocks (die Selektoren aus 0.4.0 suchten ihn darin und trafen nie). Nur ausblenden, wenn der Fuß-Link da ist. */
body:has(.h-fuss__widerruf) > .eu-owb-order-withdraw-from-contract-button,
body:has(.h-fuss__widerruf) .wp-site-blocks ~ .eu-owb-order-withdraw-from-contract-button,
body:has(.h-fuss__widerruf) .h-fuss ~ .eu-owb-order-withdraw-from-contract-button,
body:has(.h-fuss__widerruf) footer ~ .eu-owb-order-withdraw-from-contract-button { display: none; }
.h-fuss__hinweis { color: var(--h-grau); }

/* =========================================================================
   Momentkarte (visby): Nachtblau und Papier. Serifen-Display (Cormorant Garamond), Hero als dunkles Band mit der Sternenkarte,
   eckige Knöpfe, Goldton nur als Linie und auf Dunkel.
   ========================================================================= */
body.h-shop-visby {
  --h-titel-gewicht: 500; --h-titel-spacing: -.012em; --h-titel-zeile: .98;
  --h-hero-groesse: clamp(3rem, 5.4vw, 4.9rem); --h-hero-groesse-handy: clamp(2.6rem, 11.5vw, 3.3rem);
  --h-akzent-text: #7D5F27;
  --h-hero-bg: var(--h-tief); --h-hero-text: #F5EFE2; --h-hero-lead: #C9CFDB;
  --h-radius-s: 4px; --h-radius-m: 6px; --h-kachel-radius: 2px; --h-karte-radius: 2px; --h-knopf-radius: 3px;
}
/* Form der Knöpfe über --h-knopf-radius (gilt auch, wenn .woocommerce am <body> hängt: `.h-shop-visby .woocommerce a.button` traf die Listenknöpfe nie) */
.h-shop-visby :is(.h-btn, a.button, button.button, input.button, .mk-kaufen) { border-radius: var(--h-knopf-radius); letter-spacing: .02em; }
.h-shop-visby .h-hero { border-bottom: 1px solid color-mix(in srgb, #D2B176 35%, transparent); }
.h-shop-visby .h-hero .h-eyebrow { color: #D2B176; }
.h-shop-visby .h-hero h1 { font-weight: 500; }
.h-shop-visby :is(h1, h2, h3, .h-kachel__name, .h-vertrauen__liste strong) { font-variant-numeric: lining-nums; }
@media (min-width: 861px) { .h-shop-visby .h-hero__innen { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.h-shop-visby .h-hero .h-btn { background: #F5EFE2; color: #0B1424; }
.h-shop-visby .h-hero .h-link { color: #F5EFE2; border-bottom-color: color-mix(in srgb, #D2B176 70%, transparent); }
.h-shop-visby .h-hero :focus-visible { outline-color: #D2B176; }
.h-shop-visby .h-hero__vorschau { --hd-label: #F5EFE2; --hd-bg2: #131C2E; --hd-bg3: #27334A; --hd-label2: #A5AEC0; }
.h-shop-visby .h-vertrauen { border-top: 0; }
.h-shop-visby .h-vertrauen__liste strong { font-family: var(--h-titel); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
.h-shop-visby .h-abschnitt__kopf h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.h-shop-visby .h-abschnitt__kopf { border-bottom: 1px solid var(--h-linie); padding-bottom: 18px; }
.h-shop-visby .h-kachel__name { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 600; }
.h-shop-visby .h-kachel__pfeil { border-radius: 2px; }
.h-shop-visby .h-kachel__bild--leer { background: var(--h-tief); } .h-shop-visby .h-kachel__platzhalter { color: #D2B176; font-style: italic; }
.h-shop-visby .h-produktbild__name { font-weight: 500; font-style: italic; }
.h-shop-visby .h-banner { border-radius: 2px; }
.h-shop-visby .h-banner h2 { font-weight: 500; font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.h-shop-visby .h-artikel { border-radius: 2px; background: transparent; border-top: 2px solid var(--h-text); padding: 18px 0 0; }
.h-shop-visby .h-artikel img { width: 100%; margin: 0 0 8px; border-radius: 2px; }
.h-shop-visby .h-artikel strong { font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
@media (prefers-color-scheme: dark) { body.h-shop-visby { --h-akzent-text: #D2B176; --h-hero-bg: #060B15; } }

/* =========================================================================
   Zwergenwand (danzig): warmes Papier, weiche Serifen (Fraunces, SOFT), Fließtext Nunito, Handschrift (Caveat) nur als Notiz.
   Bilder mit Bogen oben wie ein Fenster; runde Knöpfe; Honiggelb nur als Fläche, nie als Schrift.
   ========================================================================= */
body.h-shop-danzig {
  --h-titel-gewicht: 600; --h-titel-spacing: -.02em; --h-titel-zeile: 1.02;
  --h-akzent-text: #176B79; --h-hand: var(--wp--preset--font-family--caveat, cursive);
  --h-hero-format: 4 / 5; --h-hero-radius: 999px 999px 24px 24px; --h-kachel-radius: 22px; --h-karte-radius: 18px; --h-karte-linie: transparent;
  --h-vertrauen-bg: color-mix(in srgb, var(--h-akzent) 22%, var(--h-bg));
}
.h-shop-danzig .h-hero h1 { color: var(--h-tief); }
@media (min-width: 861px) { .h-shop-danzig .h-hero__innen { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.h-shop-danzig .h-hero__bild { max-width: 500px; justify-self: center; width: 100%; }
.h-shop-danzig .h-hero__bild::before { content: ""; position: absolute; z-index: -1; inset: 8% -7% -5% 9%; border-radius: 999px 999px 28px 28px; background: color-mix(in srgb, var(--h-akzent) 55%, var(--h-bg)); }
.h-shop-danzig .h-hero__bild { isolation: isolate; }
.h-shop-danzig .h-hero__notiz { left: -14%; bottom: 14%; max-width: 11em; transform: rotate(-6deg); font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: var(--h-tief); background: var(--h-bg); padding: .15em .55em .25em; border-radius: 8px; box-shadow: 0 1px 0 color-mix(in srgb, var(--h-tief) 12%, transparent); }
.h-shop-danzig .h-vertrauen { border: 0; }
.h-shop-danzig .h-vertrauen__liste li + li, .h-shop-danzig .h-vertrauen__liste li:nth-child(n) { border-color: color-mix(in srgb, var(--h-tief) 14%, transparent); }
.h-shop-danzig .h-vertrauen__liste span { color: color-mix(in srgb, var(--h-text) 78%, var(--h-bg)); }
.h-shop-danzig .h-abschnitt__kopf h2 { color: var(--h-tief); }
.h-shop-danzig .h-kachel__bild { border-radius: 999px 999px 22px 22px; }
.h-shop-danzig .h-kachel__name { font-weight: 600; color: var(--h-tief); }
.h-shop-danzig .h-kachel__pfeil { border-color: color-mix(in srgb, var(--h-tief) 25%, transparent); }
.h-shop-danzig .h-karte__bild, .h-shop-danzig .h-produktbild { box-shadow: 0 1px 0 color-mix(in srgb, var(--h-tief) 10%, transparent); }
.h-shop-danzig .h-abschnitt--flaeche { background: color-mix(in srgb, var(--h-akzent) 16%, var(--h-bg)); }
.h-shop-danzig .woocommerce-products-header__title, .h-shop-danzig .single-product .product_title { color: var(--h-tief); }
@media (max-width: 860px) { .h-shop-danzig .h-hero__bild { max-width: 300px; } .h-shop-danzig .h-hero__notiz { left: auto; right: -6%; bottom: -4%; font-size: 1.35rem; } .h-shop-danzig .h-hero__bild { margin-bottom: 26px; } }
@media (prefers-color-scheme: dark) { body.h-shop-danzig { --h-akzent-text: #A2E1EB; } .h-shop-danzig .h-hero h1, .h-shop-danzig .h-abschnitt__kopf h2, .h-shop-danzig .h-kachel__name, .h-shop-danzig .h-hero__notiz, .h-shop-danzig .woocommerce-products-header__title, .h-shop-danzig .single-product .product_title { color: var(--h-text); } .h-shop-danzig .h-vertrauen, .h-shop-danzig .h-abschnitt--flaeche { background: var(--h-flaeche); } }

/* =========================================================================
   Pfotenwerft (bremen): Terrakotta und Salbei, Grotesk mit Charakter (Bricolage Grotesque, kräftig, eng), Bild mit Salbei-Versatz,
   Knöpfe mit hartem Schatten, Kacheln mit Kante statt Schatten.
   ========================================================================= */
body.h-shop-bremen {
  --h-titel-gewicht: 720; --h-titel-spacing: -.028em; --h-titel-zeile: 1;
  --h-hero-groesse: clamp(2.6rem, 4.8vw, 4.3rem);
  --h-akzent-text: #5E6B52; --h-hero-format: 1; --h-hero-radius: 6px; --h-kachel-radius: 6px; --h-karte-radius: 6px; --h-knopf-radius: 8px;
}
.h-shop-bremen .h-titel-zusatz, .h-shop-bremen .h-kachel__name { font-variation-settings: "opsz" 24; }
.h-shop-bremen h1, .h-shop-bremen h2 { font-variation-settings: "opsz" 96; }
.h-shop-bremen :is(.h-btn, a.button, button.button) { border-radius: var(--h-knopf-radius); box-shadow: 3px 3px 0 var(--h-tief); }
.h-shop-bremen .h-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--h-tief); }
.h-shop-bremen :is(.h-btn, button.button):disabled { box-shadow: none; }
.h-shop-bremen .h-hero__bild { isolation: isolate; padding: 0 0 18px 18px; }
.h-shop-bremen .h-hero__bild::before { content: ""; position: absolute; z-index: -1; left: 0; bottom: 0; width: 82%; height: 78%; border-radius: 6px; background: var(--h-akzent); }
.h-shop-bremen .h-hero h1 { color: var(--h-tief); }
.h-shop-bremen .h-vertrauen { background: var(--h-tief); color: #F7F0E8; border: 0; }
.h-shop-bremen .h-vertrauen__liste li + li, .h-shop-bremen .h-vertrauen__liste li:nth-child(n) { border-color: rgba(247, 240, 232, .18); }
.h-shop-bremen .h-vertrauen__liste span { color: #D9CBBE; }
.h-shop-bremen .h-abschnitt__kopf h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--h-tief); }
.h-shop-bremen .h-kachel__bild { border: 2px solid var(--h-tief); }
.h-shop-bremen .h-kachel__pfeil { border-radius: 8px; border: 2px solid var(--h-tief); }
.h-shop-bremen .h-karte__bild, .h-shop-bremen .h-produktbild { border: 2px solid var(--h-tief); }
.h-shop-bremen .woocommerce-products-header__title, .h-shop-bremen .single-product .product_title { color: var(--h-tief); }
@media (prefers-color-scheme: dark) { body.h-shop-bremen { --h-akzent-text: #B9C7AB; } .h-shop-bremen .h-hero h1, .h-shop-bremen .h-abschnitt__kopf h2, .h-shop-bremen .woocommerce-products-header__title, .h-shop-bremen .single-product .product_title { color: var(--h-text); } .h-shop-bremen .h-btn { box-shadow: 3px 3px 0 #000; } .h-shop-bremen .h-kachel__bild, .h-shop-bremen .h-karte__bild, .h-shop-bremen .h-produktbild, .h-shop-bremen .h-kachel__pfeil { border-color: var(--h-linie); } .h-shop-bremen .h-vertrauen { background: var(--h-flaeche); } }
/* Knöpfe in der Produktliste (auch „Demnächst erhältlich“ aus hanse-core, ein <span class="button">) nie breiter als die Karte */
.woocommerce ul.products li.product .button { box-sizing: border-box; max-width: 100%; white-space: normal; text-align: center; }

/* =========================================================================
   Überfahren (Hover) nur auf Geräten mit echtem Zeiger (Befund 04.11.2026: auf Touch-Geräten blieben Szene, Zoom und Anheben nach dem
   Antippen bzw. beim Scrollen „hängen“). Tastatur-Fokus steht jeweils bei der Grundregel und gilt überall. Während des Scrollens
   (hanse.js setzt html.h-scrollt) reagieren Karten auch am Rechner nicht, sonst blendet unter dem stehenden Zeiger Karte um Karte ein.
   ========================================================================= */
@media (hover: hover) and (pointer: fine) {
  .h-link:hover { border-bottom-color: var(--h-akzent); }
  .h-btn:hover, .wp-element-button:hover, .wp-block-button__link:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
  .wc-block-components-button:not(.is-link):hover { background: color-mix(in srgb, var(--h-brand) 86%, var(--h-akzent)); color: var(--h-on-brand); box-shadow: var(--h-schatten); transform: translateY(-1px); text-decoration: none; }
  .h-btn[disabled]:hover, .woocommerce button.button:disabled:hover { background: var(--h-linie); color: var(--h-grau); box-shadow: none; transform: none; }
  .h-btn--hell:hover { background: var(--h-bt, #fff); color: var(--h-ba, #16233a); opacity: .92; }
  .h-nav a:hover { opacity: 1; }
  .h-warenkorb:hover { background: var(--h-flaeche); }
  .h-kachel__link:hover .h-kachel__bild img { transform: scale(1.03); }
  .h-kachel__link:hover .h-kachel__pfeil { background: var(--h-brand); border-color: var(--h-brand); color: var(--h-on-brand); }
  .h-karte a:hover .h-szene, li.product:hover .h-produktbild .h-szene { opacity: 1; }
  .h-artikel:hover { transform: translateY(-3px); box-shadow: var(--h-schatten); }
  .h-fuss a:hover { opacity: 1; text-decoration: underline; }
  .hanse-verbund__link:hover { text-decoration: none !important; }
  .hanse-verbund__karte:hover { transform: translateY(-3px); box-shadow: var(--h-schatten-hoch); }
  .hanse-quer__karte:hover { transform: translateY(-2px); box-shadow: var(--h-schatten); text-decoration: none; }
  .woocommerce-breadcrumb a:hover { color: var(--h-text); text-decoration: underline; }
  .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
  .h-option:hover .h-option__box, .h-produkt .mk-groesse:hover { border-color: var(--h-text); }
  .woocommerce a.remove:hover { background: color-mix(in srgb, #d70015 12%, transparent); color: #d70015 !important; }
  .h-wende__knopf:hover { background: color-mix(in srgb, var(--h-text) 15%, transparent); }
  .h-wende__knopf[aria-pressed="true"]:hover { background: var(--h-brand); }
  .h-shop-visby .h-hero .h-btn:hover { background: #fff; color: #0B1424; }
  .h-shop-visby .h-artikel:hover { transform: none; box-shadow: none; }
  .h-shop-bremen :is(.h-btn, a.button, button.button):not(:disabled):hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--h-tief); }
  html.h-scrollt :is(.h-karte, .h-kachel, li.product, .h-artikel, .hanse-verbund__karte, .hanse-quer__karte) { pointer-events: none; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .h-kachel__link:hover .h-kachel__bild img { transform: none; }
}
