/*
Theme Name: Regenschmiede Base
Theme URI: https://regenschmiede.de
Author: Regenschmiede
Description: Minimales Basis-Theme für Elementor. Lädt Marken-Fonts und Farben.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
Text Domain: regenschmiede-base
*/

/* ── Marken-Farben als CSS-Variablen ── */
:root {
  --rs-schwarz:   #1B1A17;
  --rs-eisengrau: #2E2E2E;
  --rs-stahl:     #A7A7A7;
  --rs-pergament: #E5D6B8;
  --rs-leder:     #A58A62;
  --rs-bronze:    #6B5332;
  --rs-patina:    #4D718C;

  --rs-font-heading: 'Cinzel Decorative', Georgia, serif;
  --rs-font-body:    'Montserrat', sans-serif;
  --rs-font-accent:  'Cormorant Garamond', Georgia, serif;

  --rs-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--rs-font-body);
  background: var(--rs-schwarz);
  color: var(--rs-stahl);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* ── Elementor global überschreiben ── */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--rs-font-heading) !important;
}

/* ── Globale Hilfsklassen (in Elementor als CSS-Klasse nutzbar) ── */
.rs-font-heading  { font-family: var(--rs-font-heading) !important; }
.rs-font-body     { font-family: var(--rs-font-body) !important; }
.rs-font-accent   { font-family: var(--rs-font-accent) !important; font-style: italic; }

.rs-text-pergament { color: var(--rs-pergament) !important; }
.rs-text-leder     { color: var(--rs-leder) !important; }
.rs-text-stahl     { color: var(--rs-stahl) !important; }
.rs-text-bronze    { color: var(--rs-bronze) !important; }

.rs-bg-schwarz    { background-color: var(--rs-schwarz) !important; }
.rs-bg-eisengrau  { background-color: var(--rs-eisengrau) !important; }
.rs-bg-pergament  { background-color: var(--rs-pergament) !important; }

/* ── WooCommerce: Marken-Styles ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .single_add_to_cart_button {
  font-family: var(--rs-font-heading) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  background: var(--rs-patina) !important;
  color: var(--rs-pergament) !important;
  border-radius: 0 !important;
  border: 1px solid var(--rs-patina) !important;
  padding: 0.9rem 1.8rem !important;
  transition: background var(--rs-transition) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .single_add_to_cart_button:hover {
  background: #3d5c73 !important;
  border-color: #3d5c73 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--rs-font-heading) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--rs-pergament) !important;
}
.woocommerce ul.products li.product .price {
  font-family: var(--rs-font-heading) !important;
  color: var(--rs-leder) !important;
}

.woocommerce div.product .product_title {
  font-family: var(--rs-font-heading) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.woocommerce form .input-text,
.woocommerce-page form .input-text {
  background: var(--rs-eisengrau) !important;
  border: 1px solid rgba(167,167,167,0.2) !important;
  color: var(--rs-pergament) !important;
  border-radius: 0 !important;
}
