/*
Theme Name:  Blocksy Child — Hussen Depot
Theme URI:   https://hussen-depot.de
Description: Child-Theme für den Hussen Depot B2B-Shop. Komplettes Design-System (Farben, Typo, Sektionen, WooCommerce-Styling). Design: Klartext-Großhandel — offene Preise als Gestaltungsprinzip.
Author:      Patrick Geck / Hussen Depot
Template:    blocksy
Version:     1.0.0
Text Domain: blocksy-child-hussen-depot
*/

/* ==========================================================================
   HUSSEN DEPOT DESIGN-SYSTEM
   Petrol #0F5661 · Amber #E4A93B · Grün #1E7B34
   Typo: Space Grotesk (Display) + Inter (Body) — lokal gehostet (DSGVO!)
   Signature-Elemente: Preis-Etikett (Hangtag), Hussen-Stapel-Motiv,
   Amber-Marker in Headlines, Katalog-Karten mit klarer Border.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS (lokal — Dateien nach theme/fonts/ legen, siehe fonts/FONTS-INSTALLIEREN.md)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v16-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-v16-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v18-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v18-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v18-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. DESIGN-TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Marke */
  --hd-petrol:        #0F5661;
  --hd-petrol-dark:   #0B424B;
  --hd-petrol-deep:   #07333B;
  --hd-petrol-tint:   #E8F0F0;
  --hd-amber:         #E4A93B;
  --hd-amber-dark:    #C98F26;
  --hd-amber-soft:    #FAF1DD;
  --hd-green:         #1E7B34;

  /* Neutrale (warm, textil) */
  --hd-ink:           #14262B;
  --hd-slate:         #486065;
  --hd-paper:         #F7F5F0;
  --hd-card:          #FFFFFF;
  --hd-line:          #E4E0D6;
  --hd-line-strong:   #CFD9D9;

  /* Typo */
  --hd-font-display:  'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --hd-font-body:     'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Geometrie & Motion */
  --hd-radius:        20px;
  --hd-radius-sm:     12px;
  --hd-shadow:        0 1px 2px rgba(20, 38, 43, .05), 0 10px 30px rgba(20, 38, 43, .06);
  --hd-shadow-lift:   0 4px 10px rgba(20, 38, 43, .08), 0 24px 56px rgba(20, 38, 43, .16);
  --hd-ease:          cubic-bezier(.22, .68, .22, 1);

  /* ---- Blocksy-Bridge: Kernvariablen des Parent-Themes übersteuern ---- */
  --theme-palette-color-1: var(--hd-petrol);        /* Primär */
  --theme-palette-color-2: var(--hd-amber);         /* Akzent */
  --theme-palette-color-3: var(--hd-ink);           /* Text */
  --theme-palette-color-4: var(--hd-slate);         /* Text sekundär */
  --theme-palette-color-5: var(--hd-line);          /* Border */
  --theme-palette-color-6: var(--hd-paper);         /* Fläche */
  --theme-palette-color-7: var(--hd-card);          /* Karte */
  --theme-palette-color-8: var(--hd-petrol-deep);   /* Dunkel */

  --theme-text-color: var(--hd-ink);
  --theme-headings-color: var(--hd-ink);
  --theme-link-initial-color: var(--hd-petrol);
  --theme-link-hover-color: var(--hd-amber-dark);
  --theme-button-background-initial-color: var(--hd-amber);
  --theme-button-background-hover-color: var(--hd-amber-dark);
  --theme-button-text-initial-color: var(--hd-ink);
  --theme-button-text-hover-color: var(--hd-ink);
  --theme-form-field-border-focus-color: var(--hd-petrol);
  --theme-selection-background-color: var(--hd-amber);
  --theme-selection-text-color: var(--hd-ink);
}

/* --------------------------------------------------------------------------
   3. BASIS
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; } /* Preview hat Blocksys Reset nicht — Buttons liefen sonst über die Kartenkante */

body {
  font-family: var(--hd-font-body);
  color: var(--hd-ink);
  background: var(--hd-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  counter-reset: hdsec; /* nummeriertes Sektions-Leitsystem (Eyebrow-Chips) */
}

h1, h2, h3, h4,
.entry-title,
.woocommerce-loop-product__title {
  font-family: var(--hd-font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--hd-ink);
}

::selection { background: var(--hd-amber); color: var(--hd-ink); }

:focus-visible {
  outline: 3px solid var(--hd-amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   4. LAYOUT-PRIMITIVE (für die Startseiten-Patterns)
   -------------------------------------------------------------------------- */
.hd-section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 48px);
  scroll-margin-top: 84px; /* Anker-Sprünge landen sonst unterm Sticky-Header */
}
.hd-section--flush-top { padding-top: 0; }
.hd-wrap {
  max-width: 1180px;
  margin-inline: auto;
}

/* Startseite: Blocksy-Container neutralisieren — die Patterns containern sich
   selbst (.hd-wrap) und brauchen volle Viewport-Breite für ihre Hintergründe.
   (Blocksy Free 2.1.48 hat keine "Volle Breite"-Seitenvorlage, daher per CSS.) */
.home.page .site-main .ct-container {
  --theme-container-width: 100%;
  max-width: none;
  padding-inline: 0;
}
.home.page .site-main .ct-container[data-vertical-spacing] {
  --theme-content-vertical-spacing: 0px;
}
.home.page .entry-content > * { margin-block: 0; }
/* Live-Struktur (Blocksy 2.1.48 + WP 7.0, seit v3-Content): Gutenberg begrenzt Kinder
   von .is-layout-constrained auf contentSize (~1290px) → weiße Ränder um die Sektionen.
   Und Blocksys Page-Title-Bereich (.hero-section) rendert den Seitentitel „Start". */
.home .hero-section { display: none !important; }
.home.page .entry-content.is-layout-constrained > * { max-width: none; }
.home.page .entry-content { padding-inline: 0 !important; } /* WP Root-Padding (~72px) erzeugte weiße Ränder um die vollbreiten Sektionen */
.home.page .ct-container-full { padding-inline: 0; }

/* Header: Bild-Logo ist gesetzt → den doppelten Site-Title-Text darunter ausblenden
   (sauberer Customizer-Weg folgt beim Blocksy-Feinschliff) */
.ct-header .site-title { display: none; }
.hd-bg-paper  { background: var(--hd-paper); }
.hd-bg-white  { background: var(--hd-card); }
.hd-bg-tint   { background: var(--hd-petrol-tint); }
.hd-bg-warm   { background: var(--hd-amber-soft); }
.hd-bg-dark   {
  background:
    radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1.5px),
    radial-gradient(1100px 520px at 85% -10%, rgba(228, 169, 59, .15), transparent 60%),
    linear-gradient(160deg, var(--hd-petrol) 0%, var(--hd-petrol-dark) 55%, var(--hd-petrol-deep) 100%);
  background-size: 26px 26px, auto, auto;
  color: #F2F7F7;
}
.hd-bg-dark h1, .hd-bg-dark h2, .hd-bg-dark h3 { color: #FFFFFF; }

/* Eyebrow — nummerierter Chip als Leitsystem durch die Seite */
.hd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hd-font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hd-petrol);
  background: rgba(15, 86, 97, .07);
  border: 1px solid rgba(15, 86, 97, .16);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 22px;
}
.hd-eyebrow::before {
  counter-increment: hdsec;
  content: counter(hdsec, decimal-leading-zero);
  font-family: var(--hd-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--hd-amber-dark);
  padding-right: 10px;
  border-right: 1px solid rgba(15, 86, 97, .2);
}
.hd-bg-dark .hd-eyebrow {
  color: #F2C063;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
}
.hd-bg-dark .hd-eyebrow::before { color: #F2C063; border-right-color: rgba(255, 255, 255, .25); }
.hd-eyebrow svg { display: none; } /* Chip + Nummer übernehmen die Akzentrolle */

/* Headlines mit fluid sizing */
.hd-h1 {
  font-family: var(--hd-font-display);
  font-size: clamp(42px, 6.6vw, 78px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.028em;
  margin: 0 0 22px;
}
.hd-h2 {
  font-family: var(--hd-font-display);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.024em;
  margin: 0 0 16px;
}
.hd-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--hd-slate);
  max-width: 62ch;
  margin: 0 0 0;
}
.hd-bg-dark .hd-lead { color: rgba(242, 247, 247, .82); }
.hd-center { text-align: center; }
.hd-center .hd-lead { margin-inline: auto; }
.hd-section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* Amber-Marker — handgesetzte Unterstreichung für das Schlüsselwort */
.hd-mark {
  position: relative;
  z-index: 0; /* eigener Stacking-Context — sonst verschwindet der Marker hinter dem Sektions-Hintergrund */
  white-space: nowrap;
}
.hd-mark::after {
  content: "";
  position: absolute;
  left: -3px; right: -8px;
  bottom: .02em;
  height: .42em;
  background: linear-gradient(90deg, var(--hd-amber) 0%, #F2C063 100%);
  opacity: .42;
  border-radius: 999px;
  transform: skewX(-14deg) rotate(-.4deg);
  z-index: -1;
}
.hd-bg-dark .hd-mark::after { opacity: .8; }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.hd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--hd-font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 17px 30px;
  border-radius: var(--hd-radius-sm);
  border: 2px solid var(--hd-amber);
  background: var(--hd-amber);
  color: var(--hd-ink) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  box-shadow: 0 2px 0 rgba(20, 38, 43, .18);
}
.hd-btn:hover {
  background: var(--hd-amber-dark);
  border-color: var(--hd-amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 38, 43, .22);
}
.hd-btn:active { transform: translateY(0); }
.hd-btn:focus-visible { outline: 3px solid var(--hd-petrol); outline-offset: 2px; }
.hd-btn svg { flex: none; transition: transform .22s var(--hd-ease); }
.hd-btn:hover svg { transform: translateX(4px); }

.hd-btn--ghost {
  background: transparent;
  border-color: var(--hd-line-strong);
  color: var(--hd-ink) !important;
  box-shadow: none;
}
.hd-btn--ghost:hover {
  background: rgba(15, 86, 97, .06);
  border-color: var(--hd-petrol);
  box-shadow: none;
}
.hd-bg-dark .hd-btn--ghost {
  border-color: rgba(255, 255, 255, .38);
  color: #FFFFFF !important;
}
.hd-bg-dark .hd-btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: #FFFFFF;
}
.hd-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   6. SIGNATURE: PREIS-ETIKETT (Hangtag)
   -------------------------------------------------------------------------- */
.hd-tag {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: #FFFFFF;
  color: var(--hd-ink);
  border-radius: 10px 16px 10px 10px;
  padding: 14px 20px 14px 34px;
  box-shadow: var(--hd-shadow-lift);
  transform: rotate(-3deg);
}
.hd-tag::before {                    /* Öse */
  content: "";
  position: absolute;
  left: 12px; top: 50%;
  width: 11px; height: 11px;
  border: 3px solid var(--hd-line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--hd-paper);
}
.hd-tag__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hd-slate);
}
.hd-tag__price {
  font-family: var(--hd-font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--hd-petrol);
}
.hd-tag__price small {
  font-family: var(--hd-font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--hd-slate);
}

/* --------------------------------------------------------------------------
   7. KARTEN & GRIDS
   -------------------------------------------------------------------------- */
.hd-grid {
  display: grid;
  gap: 22px;
}
.hd-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hd-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hd-grid--4 { grid-template-columns: repeat(4, 1fr); }

.hd-card {
  position: relative;
  overflow: hidden;
  background: var(--hd-card);
  border: 1px solid var(--hd-line);
  border-radius: var(--hd-radius);
  padding: 32px 28px;
  box-shadow: var(--hd-shadow);
  transition: transform .28s var(--hd-ease), box-shadow .28s var(--hd-ease), border-color .28s var(--hd-ease);
}
.hd-card::before { /* Amber-Akzentlinie, fährt beim Hover ein */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hd-amber), #F2C063);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--hd-ease);
}
.hd-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hd-shadow-lift);
  border-color: transparent;
}
.hd-card:hover::before { transform: scaleX(1); }
.hd-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
}
.hd-card p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--hd-slate);
  margin: 0;
}
.hd-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--hd-amber-soft);
  color: var(--hd-petrol);
  margin-bottom: 20px;
}
.hd-card__icon svg { width: 28px; height: 28px; }

/* Feature-Karte — bricht die Kartenreihe, schafft Hierarchie */
.hd-card--feature {
  background:
    radial-gradient(420px 220px at 90% -20%, rgba(228, 169, 59, .22), transparent 65%),
    linear-gradient(150deg, var(--hd-petrol) 0%, var(--hd-petrol-deep) 100%);
  border-color: transparent;
}
.hd-card--feature h3 { color: #FFFFFF; }
.hd-card--feature p { color: rgba(242, 247, 247, .85); }
.hd-card--feature .hd-card__icon { background: var(--hd-amber); color: var(--hd-ink); }

/* --------------------------------------------------------------------------
   8. PRODUKTKARTEN (Startseite)
   -------------------------------------------------------------------------- */
.hd-product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--hd-card);
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hd-product:hover {
  transform: translateY(-5px);
  box-shadow: var(--hd-shadow-lift);
  border-color: var(--hd-petrol);
}
.hd-product__media {
  position: relative;
  background:
    radial-gradient(480px 240px at 50% 115%, rgba(228, 169, 59, .18), transparent 70%),
    repeating-linear-gradient(0deg, rgba(15, 86, 97, .045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(15, 86, 97, .045) 0 1px, transparent 1px 26px),
    linear-gradient(170deg, var(--hd-petrol-tint), #F4F1EA 90%);
  padding: 34px 28px 26px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 230px;
}
.hd-product__media svg { transition: transform .35s var(--hd-ease); }
.hd-product:hover .hd-product__media svg { transform: translateY(-5px) scale(1.025); }
.hd-product__media svg { display: block; }
.hd-product__badge {
  position: absolute;
  z-index: 2;
  top: 16px; left: 16px;
  background: var(--hd-petrol);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.hd-product__badge--amber { background: var(--hd-amber); color: var(--hd-ink); }
.hd-product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 28px;
  gap: 14px;
}
.hd-product__body h3 {
  font-size: 21px;
  margin: 0;
}
.hd-product__spec {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--hd-slate);
  margin: 0;
}
.hd-product__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.hd-product__price strong {
  font-family: var(--hd-font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--hd-petrol);
  font-variant-numeric: tabular-nums;
}
.hd-product__price span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hd-slate);
}
.hd-product__bundle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--hd-amber-soft);
  border: 1px solid rgba(228, 169, 59, .45);
  border-radius: var(--hd-radius-sm);
  padding: 11px 14px;
  font-size: 14px;
}
.hd-product__bundle b {
  font-family: var(--hd-font-display);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--hd-ink);
}
.hd-product .hd-btn { width: 100%; } /* Karten-Abschluss bündig, kataloghaft */
.hd-swatches {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--hd-slate);
}
.hd-swatch {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--hd-line-strong);
  display: inline-block;
}
.hd-swatch--white { background: #FFFFFF; }
.hd-swatch--black { background: #1D1D1F; }
.hd-swatch--anthracite { background: #4A4E52; }

/* --------------------------------------------------------------------------
   9. VERGLEICHSTABELLE (Preisvergleich, dunkle Sektion)
   -------------------------------------------------------------------------- */
.hd-compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hd-compare table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--hd-radius);
  overflow: hidden;
}
.hd-compare th, .hd-compare td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(242, 247, 247, .88);
  vertical-align: top;
}
.hd-compare thead th {
  font-family: var(--hd-font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(242, 247, 247, .74);
  background: rgba(255, 255, 255, .05);
}
.hd-compare tr:last-child td { border-bottom: none; }
.hd-compare .hd-compare__price {
  font-family: var(--hd-font-display);
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #FFFFFF;
}
.hd-compare tr.is-hero {
  background: rgba(228, 169, 59, .14);
}
.hd-compare tr.is-hero td {
  border-top: 2px solid var(--hd-amber);
  border-bottom: 2px solid var(--hd-amber);
}
.hd-compare tr.is-hero td:first-child { border-left: 2px solid var(--hd-amber); }
.hd-compare tr.is-hero td:last-child { border-right: 2px solid var(--hd-amber); }
.hd-compare tr.is-hero .hd-compare__price { color: var(--hd-amber); font-size: 25px; }
.hd-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(228, 169, 59, .12);
  border: 1.5px solid rgba(228, 169, 59, .55);
  border-radius: var(--hd-radius);
  padding: 22px 26px;
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #F2F7F7;
}
.hd-callout strong { color: var(--hd-amber); }
.hd-callout svg { flex: none; margin-top: 2px; }

/* --------------------------------------------------------------------------
   10. SCHRITTE (So geht's)
   -------------------------------------------------------------------------- */
.hd-step {
  position: relative;
  padding: 30px 28px 28px;
}
.hd-step__num {
  font-family: var(--hd-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--hd-ink);
  background: var(--hd-amber);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hd-note-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  background: var(--hd-card);
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius);
  padding: 18px 26px;
  margin-top: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-ink);
}
.hd-note-strip span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.hd-note-strip svg { color: var(--hd-petrol); flex: none; }

/* --------------------------------------------------------------------------
   11. CHECKLISTEN & TRUST
   -------------------------------------------------------------------------- */
.hd-checks {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.hd-checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.55;
}
.hd-checks li svg {
  flex: none;
  margin-top: 3px;
  color: var(--hd-green);
}
.hd-bg-dark .hd-checks li svg { color: var(--hd-amber); }
.hd-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(242, 247, 247, .78);
}
.hd-trustline span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hd-trustline svg { color: var(--hd-amber); flex: none; }

/* --------------------------------------------------------------------------
   12. FAQ (details/summary — kein JS)
   -------------------------------------------------------------------------- */
.hd-faq {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}
.hd-faq details {
  background: var(--hd-card);
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius-sm);
  overflow: hidden;
  transition: border-color .16s ease;
}
.hd-faq details[open] { border-color: var(--hd-petrol); }
.hd-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  font-family: var(--hd-font-body);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--hd-ink);
}
.hd-faq summary::-webkit-details-marker { display: none; }
.hd-faq summary:hover { color: var(--hd-petrol); }
.hd-faq summary::after {
  content: "+";
  font-family: var(--hd-font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: var(--hd-petrol);
  transition: transform .18s ease;
  flex: none;
}
.hd-faq details[open] summary::after { transform: rotate(45deg); }
.hd-faq .hd-faq__body {
  padding: 0 22px 20px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--hd-slate);
}
.hd-faq .hd-faq__body p { margin: 0 0 10px; }
.hd-faq .hd-faq__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   13. STORY-SEKTION
   -------------------------------------------------------------------------- */
.hd-story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hd-story__media {
  position: relative;
  border-radius: var(--hd-radius);
  overflow: hidden;
  border: 1.5px solid var(--hd-line);
  background: linear-gradient(170deg, var(--hd-petrol-tint), #EFEAE0);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hd-story__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hd-story p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--hd-slate);
  margin: 0 0 16px;
}
.hd-story p strong { color: var(--hd-ink); }

/* --------------------------------------------------------------------------
   13b. ERSPARNIS-RECHNER
   -------------------------------------------------------------------------- */
.hd-calc {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}
.hd-calc__inputs {
  display: grid;
  gap: 18px;
  align-content: start;
}
.hd-calc__field {
  background: var(--hd-card);
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius);
  padding: 20px 22px;
  display: block;
}
.hd-calc__field span {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--hd-slate);
  margin-bottom: 10px;
}
.hd-calc__field .hd-calc__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hd-calc__field input {
  width: 100%;
  max-width: 190px;
  font-family: var(--hd-font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--hd-petrol);
  font-variant-numeric: tabular-nums;
  border: none;
  border-bottom: 2.5px solid var(--hd-line-strong);
  background: transparent;
  padding: 2px 4px 6px;
  outline: none;
  transition: border-color .16s ease;
}
.hd-calc__field input:focus { border-color: var(--hd-petrol); }
.hd-calc__field .hd-calc__unit {
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-slate);
  white-space: nowrap;
}
.hd-calc__result {
  background: var(--hd-amber-soft);
  border: 1.5px solid rgba(228, 169, 59, .55);
  border-radius: var(--hd-radius);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.hd-calc__result dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 18px;
  font-size: 15.5px;
}
.hd-calc__result dt { color: var(--hd-slate); }
.hd-calc__result dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--hd-ink);
}
.hd-calc__result dd small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hd-slate);
}
.hd-calc__big {
  border-top: 1.5px solid rgba(228, 169, 59, .55);
  margin-top: 14px;
  padding-top: 16px;
}
.hd-calc__big .hd-calc__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hd-slate);
}
.hd-calc__big strong {
  display: block;
  font-family: var(--hd-font-display);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  color: var(--hd-green);
  font-variant-numeric: tabular-nums;
}
.hd-calc__big em {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-slate);
}
.hd-calc__hint {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--hd-ink);
}
.hd-calc__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--hd-slate);
}
@media (max-width: 760px) {
  .hd-calc { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. HERO-ILLUSTRATION (Bühne)
   -------------------------------------------------------------------------- */
.hd-hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hd-hero__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hd-hero__stage > svg { width: 100%; height: auto; display: block; }
.hd-hero__tag {
  position: absolute;
  right: 4%;
  top: 9%;
  animation: hd-float 5.5s ease-in-out infinite;
}
@keyframes hd-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-9px) rotate(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hd-hero__tag { animation: none; }
}

/* Scroll-Reveal — Klassen setzt das kleine Script im CTA-Pattern (nur Startseite).
   Ohne JS/mit reduced-motion bleibt alles einfach sichtbar. */
.hd-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--hd-ease), transform .6s var(--hd-ease);
  transition-delay: var(--hd-reveal-delay, 0ms);
}
.hd-reveal.hd-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hd-reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hd-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hd-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hd-hero { grid-template-columns: 1fr; gap: 28px; }
  /* Mobile: BOTSCHAFT ZUERST — Illustration kompakt danach (v1 hatte order:-1 = Bild vor Text, Headline unter der Falte) */
  .hd-hero__stage { min-height: 0; }
  .hd-hero__stage > svg { max-width: 400px; margin-inline: auto; }
  .hd-story { grid-template-columns: 1fr; }
  .hd-story__media { min-height: 260px; }
}
@media (max-width: 620px) {
  .hd-grid--3, .hd-grid--2, .hd-grid--4 { grid-template-columns: 1fr; gap: 16px; }
  .hd-btn { width: 100%; }
  .hd-tag__price { font-size: 22px; }
  .hd-section { scroll-margin-top: 68px; }
  .hd-section-head { margin-bottom: 30px; }
  .hd-card { padding: 26px 22px; }
  .hd-product__media { min-height: 185px; }
}
@media (max-width: 380px) {
  /* Sehr schmale Screens: Marker-Phrase darf umbrechen — Unterstreichung dann via box-shadow (mehrzeilig-fähig) */
  .hd-mark { white-space: normal; box-shadow: inset 0 -0.3em 0 rgba(228, 169, 59, .55); }
  .hd-mark::after { display: none; }
}

/* --------------------------------------------------------------------------
   16. WOOCOMMERCE — Basis (Buttons, Badges, Meldungen, Felder)
   Modernisierung 2026-07-08: Produktseite + Loop raus aus der Standard-Optik —
   rund (r20/r12), weiche Tiefe, Amber/Petrol, Pill-Tabs, Chip-Badges.
   Reale Selektoren geprüft: Blocksy .out-of-stock-badge/.ct-cart-actions,
   Germanized .price-unit/.wc-gzd-additional-info, WC ul.tabs.wc-tabs.
   -------------------------------------------------------------------------- */

/* Buttons überall im Shop auf Hussen-Depot-Optik */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wc-block-components-button {
  font-family: var(--hd-font-body);
  font-weight: 700;
  background: var(--hd-amber);
  color: var(--hd-ink);
  border: 2px solid var(--hd-amber);
  border-radius: var(--hd-radius-sm);
  padding: 14px 24px;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:hover {
  background: var(--hd-amber-dark);
  border-color: var(--hd-amber-dark);
  color: var(--hd-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 38, 43, .18);
}

/* Badges: „Ausverkauft" (Blocksy) + Sale — HD-Chips statt Fremd-Blau */
.out-of-stock-badge,
.woocommerce span.onsale {
  background: var(--hd-ink) !important;
  color: #FFFFFF !important;
  font-family: var(--hd-font-body);
  font-size: 11.5px !important;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px !important;
  padding: 7px 13px !important;
  line-height: 1.3 !important;
  min-height: 0; min-width: 0;
  box-shadow: 0 2px 8px rgba(20, 38, 43, .22);
}

/* Systemmeldungen */
.woocommerce-message { border-top-color: var(--hd-green); }
.woocommerce-info    { border-top-color: var(--hd-petrol); }
.woocommerce-error   { border-top-color: #B3401E; }
.woocommerce-message::before { color: var(--hd-green); }
.woocommerce-info::before    { color: var(--hd-petrol); }

/* Formularfelder */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1.5px solid var(--hd-line-strong);
  border-radius: var(--hd-radius-sm);
  padding: 12px 14px;
  font-family: var(--hd-font-body);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--hd-petrol);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 86, 97, .14);
}

/* Warenkorb-/Kassen-Tabellen */
.woocommerce table.shop_table {
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius);
  border-collapse: separate;
}
.woocommerce table.shop_table th { font-family: var(--hd-font-body); font-weight: 700; }

/* Menge-Stepper */
.woocommerce .quantity .qty {
  border: 1.5px solid var(--hd-line-strong);
  border-radius: var(--hd-radius-sm);
  padding: 12px 8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Breadcrumbs dezent */
.woocommerce .woocommerce-breadcrumb { color: var(--hd-slate); font-size: 13.5px; }

/* Netto-Suffix („zzgl. USt") dezent absetzen — WooCommerce-Einstellung Preiszusatz */
.woocommerce .price .woocommerce-price-suffix {
  font-family: var(--hd-font-body);
  font-size: .48em;
  font-weight: 600;
  color: var(--hd-slate);
}

/* --------------------------------------------------------------------------
   16a. SHOP-LISTE / PRODUKTKARTEN (Loop + Related/Cross-Sells)
   Katalog-Karten wie auf der Startseite: klare Border, Hover-Lift,
   geordnete Preis-Hierarchie (Gebindepreis führt, Grundpreis + Rechtszeilen dezent).
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--hd-card);
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius);
  overflow: hidden;
  padding-bottom: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.woocommerce ul.products li.product figure { margin: 0; }
/* Kategorie-Zeile raus — bei einer einzigen Kategorie („Hussen") reine Redundanz */
.woocommerce ul.products li.product .entry-meta { display: none; }
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--hd-shadow-lift);
  border-color: var(--hd-petrol);
}
.woocommerce ul.products li.product img {
  display: block;
  width: 100%;
  border-radius: 0;
  transition: transform .35s var(--hd-ease);
}
.woocommerce ul.products li.product:hover img { transform: scale(1.03); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 18.5px;
  line-height: 1.25;
  padding: 16px 20px 2px;
}

/* Gebindepreis = Held der Karte */
.woocommerce ul.products li.product .price {
  font-family: var(--hd-font-display);
  font-weight: 700;
  color: var(--hd-petrol);
  font-variant-numeric: tabular-nums;
  font-size: 23px;
  padding: 2px 20px 0;
  margin-bottom: 4px;
}
/* Grundpreis (Germanized .price-unit trägt auch .price → zurückstufen) */
.woocommerce ul.products li.product .price.price-unit {
  font-family: var(--hd-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--hd-slate);
  padding: 6px 20px 0;
  margin-bottom: 0;
}
/* Brutto-Zweitpreis-Suffix als eigene ruhige Zeile (PAngV: bleibt sichtbar) */
.woocommerce ul.products li.product .price .woocommerce-price-suffix {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 3px;
}

/* Rechts-/Infozeilen (exkl. MwSt · Versand · Gebindeinhalt) als ruhiger Fußblock
   VOR dem Button — der Button schließt die Karte kataloghaft ab (flex order) */
.woocommerce ul.products li.product .wc-gzd-additional-info {
  font-size: 12px;
  line-height: 1.5;
  color: var(--hd-slate);
  padding: 0 20px;
  margin: 1px 0;
  order: 8;
}
.woocommerce ul.products li.product .wc-gzd-additional-info a { color: var(--hd-slate); text-decoration: underline; }

/* Button bündig, voll und in allen Karten auf gleicher Höhe */
.woocommerce ul.products li.product .ct-woo-card-actions {
  order: 10;
  margin-top: auto;
  padding: 14px 20px 0;
}
.woocommerce ul.products li.product .button {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   16b. PRODUKTSEITE (Single Product)
   Galerie als weiche Karte · strukturierter Kauf-Block · Grundpreis-Chip ·
   moderne Farbauswahl · Pill-Tabs mit Karten-Panel.
   -------------------------------------------------------------------------- */

/* Galerie: Karte mit HD-Tiefe (die Illustrations-PNGs bringen ihren BG mit) */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images {
  border-radius: var(--hd-radius);
}
.woocommerce div.product div.images {
  border: 1.5px solid var(--hd-line);
  overflow: hidden;
  background: var(--hd-card);
  box-shadow: var(--hd-shadow);
}
.woocommerce div.product div.images img { display: block; width: 100%; }

/* Titel */
.woocommerce div.product .product_title {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

/* Preis-Hierarchie: Gebindepreis groß, Grundpreis als Amber-Chip, Rechtszeile dezent */
.woocommerce div.product p.price {
  font-family: var(--hd-font-display);
  font-weight: 700;
  color: var(--hd-petrol);
  font-variant-numeric: tabular-nums;
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 4px;
}
.woocommerce div.product .entry-summary .price.price-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--hd-amber-soft);
  border: 1px solid rgba(228, 169, 59, .45);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--hd-font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--hd-ink);
  margin: 2px 0 6px;
}
.woocommerce div.product .entry-summary .legal-price-info,
.woocommerce div.product .entry-summary .wc-gzd-additional-info {
  font-size: 13.5px;
  color: var(--hd-slate);
  margin: 2px 0;
}
.woocommerce div.product .entry-summary .wc-gzd-additional-info a { color: var(--hd-petrol); }

/* Kurzbeschreibung mit Luft */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--hd-ink);
  margin: 14px 0 6px;
}

/* Verfügbarkeits-Status als Chip (ruhig, B2B — kein Alarm-Rot) */
.woocommerce div.product p.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hd-paper);
  border: 1.5px solid var(--hd-line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hd-slate);
}
.woocommerce div.product p.stock::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #B3401E;
  flex: none;
}
.woocommerce div.product p.stock.in-stock::before { background: var(--hd-green); }

/* Farbauswahl (Variationen): Label klein-caps, Select modern mit eigenem Chevron */
.woocommerce div.product form.cart table.variations { margin-bottom: 4px; }
.woocommerce div.product form.cart table.variations th.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hd-slate);
  padding: 0 0 7px;
}
.woocommerce div.product form.cart table.variations select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: auto;
  line-height: 1.3;
  border: 1.5px solid var(--hd-line-strong);
  border-radius: var(--hd-radius-sm);
  background: var(--hd-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F5661' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center;
  padding: 13px 44px 13px 15px;
  font-family: var(--hd-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--hd-ink);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.woocommerce div.product form.cart table.variations select:focus {
  border-color: var(--hd-petrol);
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 86, 97, .14);
}
.woocommerce div.product form.cart .reset_variations {
  font-size: 12.5px;
  color: var(--hd-slate);
}

/* Kauf-Zeile: Menge + Button auf einer Höhe, Button dominiert.
   Nur .ct-cart-actions flexen — der äußere .woocommerce-variation-add-to-cart
   als zweiter Flex-Container ließ die Zeile auf Inhaltsbreite schrumpfen. */
.woocommerce div.product form.cart .ct-cart-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
}
.woocommerce div.product form.cart .quantity .qty {
  height: 56px;
  width: 86px;
  text-align: center;
  font-size: 16px;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1;
  min-height: 56px;
  font-size: 16.5px;
  padding: 15px 28px;
}

/* Meta (Artikelnummer, Kategorie): ruhige Fußzeile mit Trennlinie */
.woocommerce div.product .product_meta {
  border-top: 1.5px solid var(--hd-line);
  margin-top: 22px;
  padding-top: 16px;
  font-size: 13px;
  color: var(--hd-slate);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.woocommerce div.product .product_meta > span { display: inline-flex; gap: 5px; }
.woocommerce div.product .product_meta .sku,
.woocommerce div.product .product_meta a {
  color: var(--hd-ink);
  font-weight: 600;
}

/* Tabs → Pills + Karten-Panel (Standard-Unterstrich-Tabs komplett neutralisieren) */
.woocommerce div.product .woocommerce-tabs { margin-top: 44px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 !important;
  margin: 0 0 18px !important;
  border: none !important;
  overflow: visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px !important;
  font-family: var(--hd-font-body);
  font-size: 14.5px;
  font-weight: 700 !important;
  color: var(--hd-slate) !important;
  background: var(--hd-paper);
  border: 1.5px solid var(--hd-line);
  border-radius: 999px;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { border-color: var(--hd-petrol); color: var(--hd-petrol) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background: var(--hd-petrol);
  border-color: var(--hd-petrol);
  color: #FFFFFF !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
  background: var(--hd-card);
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius);
  box-shadow: var(--hd-shadow);
  padding: clamp(24px, 4vw, 42px);
  margin: 0;
}
.woocommerce div.product .woocommerce-tabs .panel > h2:first-of-type { font-size: 24px; margin-top: 0; }
.woocommerce div.product .woocommerce-tabs .panel p { line-height: 1.7; }

/* Attribute-„Datenblatt" (Zusätzliche Informationen): Zebra raus, klare Zeilen */
.woocommerce table.woocommerce-product-attributes { border: none; }
.woocommerce table.woocommerce-product-attributes tr:nth-child(odd) th,
.woocommerce table.woocommerce-product-attributes tr:nth-child(odd) td,
.woocommerce table.woocommerce-product-attributes tr:nth-child(even) th,
.woocommerce table.woocommerce-product-attributes tr:nth-child(even) td {
  background: transparent;
}
.woocommerce table.woocommerce-product-attributes th,
.woocommerce table.woocommerce-product-attributes td {
  border-bottom: 1px solid var(--hd-line);
  padding: 13px 16px 13px 0;
  font-style: normal;
}
.woocommerce table.woocommerce-product-attributes th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hd-slate);
  width: 220px;
}
.woocommerce table.woocommerce-product-attributes td { color: var(--hd-ink); font-weight: 600; }
.woocommerce table.woocommerce-product-attributes tr:last-child th,
.woocommerce table.woocommerce-product-attributes tr:last-child td { border-bottom: none; }

/* Related/Cross-Sells-Überschrift („Das kaufen Verleiher dazu") im Display-Stil */
.woocommerce div.product .related.products > h2,
.woocommerce .cross-sells > h2 {
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.015em;
  margin: 46px 0 22px;
}

/* Mobile-Feinschliff Produktseite */
@media (max-width: 768px) {
  .woocommerce div.product .product_title { font-size: 29px; }
  .woocommerce div.product p.price { font-size: 33px; }
  .woocommerce div.product div.images { margin-bottom: 22px; }
  .woocommerce div.product form.cart .quantity .qty { width: 76px; }
  .woocommerce div.product .woocommerce-tabs { margin-top: 34px; }
}

/* --------------------------------------------------------------------------
   17. FEEDBACK-RUNDE 2 (2026-07-08): Header-Abstand · Shop-Kopf · Tabelle mobil
   -------------------------------------------------------------------------- */

/* Blocksys Content-Spacing (.ct-container-full padding-top: 60px) erzeugte den
   „Weißstreifen" zwischen Header und Hero — Startseite dockt jetzt direkt an. */
.home .ct-container-full { padding-top: 0; }
/* Unterseiten: mobil weniger Leerraum zwischen Header und Inhaltsbeginn */
@media (max-width: 768px) {
  .ct-container, .ct-container-full { padding-top: 26px; }
  .home .ct-container-full { padding-top: 0; }
}

/* Shop-Kopf im HD-Stil (Content der Shop-Seite) — Eyebrow ohne Sektions-Nummer */
.hd-eyebrow--plain { padding: 8px 16px; }
.hd-eyebrow--plain::before { content: none; }
.hd-shop-head {
  text-align: center;
  max-width: 780px;
  margin: 6px auto 38px;
}
.hd-shop-head h1 {
  font-family: var(--hd-font-display);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 14px;
}
.hd-shop-head p { max-width: 720px; margin: 0 auto; }

/* Blocksy-Doppeltitel („Sortiment") + WC-Ergebniszeile/Sortierung raus —
   bei 3 Produkten reine Standard-Optik ohne Nutzen */
.woocommerce-shop .page-title,
.post-type-archive-product .page-title,
.woocommerce-shop .entry-header,
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering { display: none; }

/* Rechner: Artikel-Umschalter (Segmented Pills, wie die Produkt-Tabs).
   .hd-calc ist ein 2-Spalten-Grid — der Toggle spannt als eigene Zeile darüber,
   sonst wird er in eine Zelle gestreckt (Riesen-Ovale). */
.hd-calc__toggle {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}
.hd-calc__toggle button {
  font-family: var(--hd-font-body);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hd-slate);
  background: var(--hd-paper);
  border: 1.5px solid var(--hd-line);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.hd-calc__toggle button:hover { border-color: var(--hd-petrol); color: var(--hd-petrol); }
.hd-calc__toggle button.is-active {
  background: var(--hd-petrol);
  border-color: var(--hd-petrol);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   18. FORMULARE (CF7: Muster-Anfrage + Kontakt) — Formular-Karte im HD-Look
   Markup-Struktur (hd-form__grid) kommt aus den CF7-Formularen #35/#36.
   -------------------------------------------------------------------------- */
.wpcf7 {
  max-width: 780px;
}
.wpcf7 form {
  background: var(--hd-card);
  border: 1.5px solid var(--hd-line);
  border-radius: var(--hd-radius);
  box-shadow: var(--hd-shadow);
  padding: clamp(24px, 4vw, 40px);
  margin-top: 10px;
}
/* CF7 wickelt durch autop jedes Element in ein <p> — die Ps sind die Layout-Zellen */
.wpcf7 form p { margin: 0 0 16px; }
.hd-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.hd-form__grid > p { margin: 0; }
.wpcf7 form label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hd-ink);
  margin: 0;
}
.wpcf7 form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
  width: 100%;
  border: 1.5px solid var(--hd-line-strong);
  border-radius: var(--hd-radius-sm);
  background: #FDFCFA;
  padding: 13px 15px;
  font-family: var(--hd-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--hd-ink);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.wpcf7 form input:focus,
.wpcf7 form textarea:focus {
  border-color: var(--hd-petrol);
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 86, 97, .14);
}
.wpcf7 form ::placeholder { color: #9AA7A6; font-weight: 400; }
.wpcf7 form textarea { resize: vertical; min-height: 96px; }

/* Datenschutz-Zustimmung: ruhige Zeile mit Petrol-Checkbox */
.wpcf7 form .wpcf7-acceptance { display: block; margin: 4px 0 18px; }
.wpcf7 form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hd-slate);
  margin: 0;
  cursor: pointer;
}
.wpcf7 form .wpcf7-acceptance input[type="checkbox"] {
  width: 19px; height: 19px;
  margin-top: 1px;
  accent-color: var(--hd-petrol);
  flex: none;
  cursor: pointer;
}
.wpcf7 form .wpcf7-acceptance a { color: var(--hd-petrol); font-weight: 700; }

/* Submit im HD-Button-Stil (CF7-Submit ist ein eigenes Element, kein .button) */
.wpcf7 form input[type="submit"] {
  width: 100%;
  min-height: 56px;
  background: var(--hd-amber);
  color: var(--hd-ink);
  border: 2px solid var(--hd-amber);
  border-radius: var(--hd-radius-sm);
  font-family: var(--hd-font-body);
  font-size: 16.5px;
  font-weight: 700;
  padding: 15px 28px;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.wpcf7 form input[type="submit"]:hover:not(:disabled) {
  background: var(--hd-amber-dark);
  border-color: var(--hd-amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 38, 43, .18);
}
.wpcf7 form input[type="submit"]:disabled { opacity: .55; cursor: not-allowed; }
.wpcf7 .wpcf7-spinner { margin: 10px auto 0; display: block; }

/* Feld-Fehler + Response als Notice-Karten statt Steinzeit-Rahmen */
.wpcf7 form .wpcf7-not-valid { border-color: #B3401E; }
.wpcf7 form .wpcf7-not-valid-tip { font-size: 12.5px; font-weight: 600; color: #B3401E; margin-top: 5px; }
.wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: var(--hd-radius-sm);
  border: 1.5px solid var(--hd-line);
  background: var(--hd-paper);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--hd-ink);
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(30, 123, 52, .5);
  background: #EDF5EE;
  color: var(--hd-green);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: rgba(179, 64, 30, .45);
  background: #F9EEE9;
  color: #8F3115;
}

@media (max-width: 640px) {
  .hd-form__grid { grid-template-columns: 1fr; gap: 0; }
  .wpcf7 form { padding: 22px 18px 24px; }
}

/* --------------------------------------------------------------------------
   19. HD-FOOTER (functions.php rendert ihn via blocksy:footer:before) —
   3 Spalten: Marke · Kontakt · Rechtliches, Petrol-Deep mit Punktraster.
   Blocksys Rumpf-Footer (nur „WordPress Theme von…"-Copyright) wird ersetzt.
   -------------------------------------------------------------------------- */
footer.ct-footer { display: none; }

.hd-footer {
  background:
    radial-gradient(640px 300px at 85% 0%, rgba(228, 169, 59, .08), transparent 70%),
    var(--hd-petrol-deep);
  background-image:
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px),
    radial-gradient(640px 300px at 85% 0%, rgba(228, 169, 59, .08), transparent 70%);
  background-size: 26px 26px, auto;
  background-color: var(--hd-petrol-deep);
  color: rgba(242, 247, 247, .82);
  font-size: 14.5px;
}
.hd-footer__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 64px) 24px 38px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}
.hd-footer__logo {
  display: block;
  height: 46px;
  width: auto;
  margin-bottom: 16px;
}
.hd-footer__brand p {
  margin: 0;
  max-width: 320px;
  line-height: 1.6;
}
.hd-footer__col h3 {
  font-family: var(--hd-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #F2C063;
  margin: 6px 0 14px;
}
.hd-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hd-footer__col a {
  color: rgba(242, 247, 247, .82);
  text-decoration: none;
  transition: color .14s ease;
}
.hd-footer__col a:hover { color: var(--hd-amber); }
.hd-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .12);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 22px;
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(242, 247, 247, .6);
}
@media (max-width: 768px) {
  .hd-footer__wrap { grid-template-columns: 1fr; gap: 28px; }
  .hd-footer__bar { flex-direction: column; }
}

/* Preisvergleich mobil: Karten-Stack statt 640px-Quer-Scroll-Tabelle */
@media (max-width: 700px) {
  .hd-compare { overflow: visible; }
  .hd-compare table,
  .hd-compare tbody,
  .hd-compare tr,
  .hd-compare td { display: block; width: 100%; }
  .hd-compare thead { display: none; }
  .hd-compare table { min-width: 0; background: transparent; border: none; border-radius: 0; overflow: visible; }
  .hd-compare tr {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--hd-radius-sm);
    padding: 16px 18px 15px;
    margin-bottom: 12px;
  }
  .hd-compare tr:last-child { margin-bottom: 0; }
  .hd-compare td,
  .hd-compare tr:last-child td { border: none; padding: 0; }
  .hd-compare td:first-child {
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(242, 247, 247, .72);
    margin-bottom: 7px;
  }
  .hd-compare td:nth-child(2) { margin-bottom: 6px; }
  .hd-compare .hd-compare__price { font-size: 27px; }
  .hd-compare td:last-child { font-size: 14px; line-height: 1.55; color: rgba(242, 247, 247, .8); }
  .hd-compare tr.is-hero { background: rgba(228, 169, 59, .14); border: 2px solid var(--hd-amber); }
  .hd-compare tr.is-hero td,
  .hd-compare tr.is-hero td:first-child,
  .hd-compare tr.is-hero td:last-child { border: none; }
  .hd-compare tr.is-hero .hd-compare__price { font-size: 31px; }
}
.woocommerce .woocommerce-breadcrumb a { color: var(--hd-petrol); }
