/*
 Theme Name: KuschelZirbe Child
 Theme URI: https://kuschel-zirbe.de
 Description: Child Theme für KuschelZirbe auf Basis von Blocksy
 Author: HerbalGreens UG (haftungsbeschränkt)
 Template: blocksy
 Version: 1.0
*/

/* === KuschelZirbe Basis-Styles ===================================== */

/* Farb-Variablen im KuschelZirbe-Look */
:root {
  --kz-bg: #faf7f0;
  --kz-bg-soft: #fdfbf7;
  --kz-primary: #c9a37a;
  --kz-primary-dark: #8c7359;
  --kz-text: #2b2b2b;
  --kz-muted: #777777;
  --kz-radius: 18px;
  --kz-shadow-soft: 0 14px 35px rgba(0,0,0,0.06);
}

/* Grundtypografie & Hintergrund – nur Systemfonts */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--kz-bg);
  color: var(--kz-text);
  line-height: 1.7;
  margin: 0;
}

/* Überschriften */
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
  color: var(--kz-primary-dark);
}

h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 0.6rem;
}

h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  margin: 0 0 1rem;
}

p {
  margin-bottom: 0.9rem;
}

/* === Seiten-Layout ================================================== */

.kz-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.4rem;
}

.kz-section + .kz-section {
  padding-top: 0;
}

/* Hero-Bereich */
.kz-hero {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.kz-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.kz-hero-tag {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--kz-muted);
  margin-bottom: 0.4rem;
}

.kz-hero-lead {
  font-size: clamp(1.06rem, 1.1vw + 1rem, 1.35rem);
  color: var(--kz-text);
  max-width: 36rem;
}

/* Badges im Hero */
.kz-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.kz-chip {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 7px rgba(0,0,0,0.04);
  color: var(--kz-primary-dark);
}

/* Buttons */
.kz-btn,
.wp-block-button__link.kz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  background-color: var(--kz-primary-dark);
  color: #fff;
  font-weight: 600;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background-color 0.15s ease-out;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.kz-btn:hover,
.wp-block-button__link.kz-btn:hover {
  background-color: var(--kz-primary);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

.kz-btn-secondary {
  background-color: transparent;
  color: var(--kz-primary-dark);
  box-shadow: none;
  border: 1px solid rgba(0,0,0,0.08);
}

.kz-btn-secondary:hover {
  background-color: rgba(255,255,255,0.9);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* === Produktbereich ================================================ */

.kz-products-header {
  text-align: center;
  margin-bottom: 2rem;
}

.kz-products-header p {
  max-width: 38rem;
  margin: 0.2rem auto 0;
  color: var(--kz-muted);
}

/* Grid für Kuscheltiere */
.kz-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.8rem;
}

@media (min-width: 720px) {
  .kz-hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .kz-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Einzelne Produktkarte */
.kz-product-card {
  background-color: var(--kz-bg-soft);
  border-radius: var(--kz-radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--kz-shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kz-product-image {
  border-radius: var(--kz-radius);
  overflow: hidden;
  margin: -0.6rem -0.6rem 1rem;
}

.kz-product-image img {
  display: block;
  width: 100%;
  height: auto;
}

.kz-product-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.kz-product-excerpt {
  font-size: 0.94rem;
  color: var(--kz-text);
}

.kz-product-price {
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--kz-primary-dark);
}

/* Bereich für den Shopify-Button */
.kz-product-buy {
  margin-top: auto;
  padding-top: 1rem;
}

/* Textbox-Abschnitt */
.kz-text-section {
  background: rgba(255,255,255,0.6);
  border-radius: var(--kz-radius);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

/* FAQ-Items */
.kz-faq-item {
  margin-bottom: 1.2rem;
}

.kz-faq-item strong {
  display: block;
  margin-bottom: 0.1rem;
}

/* Footer */
.kz-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 1.4rem 3rem;
  font-size: 0.86rem;
  color: var(--kz-muted);
  border-top: 1px solid rgba(0,0,0,0.06);
}
