/*
Theme Name:  WattBuddies
Theme URI:   https://wattbuddies.com
Author:      WattBuddies
Author URI:  https://wattbuddies.com
Description: Officieel WattBuddies-thema - Clear Volt v6.5. Volledige content/design scheiding: alle pagina-inhoud via WP-editor, wb_faq CPT voor FAQ, Customizer voor globale waarden. Geen plugins nodig.
Version:     6.5.0
License:     Proprietary
Text Domain: wattbuddies
Tags:        custom-logo, custom-menu, full-width-template, translation-ready
*/

/* ═══════════════════════════════════════
   CSS VARIABLES — CLEAR VOLT v5
═══════════════════════════════════════ */
:root {
  --volt:      #FF7800;
  --volt-deep: #E06400;
  --volt-soft: #FFF5EC;
  --teal:      #0D9488;
  --teal-soft: #EDFCF9;
  --sky:       #0EA5E9;
  --sky-soft:  #EFF8FF;
  --ink:       #0A0A0B;
  --gr:        #3F3F46;
  --slate:     #71717A;
  --bo:        #E4E4E7;
  --sf:        #F4F4F6;
  --white:     #FFFFFF;

  /* Backwards-compat aliassen */
  --orange: var(--volt);
  --amber:  var(--volt);
  --dark:   var(--ink);
  --mid:    var(--gr);
  --light:  var(--slate);
  --cream:  var(--sf);
  --border: var(--bo);

  --shadow-sm: 0 2px 8px rgba(10,10,11,.06);
  --shadow-md: 0 8px 32px rgba(10,10,11,.08);
  --shadow-lg: 0 20px 60px rgba(10,10,11,.10);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 999px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── NAV ── */
.wb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bo);
  transition: box-shadow .3s;
}
.wb-nav.scrolled { box-shadow: var(--shadow-sm); }

.wb-logo {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--ink); text-decoration: none; letter-spacing: -.02em;
}
.wb-logo .watt { font-weight: 400; }
.wb-logo .buddies { font-weight: 700; }

.menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.menu li a {
  font-family: var(--font-display); font-size: .875rem; font-weight: 500;
  color: var(--slate); text-decoration: none;
  padding: 6px 12px; border-radius: var(--radius-full);
  transition: color .2s, background .2s;
}
.menu li a:hover { color: var(--ink); background: var(--sf); }
.menu li.menu-cta a {
  background: var(--volt); color: #fff; font-weight: 700; padding: 8px 18px;
}
.menu li.menu-cta a:hover { background: var(--volt-deep); }

.wb-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

.wb-mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--bo);
  padding: 12px 5%; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow-md);
}
.wb-mobile-menu.open { display: flex; }
.wb-mobile-menu a {
  font-family: var(--font-display); font-size: .95rem; font-weight: 500;
  color: var(--gr); text-decoration: none;
  padding: 12px 16px; border-radius: var(--radius-md); transition: background .2s;
}
.wb-mobile-menu a:hover { background: var(--sf); }
.wb-mobile-menu a.menu-cta {
  background: var(--volt); color: #fff; font-weight: 700;
  text-align: center; margin-top: 8px;
}

@media (max-width: 768px) {
  .menu { display: none; }
  .wb-hamburger { display: block; }
}

/* ── KNOPPEN ── */
.wb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  padding: 12px 22px; border-radius: var(--radius-full);
  border: none; cursor: pointer; text-decoration: none; transition: all .2s;
}
.wb-btn-primary { background: var(--volt); color: #fff; }
.wb-btn-primary:hover { background: var(--volt-deep); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,120,0,.3); }
.wb-btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.wb-btn-outline:hover { background: var(--sf); }

/* ── FOOTER ── */
.wb-footer { background: var(--ink); color: #fff; padding: 48px 5% 32px; margin-top: 80px; }
.wb-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.wb-footer-logo { font-family: var(--font-display); font-weight: 700; color: #fff; text-decoration: none; }
.wb-footer-links a { font-size: .82rem; color: #71717A; text-decoration: none; margin-left: 20px; transition: color .2s; }
.wb-footer-links a:hover { color: #fff; }
.wb-footer-copy { font-size: .75rem; color: #52525B; margin-top: 24px; padding-top: 24px; border-top: 1px solid #1C1C1E; text-align: center; }

@media (max-width: 900px) {
  .wb-footer-inner { flex-direction: column; text-align: center; }
  .wb-footer-links a { margin: 0 10px; }
}

/* ── SEO/AI CONTENT PAGINA'S (geld-verdienen, laadpaal-delen, geschikt, faq) ── */
.wb-seo-page { padding: 96px 5% 80px; max-width: 880px; margin: 0 auto; font-family: var(--font-body); color: var(--gr); line-height: 1.75; }
.wb-seo-page h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px; }
.wb-seo-page h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.8rem); font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin: 48px 0 14px; }
.wb-seo-page h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.wb-seo-page p { margin-bottom: 18px; font-size: 1rem; }
.wb-seo-page ul, .wb-seo-page ol { margin: 0 0 22px 22px; padding: 0; }
.wb-seo-page li { margin-bottom: 8px; }
.wb-seo-page .lead { font-size: 1.15rem; color: var(--gr); margin-bottom: 32px; line-height: 1.7; }
.wb-seo-page .badge { display: inline-block; background: var(--volt-soft); color: var(--volt); font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 18px; }
.wb-seo-page .cta-box { margin: 48px 0 8px; padding: 32px 28px; background: linear-gradient(135deg, var(--volt-soft) 0%, #fff 100%); border: 1px solid rgba(255,120,0,.18); border-radius: var(--radius-xl); text-align: center; }
.wb-seo-page .cta-box h3 { margin-top: 0; font-size: 1.3rem; }
.wb-seo-page .cta-box .wb-btn-primary { padding: 14px 28px; font-size: 1rem; }
.wb-seo-page .faq-q { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-top: 28px; margin-bottom: 8px; font-size: 1.05rem; }
.wb-seo-page .faq-a { margin-bottom: 20px; }

/* ── WP EDITOR OUTPUT OP SEO-PAGINA'S (.wb-seo-content) ── */
/* Zorg dat WordPress editor-HTML (koppeling via the_content) goed wordt gestyled */
.wb-seo-content h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.8rem); font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin: 48px 0 14px; }
.wb-seo-content h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.wb-seo-content p { margin-bottom: 18px; font-size: 1rem; color: var(--gr); line-height: 1.75; }
.wb-seo-content ul, .wb-seo-content ol { margin: 0 0 22px 22px; padding: 0; }
.wb-seo-content li { margin-bottom: 8px; font-size: 1rem; color: var(--gr); line-height: 1.65; }
.wb-seo-content strong { color: var(--ink); }
.wb-seo-content a { color: var(--volt); }
.wb-seo-content a:hover { text-decoration: underline; }
/* CTA-box: admin voegt dit toe via HTML-blok in editor */
.wb-seo-content .cta-box { margin: 48px 0 8px; padding: 32px 28px; background: linear-gradient(135deg, var(--volt-soft) 0%, #fff 100%); border: 1px solid rgba(255,120,0,.18); border-radius: var(--radius-xl); text-align: center; }
.wb-seo-content .cta-box h3 { margin-top: 0; font-size: 1.3rem; font-family: var(--font-display); color: var(--ink); }
.wb-seo-content .cta-box p { font-size: .95rem; margin-bottom: 20px; }
.wb-seo-content .lead { font-size: 1.15rem; color: var(--gr); margin-bottom: 32px; line-height: 1.7; }
.wb-seo-content .badge { display: inline-block; background: var(--volt-soft); color: var(--volt); font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 18px; }
