/*
Theme Name: Werthandel
Theme URI: https://werthandel.com
Author: Bernert Immobilien GmbH
Description: Klassisches Custom-Theme fuer werthandel.com. Ziel: 1:1-Portierung der bestehenden statischen Website (Ordner /Website) in WordPress. Aktuell Skelett mit markenkonformer Startseite.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.1
License: proprietary
Text Domain: werthandel
*/

/* ===========================================================================
   Brand-Tokens (uebernommen aus Website/assets/css - Single Source bleibt dort,
   hier nur das Noetigste fuers Skelett. Phase D zieht die echten Module nach.)
   =========================================================================== */
:root {
  --main: #1E3A5F;
  --secondColor: #1A2433;
  --text: #1A2433;
  --highlight: #B89968;
  --gold-text: #8A6E40;
  --bg-cream: #F8F4ED;
  --text-soft: #4A5468;
  --white: #FFFFFF;
  --headline: Georgia, 'Times New Roman', serif; /* Platzhalter bis Mosafin gehostet (Phase D) */
  --mainFont: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --radius: 10px;
  --radius-btn: 50px;
  --shadow-card: 0 0 24px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--mainFont);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--headline); color: var(--main); line-height: 1.2; }
a { color: var(--main); }

.wh-wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* Header */
.wh-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid rgba(184,153,104,0.25);
}
.wh-logo { font-family: var(--headline); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.04em; color: var(--main); text-decoration: none; }
.wh-logo span { color: var(--gold-text); }
.wh-head__contact { font-size: 0.95rem; color: var(--text-soft); }
.wh-head__contact a { color: var(--main); text-decoration: none; font-weight: 600; }

/* Hero / Landing */
.wh-hero { padding: 80px 0; }
.wh-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--gold-text); margin: 0 0 14px; }
.wh-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 18px; }
.wh-hero p.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 620px; margin: 0 0 32px; }

.wh-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--highlight); color: var(--secondColor);
  font-weight: 700; text-decoration: none;
  padding: 13px 30px; border-radius: var(--radius-btn);
  border: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wh-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.wh-btn--ghost { background: transparent; color: var(--main); border: 1px solid rgba(30,58,95,0.3); }

.wh-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Content (Posts/Pages fallback) */
.wh-content { padding: 60px 0; }
.wh-content img { max-width: 100%; height: auto; }

/* Footer */
.wh-foot { background: var(--secondColor); color: rgba(255,255,255,0.85); padding: 40px 0; margin-top: 60px; }
.wh-foot a { color: var(--highlight); text-decoration: none; }
.wh-foot__inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.wh-foot small { color: rgba(255,255,255,0.6); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; transform: none !important; }
}
