/*
Theme Name: Blocksy Retro Hero
Theme URI: https://www.retrohero.ch
Description: Child-Theme von Blocksy fuer Retro Hero – Raeumungen & Antiquitaeten (retrohero.ch). Farben, Schriften und Layouts gemaess dem finalen Claude-Design (Variante „C – Edel, Antik, Modern"). Alle Anpassungen ausschliesslich in diesem Child-Theme; das Blocksy-Parent-Theme wird nie veraendert.
Author: Retro Hero (Helder Barros)
Author URI: https://www.retrohero.ch
Template: blocksy
Version: 0.84.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-retrohero
*/

/* ============================================================
   RETRO HERO – DESIGN-TOKENS
   Massgeblich: finales Design (Theme „C"), Dateien styles.css + theme-c.css
   Marke: Teal #14838A · Anthrazit · warmer heller Hintergrund
   Typografie: Cormorant Garamond (Ueberschriften) · Archivo (Fliesstext)
   Hinweis: Schriften werden lokal geladen (Schweizer DSG) – siehe assets/css/fonts.css
   ============================================================ */
:root {
  /* --- Teal / Markenfarbe --- */
  --rh-teal:       #14838A;  /* Primaerfarbe */
  --rh-teal-deep:  #0B5E64;  /* dunkleres Teal (Hover, Links) */
  --rh-teal-ink:   #0A4A4F;  /* sehr dunkles Teal (Text auf hell) */
  --rh-teal-tint:  #E7F1F0;  /* helle Teal-Flaeche (Badges, Felder) */

  /* --- Neutralfarben --- */
  --rh-ink:        #232A2C;  /* Haupttext / Anthrazit */
  --rh-ink-soft:   #51605F;  /* Sekundaertext / Grau */
  --rh-paper:      #F7F7F6;  /* helle Kontrastflaeche (z. B. Foto-Dropzone) - neutral statt beige, passend zum weissen Seitenhintergrund */
  --rh-ivory:      #FFFFFF;  /* Seitenhintergrund (Theme C) - auf Weiss umgestellt, Owner-Wunsch 2026-07 */
  --rh-card:       #FFFFFF;  /* Karten / Eingabefelder */
  --rh-line:       #E4E1D7;  /* Linien / Rahmen */

  /* --- Gold / Akzent (Theme C) --- */
  --rh-gold:       #C9A24B;  /* Gold-Akzent (Rahmen, Ziffern) */
  --rh-gold-text:  #8A6A1E;  /* Gold als Textfarbe (WCAG-AA-kontrastreich auf hell) */
  --rh-gold-base:  #DCA742;  /* Basis-Gold (Sterne/Bewertungen) */

  /* --- Edel-Dunkeltoene (Rahmen, Tiefe) --- */
  --rh-deep:       #16201F;
  --rh-deep-2:     #1D2B2A;

  /* --- Schriftfamilien --- */
  --rh-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --rh-sans:  "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- Form --- */
  --rh-wrap: 1140px;   /* maximale Inhaltsbreite */
  --rh-radius: 14px;   /* Standard-Radius (Theme C setzt viele Kanten bewusst auf 0) */
}

/* ============================================================
   BASIS-STYLING
   Das vollstaendige Design-System (Body, Typografie, Buttons, Header,
   Footer, Sektionen) liegt in assets/styles.css + assets/theme-c.css
   – 1:1 aus dem finalen Design uebernommen – und wird in functions.php
   geladen. Die obigen --rh-* Tokens stehen fuer eigene Ergaenzungen bereit.
   ============================================================ */

/* ============================================================
   SEITENINHALT (Gutenberg) – Marken-Feinschliff
   Greift fuer Inhalte, die als Bloecke in der Datenbank liegen.
   ============================================================ */

/* Lead-Absatz (Intro) etwas groesser/ruhiger */
.lead {
  font-size: 18px;
  color: var(--rh-ink-soft);
}

/* Gutenberg-Buttons im Marken-Stil (Teal).
   Hoehere Spezifitaet (via .wp-element-button), damit sie Blocksys
   Standard-Button-Farben sicher ueberschreiben. Gefuellt und Outline
   haben denselben Rahmen (1.5px) + dasselbe Padding -> gleiche Groesse. */
.wp-block-button > .wp-block-button__link.wp-element-button {
  background-color: var(--rh-teal);
  color: #fff;
  border: 1.5px solid var(--rh-teal);
  border-radius: 10px;
  font-weight: 600;
  padding: 14px 24px;
}
.wp-block-button > .wp-block-button__link.wp-element-button:hover {
  background-color: var(--rh-teal-deep);
  border-color: var(--rh-teal-deep);
  color: #fff;
}
.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button {
  background-color: transparent;
  color: var(--rh-teal-deep);
  border: 1.5px solid var(--rh-teal);
}
.wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:hover {
  background-color: var(--rh-teal-tint);
  color: var(--rh-teal-deep);
}

/* ============================================================
   KONTAKTFORMULAR (Contact Form 7) – im Design-Stil (.field-Look)
   ============================================================ */
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 6px;
  color: var(--rh-ink);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--rh-ink);
  background: var(--rh-card);
  border: 1px solid #CFCBBF;
  border-radius: 10px;
  padding: 12px 14px;
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: 2px solid var(--rh-teal);
  outline-offset: 1px;
  border-color: var(--rh-teal);
}
.wpcf7-form input[type="file"] { font-size: 14.5px; color: var(--rh-ink-soft); }
/* Dropdown: genug Hoehe, damit der Text (z.B. "Räumung") nicht oben abgeschnitten wird */
.wpcf7-form select { height: auto; min-height: 48px; line-height: 1.5; }
/* Pflichtfeld-Stern */
.rh-req { color: #C0392B; font-weight: 700; }
/* Foto-Upload-Felder: 2 Spalten (je 3), mobil einspaltig (Fallback ohne JS) */
.rh-foto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.rh-foto-grid p { margin: 0 0 8px; }
@media (max-width: 600px) { .rh-foto-grid { grid-template-columns: 1fr; } }
/* Vereinheitlichter Foto-Uploader (Progressive Enhancement ueber .rh-foto-grid, siehe photo-upload.js) */
.rh-foto-grid.rh-foto-grid--enhanced { display: none; }
.rh-photo-uploader { margin: 0 0 8px; }
.rh-photo-drop {
  border: 2px dashed var(--rh-line);
  border-radius: var(--rh-radius);
  padding: 20px 18px;
  text-align: center;
  cursor: pointer;
  color: var(--rh-ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
  background: var(--rh-paper);
  transition: border-color .2s ease, background .2s ease;
}
.rh-photo-drop strong { color: var(--rh-ink); }
.rh-photo-drop:hover,
.rh-photo-drop:focus-visible { border-color: var(--rh-gold); background: #fff; }
.rh-photo-drop.is-dragover { border-color: var(--rh-teal); background: var(--rh-teal-tint); }
.rh-photo-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rh-photo-list li {
  display: flex; align-items: center; gap: 8px;
  background: var(--rh-teal-tint); color: var(--rh-teal-ink);
  border-radius: 999px; padding: 4px 6px 4px 4px; font-size: 13px; max-width: 100%;
}
.rh-photo-list .rh-photo-thumb { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: #fff; }
.rh-photo-list .rh-photo-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.rh-photo-sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rh-photo-list button {
  border: 0; background: rgba(11, 94, 100, .12); color: var(--rh-teal-deep);
  width: 20px; height: 20px; border-radius: 50%; line-height: 1; cursor: pointer; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.rh-photo-list button:hover { background: rgba(11, 94, 100, .22); }
.rh-photo-notice { margin: 8px 0 0; font-size: 13px; color: var(--rh-gold-text); }
.wpcf7-form .wpcf7-submit {
  background: var(--rh-teal);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16.5px;
  padding: 14px 24px;
  cursor: pointer;
  width: 100%;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--rh-teal-deep); }
.rh-upload-hint { font-size: 14.5px; color: var(--rh-ink-soft); margin: 4px 0 8px; }

/* ============================================================
   ARTIKEL-ABSCHNITTE (Unterseiten) – Abstand + feine Trennlinien
   Bildet das Design `.article section + section` nach: Der Inhalt liegt als
   flache Bloecke vor, daher startet jede H2 einen Abschnitt mit Abstand und
   (ausser der ersten) einer feinen Trennlinie. Trennlinien-Ton wie Theme C.
   ============================================================ */
.article .wrap { padding-top: 32px; }
.article .wrap > h2 {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid #D8D2C2;
}
.article .wrap > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* ============================================================
   SHOP (WooCommerce) – „Online-Brocki" im Design
   Vorlage: woocommerce/archive-product.php. Stylt das WooCommerce-Markup
   (ul.products / li.product) im Design-Look + Filter-Chips + Info-Block.
   ============================================================ */

/* Standard-Sortierung/Trefferzahl ausblenden (Design nutzt Filter-Chips) */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { display: none; }

/* Filter-Chips (Produktkategorien) */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.fchip {
  display: inline-flex; align-items: center;
  padding: 9px 16px; border: 1.5px solid #CFCABA; border-radius: 999px;
  background: #fff; color: var(--rh-ink);
  font-weight: 600; font-size: 14.5px; text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.fchip:hover { border-color: var(--rh-gold); color: var(--rh-teal-deep); }
.fchip.active { background: var(--rh-teal); border-color: var(--rh-teal); color: #fff; }

/* Produktraster */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }

/* Produktkarte */
.woocommerce ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #D8D2C2; overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--rh-gold);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(22, 32, 31, .35);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
.woocommerce ul.products li.product .ct-media-container {
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-bottom: 1px solid #EDE9DE;
}
.woocommerce ul.products li.product img {
  margin: 0; width: 100%; height: auto; max-height: 100%;
  object-fit: contain;
  background: #fff;
}
/* Blocksys eigenes Kategorie-Meta in der Karte ausblenden – wir zeigen .rh-pcat (oben, golden) */
.woocommerce ul.products li.product .entry-meta,
.woocommerce ul.products li.product .meta-categories { display: none; }
.woocommerce ul.products li.product .rh-pcat {
  display: block; padding: 14px 16px 0;
  font: 600 11px var(--rh-sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--rh-gold-text);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 2px 16px 0; margin: 0;
  font-family: var(--rh-serif); font-size: 20px; font-weight: 600; line-height: 1.2;
  color: var(--rh-ink);
}
.woocommerce ul.products li.product .price {
  padding: 6px 16px 0; margin: 0;
  color: var(--rh-teal-deep); font-weight: 700; font-size: 16px;
}
.woocommerce ul.products li.product .price del { color: var(--rh-ink-soft); font-weight: 400; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

/* „In den Warenkorb" als Design-Button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart {
  display: block; margin: 16px; background: var(--rh-teal); color: #fff;
  border: 0; border-radius: 8px; padding: 11px 16px;
  font-weight: 600; text-align: center; transition: background .15s;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .added_to_cart:hover { background: var(--rh-teal-deep); color: #fff; }
.woocommerce ul.products li.product .added_to_cart { margin-top: 0; }

@media (max-width: 1000px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* Einzelstuecke: „Verkauft"-Markierung */
.woocommerce ul.products li.product { position: relative; }
.rh-sold-badge {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: #A05A2C; color: #fff; padding: 6px 11px;
  font: 600 11px var(--rh-sans); letter-spacing: .08em; text-transform: uppercase;
}
.woocommerce ul.products li.product.outofstock a img { opacity: .55; }
.single-product .stock.out-of-stock {
  display: inline-block; color: #A05A2C; font-weight: 700;
  font-size: 16px; margin: 4px 0 8px;
}

/* ============================================================
   WARENKORB + KASSE (WooCommerce) – Marken-Feinschliff
   ============================================================ */
.woocommerce-cart h1, .woocommerce-checkout h1,
#order_review_heading, .cart_totals h2,
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3 {
  font-family: var(--rh-serif);
}

/* Produktnamen serifenbetont, Preise/Summen in Teal */
.woocommerce-cart table.cart td.product-name a {
  font-family: var(--rh-serif); font-size: 18px; color: var(--rh-ink); text-decoration: none;
}
.woocommerce-cart table.cart td.product-name a:hover { color: var(--rh-teal-deep); }
.woocommerce-cart .product-price .amount,
.woocommerce-cart .product-subtotal .amount,
.woocommerce .order-total .amount { color: var(--rh-teal-deep); font-weight: 700; }
.woocommerce-cart table.cart td.product-thumbnail img {
  width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--rh-line);
}

/* Summen-Box (Warenkorb) + Bestellübersicht (Kasse) als weisse Karte */
.woocommerce-cart .cart_totals { background: #fff; border: 1px solid var(--rh-line); padding: 24px; }
.woocommerce-cart .cart_totals h2 { margin-top: 0; }

/* Kasse: Formularfelder im .field-Look */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout select {
  border: 1px solid #CFCBBF !important; border-radius: 10px !important;
  padding: 12px 14px !important; font-size: 16px; min-height: 48px;
}
.woocommerce-checkout .form-row label { font-weight: 600; font-size: 14.5px; color: var(--rh-ink); }
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
  outline: 2px solid var(--rh-teal); border-color: var(--rh-teal) !important;
}
.woocommerce-checkout .select2-container .select2-selection--single {
  height: 48px; border: 1px solid #CFCBBF; border-radius: 10px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px; padding-left: 12px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }

/* Info-Block (Abholung / Versand / Ricardo & Etsy) */
.shop-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.shop-info .sinfo h3 { font-family: var(--rh-serif); margin: 0 0 8px; }
.shop-info .sinfo p { color: var(--rh-ink-soft); margin: 0; }
.shop-info .sinfo a { color: var(--rh-teal-deep); }
@media (max-width: 760px) { .shop-info { grid-template-columns: 1fr; gap: 22px; } }

.shop-note { color: var(--rh-ink-soft); }

/* ============================================================
   EINZELPRODUKTSEITE (PDP) im Design
   ============================================================ */
/* Kategorie als goldenes Label oben; WooCommerce-Meta (Kategorie/SKU) ausblenden */
.single-product .product_meta { display: none; }
.rh-pcat-single {
  display: block; margin-bottom: 6px;
  font: 600 12px var(--rh-sans); letter-spacing: .15em; text-transform: uppercase;
  color: var(--rh-gold-text);
}
.single-product .summary .price,
.single-product .summary .price ins {
  color: var(--rh-teal-deep); font-weight: 700; font-size: 26px;
}
.single-product .summary .price del { color: var(--rh-ink-soft); font-weight: 400; font-size: 18px; margin-right: 8px; }
.single-product .woocommerce-product-gallery__wrapper img,
.single-product .woocommerce-product-gallery img { border: 1px solid #D8D2C2; background: #fff; }
/* Hauptbild NICHT beschneiden: ganzes Objekt zeigen, Rest weiss (Owner 2026-08).
   Blocksy-Galerie = figure.ct-media-container mit aspect-ratio 3/4 + object-fit cover. */
.single-product .woocommerce-product-gallery .ct-media-container img,
.single-product .woocommerce-product-gallery .flexy-item img { object-fit: contain; background: #fff; }
/* Leere Zeile zwischen Eckdaten und Vertrauens-Punkten entfernen (Blocksy-Divider + leeres Meta) */
.single-product .rh-specs + .ct-product-divider,
.single-product .product_meta { display: none; }

/* Vertrauens-Punkte (✦) */
.pdp-trust {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; gap: 9px;
  font-size: 14.5px; color: var(--rh-ink-soft);
}
.pdp-trust li { padding-left: 24px; position: relative; }
.pdp-trust li::before { content: "✦"; position: absolute; left: 4px; top: 2px; color: var(--rh-gold); font-size: 11px; }

/* Detailblock: Beschreibung + Details/Specs (ersetzt die WooCommerce-Reiter) */
.pdp-detail {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 44px;
  /* an die Blocksy-Inhaltsbreite binden (wie Galerie/Info/aehnliche Produkte) */
  max-width: var(--theme-normal-container-max-width, 1290px);
  margin: 50px auto 10px; padding-top: 36px; border-top: 1px solid var(--rh-line);
}
@media (max-width: 1330px) { .pdp-detail { margin-left: 20px; margin-right: 20px; } }
.pdp-detail h2 { font-family: var(--rh-serif); font-size: 22px; margin: 0 0 12px; }
.pdp-detail .pdp-desc p { color: var(--rh-ink-soft); font-size: 15px; margin: 0 0 12px; }
.specs { margin: 0; }
.specs .spec { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rh-line); font-size: 14.5px; }
.specs dt { color: var(--rh-ink-soft); margin: 0; }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 900px) { .pdp-detail { grid-template-columns: 1fr; gap: 26px; } }

/* Eckdaten kompakt in der Info-Spalte (sofort sichtbar) */
.rh-specs { margin: 18px 0 6px; }
.rh-specs .rh-spec { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--rh-line); font-size: 14.5px; }
.rh-specs dt { color: var(--rh-ink-soft); margin: 0; }
.rh-specs dd { margin: 0; font-weight: 600; text-align: right; }

/* Beschreibung unten als einzelne, gut lesbare Spalte */
.pdp-detail-single { display: block; }
.pdp-detail-single .pdp-desc { max-width: 75ch; }
.pdp-detail-single .pdp-desc p { color: var(--rh-ink-soft); }

/* ============================================================
   KATEGORIE-KARTEN (Shop-Uebersicht „Nach Kategorie stoebern")
   Bild-Kacheln mit Verlauf + Label; verlinken aufs Kategorie-Archiv.
   ============================================================ */
.cat-section { padding-top: 8px; }
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}
.cat-card {
  position: relative;
  display: block;
  flex: 0 0 240px;
  max-width: 240px;
  aspect-ratio: 4 / 3;
  border-radius: var(--rh-radius);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(35, 42, 44, .05), 0 12px 32px -16px rgba(35, 42, 44, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cat-card-media { position: absolute; inset: 0; display: block; z-index: 0; }
.cat-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s ease;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15, 26, 25, .82) 0%, rgba(15, 26, 25, .34) 40%, rgba(15, 26, 25, 0) 66%);
}
.cat-card-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 18px;
  font-family: var(--rh-serif);
  font-size: 25px; font-weight: 600; line-height: 1.08; letter-spacing: .005em;
  color: #fff;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(35, 42, 44, .08), 0 22px 44px -18px rgba(35, 42, 44, .34);
}
.cat-card:hover .cat-card-media img { transform: scale(1.05); }
.cat-card:focus-visible { outline: 3px solid var(--rh-teal); outline-offset: 2px; }
@media (max-width: 760px) {
  .cat-grid { gap: 12px; }
  .cat-card { flex: 0 0 calc(50% - 6px); max-width: calc(50% - 6px); }
  .cat-card-label { font-size: 21px; padding: 13px 14px; }
}

/* ============================================================
   KATEGORIE-KARUSSELL (Startseite, „Unser Online-Brocki")
   Endlos von rechts nach links; pausiert bei Hover/Fokus; klickbare Kacheln.
   ============================================================ */
.cat-carousel {
  width: 100%;
  margin-top: 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.cat-carousel-track {
  display: flex;
  width: max-content;
  animation: rh-cat-scroll 40s linear infinite;
  will-change: transform;
}
.cat-carousel:hover .cat-carousel-track,
.cat-carousel:focus-within .cat-carousel-track { animation-play-state: paused; }
.cat-ccard {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  margin-right: 18px;
  aspect-ratio: 4 / 3;
  border-radius: var(--rh-radius);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(35, 42, 44, .05), 0 12px 30px -18px rgba(35, 42, 44, .22);
}
.cat-ccard-media { position: absolute; inset: 0; z-index: 0; }
.cat-ccard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s ease; }
.cat-ccard::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15, 26, 25, .82) 0%, rgba(15, 26, 25, .30) 44%, rgba(15, 26, 25, 0) 70%);
}
.cat-ccard-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px 16px;
  font-family: var(--rh-serif);
  font-size: 22px; font-weight: 600; line-height: 1.1; color: #fff;
}
.cat-ccard:hover .cat-ccard-media img { transform: scale(1.05); }
.cat-ccard:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
@keyframes rh-cat-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-carousel { overflow-x: auto; }
  .cat-carousel-track { animation: none; }
}
@media (max-width: 760px) {
  .cat-ccard { width: 210px; margin-right: 13px; }
  .cat-ccard-label { font-size: 19px; padding: 12px 14px; }
}

/* ============================================================
   IN-CONTENT-BILD (Gutenberg-Bildblock .rh-incontent) – mittig im
   Fliesstext der Dienstleistungsseiten; auf Textspaltenbreite,
   mit Abstand und dezenter Rundung/Schatten.
   ============================================================ */
.article .rh-incontent { max-width: 740px; margin: 36px 0; }
.article .rh-incontent img {
  display: block; width: 100%; height: auto;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(35, 42, 44, .05), 0 16px 36px -20px rgba(35, 42, 44, .30);
}
@media (max-width: 760px) { .article .rh-incontent { margin: 26px 0; } }

/* ============================================================
   HERO (Unterseiten / .page-hero): Eyebrow + TITEL ueber die VOLLE
   Breite, darunter Lauftext links + grosses quadratisches Bild rechts.
   Loest den engen Titel (volle Breite = weniger Zeilen) UND haelt das
   Bild gross. Mobil: gestapelt, Bild 4:3 in voller Breite.
   ============================================================ */
.page-hero .hero-grid, .page-hero .hero-solo { margin-top: 22px; }
.page-hero .media-frame img { aspect-ratio: 4 / 3; }
/* Lange zusammengesetzte Substantive (Datenschutzerklaerung, Geschaeftsbedingungen)
   brechen auf schmalen Bildschirmen sonst willkuerlich mitten im Wort um - echte
   Silbentrennung statt eines beliebigen Zeichen-Umbruchs. NUR mobil: auf Desktop
   ist genug Platz, dort trennte hyphens:auto unnoetig Eigennamen und kurze
   Woerter in der grossen Display-Zeile (Aar-gau, Lei-denschaft, An-kauf). */
@media (max-width: 760px) {
  .page-hero h1 { hyphens: auto; -webkit-hyphens: auto; }
}
@media (min-width: 1021px) {
  /* align-items:center -> Lauftext + Buttons sitzen vertikal mittig zum Bild */
  .page-hero .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
  .page-hero .media-frame img { aspect-ratio: 1 / 1; }
}
/* Hero-Buttons (Unterseiten) etwas groesser – einheitlich auf allen Unterseiten */
.page-hero .hero-ctas .btn { padding: 16px 32px; font-size: 18px; }

/* Hero-Haekchen (Tool-Seite /wert-schaetzen): Vertrauens-Punkte unter den Buttons */
.page-hero .hero-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.page-hero .hero-ticks li { position: relative; padding-left: 24px; color: var(--rh-ink-soft); font-size: 16px; font-weight: 500; }
.page-hero .hero-ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--rh-teal); font-weight: 700; }
/* Anker-Sprungziele unter den fixierten Header schieben; auf der Tool-Seite Smooth-Scroll aus
   (das globale Smooth bricht den Sprung ab, wenn das Hero-Bild nachlaedt) */
#rhs-app, #so-funktionierts { scroll-margin-top: 96px; }

/* Vertrauenszone direkt ueber dem Schaetzungstool (Top-40 Nr. 11) */
.rh-ws-trust { text-align: center; padding: 30px 0 0; }
.rh-ws-trust .rh-guarantees { margin-bottom: 0; }

/* Trust-Zeile vor dem Kontakt-Band der Institutionen-Seite (Top-40 Nr. 14) */
.rh-inst-trust { text-align: center; padding: 8px 0 30px; }
.rh-inst-trust .rh-guarantees { margin-bottom: 0; }

/* Garantie-Chips vor dem Abschluss-Band der Startseite (Top-40 Nr. 18) */
.rh-home-trust { text-align: center; padding: 0 0 34px; }
.rh-home-trust .rh-guarantees { margin-bottom: 0; }

/* "So funktioniert's": 3 Schritte passend zum Tool-Indikator */
.steps-roman--3 { grid-template-columns: repeat(3, 1fr); }

/* FAQ: Fragen als H3 in den Klappkarten (Top-40 Nr. 39) - Optik unveraendert */
.faq-list summary h3,
.article details summary h3 { font: inherit; font-weight: inherit; margin: 0; }

/* Kontaktseite: Tool-Hinweis unter "Anfrage senden" (Top-40 Nr. 38) */
.rh-kontakt-tool { font-size: 0.92rem; color: var(--rh-muted, #6b6257); }
.rh-kontakt-tool a { color: var(--rh-teal, #14838A); text-decoration: underline; text-underline-offset: 3px; }

/* Haftungsausschluss-Hinweis am Seitenende von /wert-schaetzen/ */
.rh-ws-terms { padding: 0 0 12px; }
.rh-ws-terms .wrap { padding-top: 0; }
/* ============================================================
   VORHER/NACHHER-SCHIEBEREGLER (echte Raeumungsfotos, Variante B)
   ============================================================ */
.rh-ba-section { padding: 0 0 72px; }
.steps-c:has(+ .rh-ba-section) { padding-bottom: 43px; }
.steps-c + .rh-ba-section { padding-top: 44px; }
.steps-c + .rh-ba-section > .wrap { border-top: 1px solid #D8D2C2; padding-top: 44px; }
.rh-ba-hinweis { color: var(--ink-soft, #4A5457); max-width: 62ch; }
.rh-ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
@media (max-width: 760px) { .rh-ba-grid { grid-template-columns: 1fr; } }
/* Einzelnes Bild (verteilte Galerie): einspaltig, Hochformat begrenzt und zentriert */
.rh-ba-grid:has(> .rh-ba-item:only-child) { grid-template-columns: 1fr; }
.rh-ba-grid > .rh-ba-item:only-child:not(.rh-ba--quer) { max-width: 560px; margin: 0 auto; width: 100%; }
.rh-ba { position: relative; overflow: hidden; border-radius: 14px; background: #ECEBE7; --pos: 50%; }
.rh-ba-item.rh-ba--quer { grid-column: 1 / -1; }
.rh-ba-item.rh-ba--quer .rh-ba,
.rh-ba-item.rh-ba--quer .rh-ba-titel { max-width: 980px; margin-left: auto; margin-right: auto; }
.rh-ba > img { display: block; width: 100%; height: auto; }
.rh-ba-before-layer { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.rh-ba-before-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rh-ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .45); pointer-events: none; }
.rh-ba-line::after {
	content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--rh-teal, #14838A);
	font-size: 20px; font-weight: 700; line-height: 42px; text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.rh-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.rh-ba-range:focus-visible ~ .rh-ba-line { background: var(--rh-teal, #14838A); }
.rh-ba-tag {
	position: absolute; top: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .55); border-radius: 999px;
	padding: .25rem .7rem; pointer-events: none;
}
.rh-ba-tag-v { left: 12px; }
.rh-ba-tag-n { right: 12px; }
.rh-ba-titel { margin: 10px 2px 0; font-size: .92rem; color: var(--ink-soft, #4A5457); }

/* Kompaktes Zwischen-Kontakt-Band in langen Mittelteilen (Top-40 Nr. 21):
   volle Breite, Farbe #14838A wie Laufband/Hero-Button (Owner-Vorgabe 2026-07-14). */
.rh-mid-cta {
	width: 100vw; margin: 44px 0 44px calc(50% - 50vw);
	background: #14838A; padding: 34px 20px; text-align: center;
}
.rh-mid-cta p { color: #fff; margin: 0 0 16px; max-width: none; font-weight: 600; }
.rh-mid-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* Nach dem Band keine zusaetzliche H2-Trennlinie (Owner: ueberfluessig) */
.article .wrap > .rh-mid-cta + h2 { border-top: 0; padding-top: 0; margin-top: 0; }
#rh-anfrage, #formular { scroll-margin-top: 96px; }

/* Trennlinie ueber der Ablauf-Sektion, wenn sie auf den Artikel folgt
   (Owner 2026-07-14: gleiche Linie wie zwischen den Inhalts-Abschnitten). */
.article + .steps-c { padding-top: 44px; }
.article + .steps-c > .wrap { border-top: 1px solid #D8D2C2; padding-top: 44px; }

/* Dito: Trennlinie ueber der Liquidations-FAQ nach der Ablauf-Sektion (Owner 2026-07-14).
   Abstaende identisch zur Linie ueber dem Ablauf: 68px oberhalb, 44px unterhalb. */
.steps-c:has(+ .rh-liq-faq) { padding-bottom: 43px; }
.steps-c + .rh-liq-faq { padding-top: 44px; }
.steps-c + .rh-liq-faq > .wrap { border-top: 1px solid #D8D2C2; padding-top: 44px; }
html:has(#so-funktionierts) { scroll-behavior: auto; }

/* ============================================================
   TOOL-SEITE /wert-schaetzen: "So funktioniert's" nutzt die fertige
   .steps-roman-Komponente (dieselbe wie "Der Ablauf" auf der Startseite)
   und die automatische H2-Trennlinie (.article .wrap > h2) – keine
   eigenen Sonderklassen noetig.
   ============================================================ */
#so-funktionierts { text-align: center; }

/* ============================================================
   TOOL-SEITE /wert-schaetzen: Intro-Abschnitt (heller Teal-Verlauf,
   zentrierter Text + Zitat) zwischen Laufband und Tool.
   ============================================================ */
.rh-ws-intro-section {
	border: 0;
	background:
		radial-gradient(120% 90% at 50% -20%, rgba(20, 131, 138, .12) 0%, rgba(20, 131, 138, .045) 38%, rgba(247, 245, 240, 0) 72%),
		linear-gradient(180deg, rgba(231, 241, 240, .5) 0%, rgba(247, 245, 240, 0) 100%);
}
.rh-ws-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.rh-ws-intro h2 { margin-bottom: 18px; color: var(--rh-teal-deep); }
.rh-ws-intro p { font-size: 17px; color: var(--rh-ink-soft); }
.rh-ws-pull {
	margin: 30px auto 0; max-width: 30ch; padding: 26px 0 0;
	border: 0; border-top: 2px solid var(--rh-gold);
	font-family: var(--rh-serif); font-style: italic; font-weight: 600;
	font-size: clamp(23px, 3vw, 30px); line-height: 1.3; color: var(--rh-teal-deep);
}

/* ============================================================
   TOOL-SEITE /wert-schaetzen: Kategorie-Abschnitt – nutzt die
   bestehende .cards/.card-Komponente, hier auf 3 statt 4 Spalten.
   ============================================================ */
.rh-ws-cats-section {
	border: 0;
	background:
		radial-gradient(120% 90% at 50% 120%, rgba(20, 131, 138, .12) 0%, rgba(20, 131, 138, .045) 38%, rgba(247, 245, 240, 0) 72%),
		linear-gradient(180deg, rgba(247, 245, 240, 0) 0%, rgba(231, 241, 240, .5) 100%);
}
.rh-ws-cats-lead { max-width: 68ch; color: var(--rh-ink-soft); font-size: 16.5px; margin-bottom: 8px; }
.rh-ws-cards.cards { grid-template-columns: repeat(3, 1fr); }
.rh-ws-cats-section .rh-ws-cards.cards .card { border-radius: var(--rh-radius); }
.rh-ws-cats-section .rh-ws-cards.cards .card .glyph { border-radius: 11px; }
@media (max-width: 900px) { .rh-ws-cards.cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rh-ws-cards.cards { grid-template-columns: 1fr; } }

/* ============================================================
   TITEL-KEYWORD golden (wie Startseite) + Markenname dezent hervorgehoben
   ============================================================ */
.page-hero h1 .kw { color: #8A6A1E; font-style: italic; }
/* Markenname "Retro Hero" im Fliesstext: halbfett in der Hauptmarkenfarbe.
   Bewusst das hellere Teal #14838A (Links sind teal-deep + unterstrichen),
   damit der Name als Marke und nicht als Link wahrgenommen wird. */
.rh-brand { font-weight: 600; color: var(--rh-teal); }

/* ============================================================
   404-SEITE (zentrierter Hero: Bild + freundliche Wege zurueck)
   ============================================================ */
.error-404 { text-align: center; padding: 60px 0 84px; }
.error-404 .e404-media {
  max-width: 480px; margin: 0 auto 34px;
  background: #fff; border: 1px solid #C9A24B66; border-radius: var(--rh-radius);
  padding: 10px; box-shadow: 0 22px 44px -26px rgba(22, 32, 31, .35);
}
.error-404 .e404-media img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.error-404 .eyebrow { justify-content: center; }
.error-404 h1 { max-width: 17em; margin-left: auto; margin-right: auto; }
.error-404 .lead { max-width: 62ch; margin-left: auto; margin-right: auto; }
.error-404 .hero-ctas { justify-content: center; margin-top: 28px; }
.error-404 .e404-links { margin-top: 28px; font-size: 15px; color: var(--rh-ink-soft); }
.error-404 .e404-links a { color: var(--rh-teal-deep); font-weight: 600; }
@media (max-width: 760px) { .error-404 .e404-media { max-width: 100%; } }

/* ============================================================
   WERTE-BAND (Startseite): vollflaechiges, stimmungsvolles Antik-Motiv
   mit dunkler Ueberlagerung + kurzer Wert-Aussage. Ruhiger "Werte"-Anker
   zwischen Service-Karten und Online-Brocki.
   ============================================================ */
.value-band {
  position: relative;
  background: #16120e url('assets/home/werte-band.jpg') center center / cover no-repeat;
  padding: 124px 24px;
  text-align: center;
}
.value-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 19, 17, .70) 0%, rgba(16, 19, 17, .80) 100%);
}
.value-band .value-band-inner { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; }
.value-band .eyebrow-c { justify-content: center; color: var(--gold-soft); }
.value-band .value-statement {
  font-family: var(--serif); color: #FCFAF4;
  font-size: clamp(28px, 3.8vw, 42px); line-height: 1.22; font-weight: 500;
  margin: 14px 0 0; letter-spacing: .005em;
}
.value-band .value-highlight {
  font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--gold-soft);
  font-size: clamp(19px, 2.2vw, 24px); margin: 18px 0 0;
}
.value-band .hero-ctas { justify-content: center; margin: 34px 0 0; }
.value-band .btn-lg { font-size: 19px; padding: 18px 38px; }
@media (max-width: 760px) { .value-band { padding: 84px 22px; } }

/* ============================================================
   STATISCHE STANDORT-KARTE (Kontaktseite)
   Ersetzt die eingebettete Google-Maps-Karte: beim Seitenaufruf
   KEIN Client-seitiger Kontakt zu Google (Schweizer DSG). Das Bild
   assets/standort-birr.png (OpenStreetMap / CARTO) zeigt den Standort
   immer; ein Klick oeffnet Google Maps in einem neuen Tab.
   ============================================================ */
.rh-map-static a { display: block; position: relative; border-radius: 8px; overflow: hidden; }
.rh-map-static img { width: 100%; height: auto; display: block; }
.rh-map-static a::after {
  content: "In Google Maps öffnen";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11, 94, 100, .5); color: #fff;
  font-family: "Archivo", system-ui, sans-serif; font-weight: 600; font-size: 15px;
  letter-spacing: .01em; opacity: 0; transition: opacity .2s ease;
}
.rh-map-static a:hover::after,
.rh-map-static a:focus-visible::after { opacity: 1; }

/* Stripe-Express-Button (Link/Amazon/Apple/Google) an der Kasse abgeschaltet:
   verwaisten OR-Trenner ausblenden */
#wc-stripe-express-checkout-button-separator,
.wc-stripe-payment-request-button-separator,
#wc-stripe-payment-request-button-separator { display: none !important; }

/* Breadcrumb (wie Design „.crumb") */
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--rh-ink-soft); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--rh-ink-soft); text-decoration: none; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--rh-teal-deep); text-decoration: underline; }

/* Produkt-Reiter + aehnliche Produkte */
.woocommerce-tabs .tabs li.active a, .woocommerce-tabs .tabs li a:hover { color: var(--rh-teal-deep); }
.woocommerce-tabs h2, .related.products > h2, .up-sells > h2 { font-family: var(--rh-serif); }
.related.products > h2, .up-sells > h2 { font-size: 26px; margin-bottom: 22px; }

/* ============================================================
   WOOCOMMERCE-BUTTONS generell im Marken-Teal (Shop/Produkt/Warenkorb/Kasse).
   !important, um Blocksys Standard-Button-Farbe (#2872FA) zu ueberschreiben.
   ============================================================ */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce .single_add_to_cart_button, .woocommerce #place_order,
.woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button {
  background-color: var(--rh-teal) !important; color: #fff !important;
  border: 0 !important; border-radius: 8px; font-weight: 600;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover, .woocommerce #place_order:hover,
.woocommerce-page a.button:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button:hover {
  background-color: var(--rh-teal-deep) !important; color: #fff !important;
}

/* ============================================================
   SICHTBARER TASTATUR-FOKUS (WCAG 2.4.7 AA)
   Robuster Fokus-Ring auf allen interaktiven Elementen: dunkle
   Kontur + heller Halo -> auf hellem UND dunklem Grund sichtbar.
   ============================================================ */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.navlink:focus-visible,
.nav-toggle:focus-visible,
.fchip:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--rh-teal-deep);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .92);
  border-radius: 3px;
}
/* Dunkle/teale Baender: Gold-Kontur + dunkler Halo fuer hohen Kontrast */
.cta-band a:focus-visible, .cta-band button:focus-visible, .cta-band .btn:focus-visible,
.value-band a:focus-visible, .value-band .btn:focus-visible,
.callbar a:focus-visible, .callbar .btn:focus-visible,
.marquee a:focus-visible {
  outline-color: var(--rh-gold);
  box-shadow: 0 0 0 5px rgba(8, 28, 26, .5);
}

/* ============================================================
   DATENSCHUTZ-EINWILLIGUNG im Kontaktformular (CF7 [acceptance])
   ============================================================ */
.form-consent { margin: 8px 0 12px; font-size: 14px; line-height: 1.55; color: #51605F; }
.form-consent .wpcf7-list-item { margin: 0; display: block; }
.form-consent .wpcf7-list-item label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.form-consent .wpcf7-list-item-label { flex: 1; }
.form-consent input[type="checkbox"] { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--rh-teal); flex: none; }
.form-consent a { color: var(--rh-teal-deep); text-decoration: underline; }

/* ============================================================
   SCHWEBENDER WARENKORB + MINI-WARENKORB-DRAWER
   ============================================================ */
/* Trigger: rechts mittig angedockt, gut sichtbar */
.rh-floating-cart {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 95; display: none; align-items: center; gap: 11px;
  padding: 14px 22px 14px 18px;
  border-radius: 999px 0 0 999px;
  background: var(--rh-teal); color: #fff;
  text-decoration: none; font: 600 15.5px/1 "Archivo", system-ui, sans-serif;
  box-shadow: -8px 10px 30px -8px rgba(11, 94, 100, .6), 0 2px 10px rgba(0, 0, 0, .18);
  transition: box-shadow .18s ease, background .18s ease, padding-right .2s ease;
  cursor: pointer;
}
.rh-floating-cart.has-items { display: inline-flex; }
.rh-floating-cart:hover, .rh-floating-cart:focus-visible { background: var(--rh-teal-deep); padding-right: 27px; box-shadow: -10px 12px 38px -8px rgba(11, 94, 100, .68), 0 4px 14px rgba(0, 0, 0, .22); }
.rh-fc-icon { position: relative; display: grid; place-items: center; }
.rh-fc-icon svg { width: 26px; height: 26px; display: block; }
.rh-fc-count {
  position: absolute; top: -10px; right: -11px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--rh-gold); color: #2c2310;
  font: 800 12px/1 "Archivo", system-ui, sans-serif;
  border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.rh-fc-total { font-weight: 700; white-space: nowrap; }
.rh-fc-total .woocommerce-Price-amount, .rh-fc-total bdi { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .rh-floating-cart.has-items { animation: rh-fc-pop .42s cubic-bezier(.18, .89, .32, 1.28); }
  @keyframes rh-fc-pop { from { transform: translateY(-50%) translateX(110%); opacity: 0; } to { transform: translateY(-50%) translateX(0); opacity: 1; } }
}
@media (max-width: 760px) {
  .rh-floating-cart { padding: 12px 15px; gap: 0; }
  .rh-floating-cart .rh-fc-total { display: none; }
  .rh-fc-icon svg { width: 24px; height: 24px; }
}
/* WooCommerces Cart-Fragments-Skript ersetzt den (serverseitig korrekt leeren)
   .rh-fc-wrap-Inhalt auf Warenkorb/Kasse mit dem zwischengespeicherten Stand
   vom letzten Add-to-Cart, sobald vorher irgendwo ein Fragment-Refresh
   stattfand - CSS-Sperre statt PHP/JS-Fix, da body-Klassen zuverlaessig sind. */
body.woocommerce-cart .rh-fc-wrap,
body.woocommerce-checkout .rh-fc-wrap,
body.woocommerce-cart .rh-minicart,
body.woocommerce-checkout .rh-minicart,
body.woocommerce-cart .rh-minicart-overlay,
body.woocommerce-checkout .rh-minicart-overlay {
  display: none !important;
}
/* "Rueckgaengig machen?"-Button in der Warenkorb-Hinweisleiste kam im
   WordPress-Standardblau daher - auf die Teal-Primaerfarbe der Seite bringen. */
.woocommerce-message a.restore-item {
  background: var(--rh-teal); border-color: var(--rh-teal); color: #fff;
}
.woocommerce-message a.restore-item:hover,
.woocommerce-message a.restore-item:focus-visible {
  background: var(--rh-teal-deep); border-color: var(--rh-teal-deep); color: #fff;
}
/* Kasse: mehrzeilige Checkbox-Zeilen haengend einruecken - die zweite Textzeile
   begann sonst linksbuendig unter dem Kaestchen statt unter dem Textanfang
   (AGB-Checkbox + Stripe "Zahlungsdaten speichern"). */
.woocommerce-checkout label.woocommerce-form__label-for-checkbox {
  display: inline-flex; align-items: flex-start; gap: 9px;
}
.woocommerce-checkout label.woocommerce-form__label-for-checkbox input[type="checkbox"] {
  flex: none; margin-top: 5px;
}
.woocommerce-checkout .woocommerce-SavedPaymentMethods-saveNew {
  display: flex; align-items: flex-start; gap: 9px;
}
.woocommerce-checkout .woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"] {
  flex: none; margin-top: 5px;
}

/* Overlay + Drawer */
.rh-minicart-overlay {
  position: fixed; inset: 0; z-index: 119; background: rgba(10, 28, 26, .45);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.rh-minicart-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.rh-minicart {
  position: fixed; top: 0; right: 0; height: 100%; width: min(390px, 92vw);
  z-index: 120; background: #fff; color: var(--rh-ink, #232A2C);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -16px 0 50px -16px rgba(0, 0, 0, .35);
}
.rh-minicart.open { transform: translateX(0); }
.rh-mc-head { display: flex; align-items: center; justify-content: space-between; padding: 19px 22px; border-bottom: 1px solid var(--rh-line, #E4E1D7); }
.rh-mc-title { font-family: var(--rh-serif, "Cormorant Garamond", Georgia, serif); font-size: 25px; font-weight: 600; color: var(--rh-teal-ink, #0A4A4F); }
.rh-mc-close { background: none; border: 0; font-size: 30px; line-height: 1; color: var(--rh-ink-soft, #51605F); cursor: pointer; padding: 0 2px; transition: color .15s; }
.rh-mc-close:hover { color: var(--rh-teal-deep); }
.rh-mc-body { flex: 1; overflow-y: auto; padding: 6px 22px 24px; }
body.rh-mc-lock { overflow: hidden; }

/* Mini-Warenkorb-Inhalt (WooCommerce-Markup) */
.rh-mc-body .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.rh-mc-body .woocommerce-mini-cart-item { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--rh-line, #EDE9DE); overflow: hidden; }
.rh-mc-body .woocommerce-mini-cart-item img { float: right; width: 54px; height: 54px; object-fit: cover; margin: 0 0 0 12px; border-radius: 6px; border: 1px solid var(--rh-line, #EDE9DE); }
.rh-mc-body .woocommerce-mini-cart-item > a:not(.remove) { display: block; color: var(--rh-ink, #232A2C); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.rh-mc-body .woocommerce-mini-cart-item > a:not(.remove):hover { color: var(--rh-teal-deep); }
.rh-mc-body .woocommerce-mini-cart-item .quantity { display: block; margin-top: 5px; color: var(--rh-ink-soft, #51605F); font-size: 14px; }
.rh-mc-body .woocommerce-mini-cart-item .quantity .amount { color: var(--rh-teal-deep); font-weight: 700; }
.rh-mc-body a.remove {
  position: absolute; left: 0; top: 17px;
  width: 21px; height: 21px; line-height: 19px; text-align: center;
  border-radius: 50%; background: #EDE9DE; color: #51605F !important;
  font-size: 16px; font-weight: 400; text-decoration: none !important;
}
.rh-mc-body a.remove:hover { background: #B23A2E; color: #fff !important; }
.rh-mc-body .woocommerce-mini-cart__total { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 16px; font-size: 17px; }
.rh-mc-body .woocommerce-mini-cart__total strong { font-weight: 600; }
.rh-mc-body .woocommerce-mini-cart__total .amount { color: var(--rh-teal-deep); font-weight: 800; font-size: 19px; }
.rh-mc-body .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.rh-mc-body .woocommerce-mini-cart__buttons .button { margin: 0; width: 100%; text-align: center; }
.rh-mc-body .woocommerce-mini-cart__buttons .button:not(.checkout) { background: #fff !important; color: var(--rh-teal-deep) !important; border: 1.5px solid var(--rh-teal) !important; }
.rh-mc-body .woocommerce-mini-cart__buttons .button.checkout { background: var(--rh-teal) !important; color: #fff !important; }
/* "Weiter einkaufen" als dezenter Link ueber den beiden Buttons */
.rh-mc-body .woocommerce-mini-cart__buttons a.button.rh-mc-continue { background: transparent !important; border: 0 !important; color: var(--rh-ink-soft, #51605F) !important; text-decoration: underline; padding: 6px 8px; }
.rh-mc-body .woocommerce-mini-cart__buttons a.button.rh-mc-continue:hover { color: var(--rh-teal-deep) !important; }
.rh-mc-body .woocommerce-mini-cart__empty-message { color: var(--rh-ink-soft, #51605F); padding: 30px 0; text-align: center; font-size: 15px; }

/* Warenkorb-Hinweis statt Versandberechnung (Auswahl erst an der Kasse) */
.rh-ship-hint th { font-weight: 600; }
.rh-ship-hint td { font-size: 13.5px; color: var(--rh-ink-soft, #51605F); font-weight: 400; line-height: 1.45; }

/* Ausgegraute, nicht waehlbare Versandart an der Kasse */
.woocommerce-shipping-methods li:has(.rh-rate-disabled) { opacity: .5; }
.woocommerce-shipping-methods li:has(.rh-rate-disabled) input,
.woocommerce-shipping-methods li:has(.rh-rate-disabled) label { pointer-events: none; cursor: not-allowed; }
.rh-rate-disabled { font-style: italic; }

/* "Warenkorb anzeigen"-Link unter dem Produkt im Shop ausblenden – der Drawer oeffnet sich ja automatisch */
.woocommerce ul.products a.added_to_cart,
.ct-woo-card-actions a.added_to_cart,
li.product a.added_to_cart { display: none !important; }

/* ---- Schweizer QR-Rechnung (Danke-Seite + E-Mail), nur Vorkasse ---- */
.rh-qrbill { margin: 2.5rem 0; padding: 1.5rem 1.75rem; border: 1px solid var(--rh-line, #e5e0d8); border-radius: 12px; background: var(--rh-cream, #fbf9f6); }
.rh-qrbill-title { margin: 0 0 1.1rem; font-size: 1.4rem; color: var(--rh-teal, #14838A); }
.rh-qrbill-grid { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-start; }
.rh-qrbill-code { flex: 0 0 auto; }
.rh-qrbill-code svg { display: block; width: 200px; height: 200px; border: 1px solid var(--rh-line, #e5e0d8); background: #fff; border-radius: 6px; }
.rh-qrbill-info { flex: 1 1 240px; min-width: 240px; }
.rh-qrbill-row { display: flex; gap: 0.75rem; padding: 0.3rem 0; border-bottom: 1px solid rgba(0, 0, 0, .05); font-size: 0.98rem; }
.rh-qrbill-label { flex: 0 0 92px; color: var(--rh-muted, #6b6257); }
.rh-qrbill-val { font-weight: 600; color: var(--rh-ink, #232A2C); word-break: break-word; }
.rh-qrbill-hint { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--rh-muted, #6b6257); line-height: 1.55; }
@media (max-width: 480px) { .rh-qrbill-code svg { width: 168px; height: 168px; } }

/* ---- Hinweis auf Dienstleistungs-Bedingungen (am Ende der Service-Seiten) ---- */
.rh-terms-note { margin-top: 2.2rem; padding-top: 1.1rem; border-top: 1px solid var(--rh-line, #e5e0d8); font-size: 0.92rem; color: var(--rh-muted, #6b6257); }
.rh-terms-note p { margin: 0; }
.rh-terms-note a { color: var(--rh-teal, #14838A); text-decoration: underline; }

/* Abschluss-Block nach der Ablauf-Sektion (Bedingungen-Hinweis + Passende Leistungen):
   kompakter als der Haupt-Artikel, ohne doppelte Trennlinie direkt nach der Sektion. */
.rh-article-footer { padding: 0 0 8px; }
.rh-article-footer .wrap { padding-top: 0; }
.rh-article-footer .rh-terms-note { margin-top: 0.4rem; border-top: 0; padding-top: 0; }

/* ============================================================
   B2B-LIQUIDATIONSSEITE: Zwei-Modelle-Karten + FAQ im 2-Spalten-Raster
   ============================================================ */
.rh-models { display: grid; gap: 22px; margin-top: 30px; }
@media (min-width: 861px) { .rh-models { grid-template-columns: 1fr 1fr; } }
.rh-model {
  background: #fff; border: 1px solid var(--rh-line);
  border-radius: 16px; padding: 32px 32px 28px;
}
.rh-model--lead {
  border-color: var(--rh-teal);
  box-shadow: 0 14px 34px -20px rgba(11, 94, 100, .45);
}
.rh-model-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--rh-teal-ink); background: var(--rh-teal-tint);
  border-radius: 999px; padding: 6px 14px;
}
.rh-model--lead .rh-model-tag { background: var(--rh-teal); color: #fff; }
.rh-model h3 { margin: 16px 0 8px; }
.rh-model > p { color: var(--rh-ink-soft); margin: 0; }
.rh-model ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.rh-model ul li { position: relative; padding-left: 27px; font-size: 15.5px; color: var(--rh-ink-soft); }
.rh-model ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--rh-teal); font-weight: 700; }
.rh-models-note { margin: 20px auto 0; max-width: 900px; text-align: center; color: var(--rh-ink-soft); font-size: 15.5px; }

/* Inhaber-Block (Vollanalyse Nr. 2, Variante A): Gesicht + Direktnummer auf
   Liquidations-, Institutionen-, Nachlass- und Kontaktseite. */
.rh-owner { padding: 8px 0 48px; }
.rh-owner-card {
  max-width: 680px; margin: 0 auto; display: flex; gap: 26px; align-items: center;
  background: var(--rh-card); border: 1px solid var(--rh-line);
  border-radius: 16px; padding: 26px 32px;
}
.rh-owner-foto img {
  width: 108px; height: 108px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--rh-teal-tint); display: block;
}
.rh-owner-name { font-family: var(--serif, Georgia, serif); font-size: 24px; font-weight: 600; margin: 0; color: var(--rh-ink); }
.rh-owner-rolle { margin: 2px 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rh-gold-text); }
.rh-owner-text { margin: 0 0 12px; color: var(--rh-ink-soft); font-size: 15.5px; line-height: 1.55; }
.rh-owner-tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--rh-teal-deep); text-decoration: none; white-space: nowrap; }
.rh-owner-tel svg { width: 18px; height: 18px; flex: none; }
.rh-owner-tel:hover, .rh-owner-tel:focus-visible { text-decoration: underline; }
@media (max-width: 640px) {
  .rh-owner-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .rh-owner-tel { justify-content: center; }
}
/* Variante B: foto-lose Inhaber-Zeile in der Bewertungs-Sektion der Startseite */
.rh-owner-line { margin-top: 12px; font-size: 14.5px; color: var(--rh-ink-soft); }

/* FAQ als 2-Spalten-Raster mit abgerundeten Karten (B2B-Seiten).
   Alle Karten gleich gross: einheitliche Mindesthoehe, Frage bei geschlossener
   Karte vertikal zentriert; eine geoeffnete Karte waechst unabhaengig. */
.faq-list.faq-grid { display: grid; gap: 14px; }
@media (min-width: 861px) { .faq-list.faq-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.faq-list.faq-grid details { margin: 0; border-radius: 14px; overflow: hidden; min-height: 108px; }
.faq-list.faq-grid details:not([open]) { display: flex; flex-direction: column; justify-content: center; }

/* ===== Conversion-Mechanik: WhatsApp in Mobil-Leiste + Service-Conversion-Block ===== */

/* Schwebendes WhatsApp-Logo unten rechts (nur Desktop/Tablet; mobil uebernimmt die .callbar) */
.rh-wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 80;
	display: none; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
	transition: transform .15s ease, box-shadow .15s ease;
}
.rh-wa-float svg { width: 28px; height: 28px; display: block; }
.rh-wa-float:hover,
.rh-wa-float:focus-visible { transform: scale(1.08); box-shadow: 0 8px 22px rgba(0, 0, 0, .28); color: #fff; }
.rh-wa-float:focus-visible { outline: 3px solid var(--rh-teal, #14838A); outline-offset: 2px; }
@media (min-width: 1021px) { .rh-wa-float { display: inline-flex; } }
@media (prefers-reduced-motion: reduce) {
	.rh-wa-float { transition: none; }
	.rh-wa-float:hover, .rh-wa-float:focus-visible { transform: none; }
}

/* WhatsApp-Button in der bestehenden Mobil-Leiste (.callbar) */
.callbar .btn-wa { flex: 0 0 auto; width: 52px; padding: 13px 0; display: inline-flex; align-items: center; justify-content: center; background: #25d366; border-color: #25d366; color: #fff; }
.callbar .btn-wa svg { width: 23px; height: 23px; display: block; }

/* Service-Conversion-Block: zentriert, Titel über dem Formular, Formular in 2 Spalten */
.rh-conv { background: var(--rh-cream, #fbf9f6); border-top: 1px solid var(--rh-line, #e5e0d8); padding: 3.5rem 0; }
.rh-conv-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.rh-conv-rating { font-weight: 700; color: var(--rh-ink, #232A2C); margin: 0 0 1.1rem; }
.rh-conv-rating .stars { color: #f5a623; letter-spacing: 2px; }
/* Bewertungszeilen verlinken aufs Google-Profil (Top-40 Nr. 5): Optik unveraendert,
   Unterstreichung erst bei Hover/Fokus als Link-Signal. */
.rh-conv-rating a,
.hero-trust a,
.hero-ticks a,
.rh-quote figcaption a { color: inherit; text-decoration: none; }
.rh-conv-rating a:hover,
.rh-conv-rating a:focus-visible,
.hero-trust a:hover,
.hero-trust a:focus-visible,
.hero-ticks a:hover,
.hero-ticks a:focus-visible,
.rh-quote figcaption a:hover,
.rh-quote figcaption a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.rh-guarantees { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin: 0 0 1.8rem; }
.rh-guarantees span { background: #fff; border: 1px solid var(--rh-line, #e5e0d8); border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; font-weight: 600; color: var(--rh-ink, #232A2C); }
.rh-guarantees span::before { content: "\2713\00a0"; color: var(--rh-teal, #14838A); font-weight: 800; }
.rh-conv-title { margin: 0 0 .6rem; }
.rh-conv-sub { margin: 0 0 1.3rem; color: var(--rh-muted, #6b6257); line-height: 1.6; }
.rh-conv-contact { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center; margin: 0 0 2rem; }
.rh-conv-contact-label { font-weight: 600; color: var(--rh-muted, #6b6257); }
.rh-conv-contact .rh-cc { display: inline-flex; align-items: center; gap: .45em; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: #fff; }
.rh-conv-contact .rh-cc svg { width: 18px; height: 18px; }
.rh-conv-contact .rh-cc-tel { background: var(--rh-teal, #14838A); }
.rh-conv-contact .rh-cc-wa { background: #25d366; }
.rh-conv-form { max-width: 760px; margin: 0 auto; text-align: left; background: #fff; padding: 1.8rem; border-radius: 14px; border: 1px solid var(--rh-line, #e5e0d8); box-shadow: 0 2px 16px rgba(0, 0, 0, .04); }
.rh-conv-form .wpcf7 { margin: 0; }
.rh-conv-form .rh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.rh-conv-form .rh-form-grid > p { margin: 0; }
.rh-conv-form .rh-form-grid > p:has(textarea),
.rh-conv-form .rh-form-grid > p:has(select),
.rh-conv-form .rh-form-grid > p:has(input[type="checkbox"]),
.rh-conv-form .rh-form-grid > p:has(.wpcf7-submit),
.rh-conv-form .rh-form-grid > .rh-upload-hint,
.rh-conv-form .rh-form-grid > .rh-foto-grid,
.rh-conv-form .rh-form-grid > .rh-photo-uploader { grid-column: 1 / -1; }
@media (max-width: 700px) {
	.rh-conv { padding: 2.5rem 0; }
	.rh-conv-form { padding: 1.3rem; }
	.rh-conv-form .rh-form-grid { grid-template-columns: 1fr; }
}

/* Hero-Trust-Strip (Startseite): Google-Bewertung sichtbar über der Falz */
.hero-trust { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 1.2rem 0 0; font-size: 1rem; font-weight: 600; }
.hero-trust .hero-trust-stars { color: #f5a623; letter-spacing: 1px; font-size: 1.05em; }
.hero-trust strong { font-weight: 800; }

/* Kundenstimme (Service-/Über-uns-Seiten) */
.rh-testimonial { padding: 2.6rem 0; }
.rh-testimonial .rh-quote { max-width: 760px; margin: 0 auto; text-align: center; background: var(--rh-cream, #fbf9f6); border: 1px solid var(--rh-line, #e5e0d8); border-radius: 16px; padding: 2rem 2.2rem; }
.rh-quote-stars { color: #f5a623; letter-spacing: 2px; font-size: 1.2rem; margin-bottom: .5rem; }
.rh-testimonial blockquote { margin: 0 0 .8rem; border: 0; padding: 0; font-size: 1.22rem; line-height: 1.55; font-style: italic; color: var(--rh-ink, #232A2C); }
.rh-testimonial figcaption { font-weight: 700; color: var(--rh-ink, #232A2C); }
.rh-testimonial figcaption span { font-weight: 500; color: var(--rh-muted, #6b6257); }
@media (max-width: 600px) { .rh-testimonial .rh-quote { padding: 1.5rem 1.3rem; } .rh-testimonial blockquote { font-size: 1.1rem; } }

/* Interne Verlinkung: verwandte Leistungen (Service-Seiten) */
.rh-related { margin: 2.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--rh-line, #e5e0d8); font-size: .95rem; }
.rh-related-label { font-weight: 700; color: var(--rh-ink, #232A2C); margin-right: .3rem; }
.rh-related a { display: inline-block; margin: .3rem .4rem .3rem 0; padding: .38rem .85rem; border: 1px solid var(--rh-line, #e5e0d8); border-radius: 999px; color: var(--rh-teal, #14838A); text-decoration: none; font-weight: 600; }
.rh-related a:hover, .rh-related a:focus { background: var(--rh-teal, #14838A); color: #fff; border-color: var(--rh-teal, #14838A); }

/* Ehrlichkeits-Statement (USP / Service-Seiten) */
.rh-honest { margin: 1.3rem 0 0; padding: .95rem 1.15rem; border-left: 3px solid var(--rh-gold, #C9A24B); background: transparent; font-size: 1.05rem; line-height: 1.55; color: var(--rh-ink, #232A2C); }
.rh-honest strong { color: var(--rh-teal-deep, #0B5E64); }
