/*
Theme Name: WirkRaum Child
Theme URI: https://wirk-raum.net
Description: Child-Theme im warmen, organischen Stil – erdige Naturtöne und handschriftliche Akzente. Basierend auf Kadence.
Author: InnenRaum / Maya Walfort
Template: kadence
Version: 1.0
Text Domain: wirkraum-child
*/

/* ════════════════════════════════════════════
   WIRKRAUM – Design Tokens
   Warm · organisch · erdverbunden
   ════════════════════════════════════════════ */

:root {
  /* ── Farben ── */
  --wr-papier:        #F4EDDF;  /* Hintergrund · Papier-Creme */
  --wr-papier-warm:   #EFE5D2;  /* Sektionen · wärmeres Creme */
  --wr-wald:          #3E522D;  /* Tiefes Waldgrün · Titel, CTA */
  --wr-salbei:        #A8A878;  /* Salbeigrün · Akzente */
  --wr-oliv:          #6B7050;  /* Olivgrün · dunkle Akzente */
  --wr-terracotta:    #C08560;  /* Terracotta · warme Akzente */
  --wr-rose:          #D0A28D;  /* Altrosa · sanfte Akzente */
  --wr-gold:          #D4A24A;  /* Senfgold · Highlights, Teiler */
  --wr-sonne:         #E8C96E;  /* Sonnengelb · Glanzpunkte */
  --wr-braun:         #6B4A2F;  /* Erdbraun · Wurzeln */
  --wr-text:          #3A321D;  /* Haupttext · warmes Dunkelbraun */
  --wr-text-weich:    #5A4F3A;  /* Fließtext · weiches Braun */
  --wr-rand:          #D8CCB4;  /* Rahmen · zarte Linien */

  /* ── Schriften ── */
  --wr-script:  'Caveat', cursive;                    /* Handschrift · Akzente */
  --wr-sans:    'Nunito', system-ui, sans-serif;      /* Fließtext · warm & rund */
}

/* ════════════════════════════════════════════
   GRUNDLAGEN
   ════════════════════════════════════════════ */

body {
  background-color: var(--wr-papier);
  font-family: var(--wr-sans);
  font-weight: 400;
  color: var(--wr-text-weich);
  line-height: 1.7;
}

/* ── Überschriften ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wr-sans);
  font-weight: 700;
  color: var(--wr-text);
  line-height: 1.3;
}

/* ── Script-Akzente (Klasse für handschriftliche Elemente) ── */
.wr-script {
  font-family: var(--wr-script);
  font-weight: 700;
  color: var(--wr-wald);
  line-height: 1.1;
}

/* ── Links ── */
a { color: var(--wr-wald); }
a:hover { color: var(--wr-terracotta); }

/* ════════════════════════════════════════════
   LOGO & NAVIGATION
   ════════════════════════════════════════════ */

.site-branding img,
.custom-logo-link img,
.custom-logo {
  height: clamp(44px, 5.5vw, 90px) !important;
  width: auto !important;
  max-width: 100% !important;
}

.main-navigation a,
#site-navigation a,
.kadence-navigation a,
header .menu a {
  font-family: var(--wr-sans) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: var(--wr-text) !important;
}
.main-navigation a:hover { color: var(--wr-wald) !important; }

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */

.button, .wp-block-button__link,
button, input[type="submit"] {
  background-color: var(--wr-wald) !important;
  color: #fff !important;
  font-family: var(--wr-sans) !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  border: none !important;
  border-radius: 24px !important;       /* runde, organische Form */
  padding: 0.85rem 2.2rem !important;
  transition: background 0.2s ease !important;
}
.button:hover, .wp-block-button__link:hover,
button:hover, input[type="submit"]:hover {
  background-color: var(--wr-terracotta) !important;
}

/* ════════════════════════════════════════════
   GOLDTEILER
   ════════════════════════════════════════════ */

hr.wr-rule {
  border: 0;
  width: 60px;
  height: 2px;
  background: var(--wr-gold);
  margin: 2rem auto;
  border-radius: 2px;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */

.site-footer, #colophon {
  background-color: var(--wr-wald) !important;
}
.site-footer p, .site-footer a {
  font-family: var(--wr-sans) !important;
  color: rgba(255,255,255,0.7) !important;
}
.site-footer a:hover { color: var(--wr-sonne) !important; }

/* ════════════════════════════════════════════
   HILFSKLASSEN
   ════════════════════════════════════════════ */

.wr-papier      { background-color: var(--wr-papier); }
.wr-papier-warm { background-color: var(--wr-papier-warm); }
.wr-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(58,50,29,0.06);
  border-top: 3px solid var(--wr-gold);
}

/* Scroll-Reveal */
.wr-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.wr-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
