/*
Theme Name: IJzersterke Groei
Theme URI: https://ijzersterkegroei.nl
Author: Golden Commerce B.V.
Author URI: https://goldencommerce.nl
Description: Professioneel WordPress thema voor IJzersterke Groei — lokale SEO dienstverlener. Alle teksten bewerkbaar via de WordPress Customizer.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ijzersterkegroei
Tags: custom-menu, custom-logo, featured-images, translation-ready, one-column
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ============================================
   IJZERSTERKE GROEI — Design System
   Brandbook v4 compliant
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --koper:        #b45309;
  --diep-koper:   #92400e;
  --amber:        #d97706;
  --licht-amber:  #fbbf24;
  --donker-brons: #78350f;
  --charcoal:     #1c1917;
  --charcoal-2:   #292524;
  --warm-white:   #faf9f7;
  --cream:        #fef3c7;
  --stone-400:    #a8a29e;
  --stone-500:    #78716c;
  --stone-600:    #57534e;
  --gs-green:     #00413C;
  --gs-light:     #73C382;
  --success:      #16a34a;
  --error:        #dc2626;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --section-py:   6rem;
  --container-px: 1.5rem;
  --container-max: 1200px;
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:    0 1px 2px rgba(28,25,23,0.06);
  --shadow-md:    0 4px 12px rgba(28,25,23,0.08);
  --shadow-lg:    0 12px 32px rgba(28,25,23,0.12);
  --shadow-glow:  0 0 24px rgba(180,83,9,0.25);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); font-weight: 400; line-height: 1.8; color: var(--charcoal); background: var(--warm-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--koper); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--amber); }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: var(--charcoal); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--charcoal); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: var(--charcoal); }
h4 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--stone-500); }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--stone-600); line-height: 1.9; }
.mono { font-family: var(--font-mono); }
.text-amber { color: var(--koper); }
.text-center { text-align: center; }

/* Layout */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--charcoal); color: var(--warm-white); }
.section--dark h2, .section--dark h3 { color: var(--warm-white); }
.section--cream { background: var(--cream); }
.section--gradient { background: linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-2) 100%); color: var(--warm-white); }
.section--gradient h2, .section--gradient h3 { color: var(--warm-white); }
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Section Header */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-header h4 { margin-bottom: 0.75rem; color: var(--koper); }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--stone-500); font-size: 1.05rem; }
.section--dark .section-header p, .section--gradient .section-header p { color: var(--stone-400); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(28,25,23,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(180,83,9,0.15); transition: var(--transition); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); height: 72px; }
.nav__logo { display: flex; align-items: center; gap: 0.75rem; color: white; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.03em; }
.nav__logo svg { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a { color: var(--stone-400); font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; transition: var(--transition); position: relative; }
.nav__links a:hover, .nav__links a.active, .nav__links .current-menu-item a, .nav__links .current_page_item a { color: white; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--koper); transition: var(--transition); }
.nav__links a:hover::after, .nav__links a.active::after, .nav__links .current-menu-item a::after, .nav__links .current_page_item a::after { width: 100%; }
.nav__cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--koper); color: white !important; padding: 0.55rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.85rem; transition: var(--transition); }
.nav__cta:hover { background: var(--amber); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.nav__cta::after { display: none !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { width: 24px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

/* WP Menu Integration */
.nav__links .menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav__links .menu li { list-style: none; }
.nav__links .menu li a { color: var(--stone-400); font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; transition: var(--transition); position: relative; }
.nav__links .menu li a:hover, .nav__links .menu .current-menu-item a, .nav__links .menu .current_page_item a { color: white; }
.nav__links .menu li a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--koper); transition: var(--transition); }
.nav__links .menu li a:hover::after, .nav__links .menu .current-menu-item a::after { width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; padding: 0.85rem 2rem; border-radius: 10px; border: none; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn--primary { background: var(--koper); color: white; }
.btn--primary:hover { background: var(--amber); color: white; box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.btn--secondary { background: transparent; color: var(--koper); border: 2px solid var(--koper); }
.btn--secondary:hover { background: var(--koper); color: white; transform: translateY(-2px); }
.btn--white { background: white; color: var(--charcoal); }
.btn--white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--large { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: 12px; }
.btn--small { padding: 0.5rem 1.25rem; font-size: 0.85rem; }

/* Cards */
.card { background: white; border-radius: 16px; padding: 2.5rem 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; background: var(--cream); color: var(--koper); }
.card__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--charcoal); }
.card__text { color: var(--stone-500); font-size: 0.95rem; line-height: 1.7; }

/* Pricing Cards */
.pricing-card { background: white; border-radius: 20px; padding: 2.5rem 2rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.06); transition: var(--transition); position: relative; overflow: hidden; }
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.pricing-card--featured { border: 2px solid var(--koper); box-shadow: var(--shadow-md); padding-top: 3.5rem; }
.pricing-card--featured::before { content: 'Meest gekozen'; position: absolute; top: 0; left: 0; right: 0; background: var(--koper); color: white; text-align: center; font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem; padding: 0.4rem; letter-spacing: 0.06em; }
.pricing-card__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.pricing-card__tagline { color: var(--stone-500); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-card__price { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700; color: var(--koper); margin-bottom: 0.25rem; }
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--stone-500); }
.pricing-card__setup { font-size: 0.85rem; color: var(--stone-500); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.pricing-card__features { list-style: none; margin-bottom: 2rem; }
.pricing-card__features li { padding: 0.5rem 0; padding-left: 1.75rem; position: relative; font-size: 0.92rem; color: var(--stone-600); }
.pricing-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--koper); font-weight: 700; }
.pricing-card .btn { width: 100%; }

/* Stats */
.stat { text-align: center; padding: 1.5rem; }
.stat__number { font-family: var(--font-mono); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--koper); line-height: 1; margin-bottom: 0.5rem; }
.stat__label { font-family: var(--font-heading); font-size: 0.9rem; color: var(--stone-500); font-weight: 500; }
.section--dark .stat__number { color: var(--licht-amber); }
.section--dark .stat__label { color: var(--stone-400); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; counter-reset: step; }
.step { text-align: center; padding: 2rem 1.5rem; position: relative; counter-increment: step; }
.step__number { width: 52px; height: 52px; border-radius: 50%; background: var(--koper); color: white; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 1.25rem; margin: 0 auto 1.25rem; box-shadow: 0 0 0 6px rgba(180,83,9,0.12); }
.step__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.step__text { font-size: 0.9rem; color: var(--stone-500); line-height: 1.6; }
.section--dark .step__title { color: var(--warm-white); }
.section--dark .step__text { color: var(--stone-400); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; background: var(--charcoal); color: white; position: relative; overflow: hidden; padding-top: 72px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(180,83,9,0.12) 0%, transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(217,119,6,0.06) 0%, transparent 50%); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(180,83,9,0.08) 1px, transparent 1px); background-size: 30px 30px; }
.hero__content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero__text h1 { color: white; margin-bottom: 1.5rem; }
.hero__text h1 .highlight { color: var(--koper); display: block; }
.hero__text .lead { color: var(--stone-400); margin-bottom: 2.5rem; font-size: 1.1rem; }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__logo { display: flex; justify-content: center; align-items: center; }
.hero__logo svg { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 0 40px rgba(180,83,9,0.2)); }

/* Page Header (subpages) */
.page-header { background: var(--charcoal); color: white; padding: 8rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(180,83,9,0.1) 0%, transparent 60%); }
.page-header::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(180,83,9,0.06) 1px, transparent 1px); background-size: 30px 30px; }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: white; margin-bottom: 1rem; }
.page-header p { color: var(--stone-400); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

@keyframes sparkFloat { 0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; } 50% { transform: translateY(-12px) scale(1.15); opacity: 1; } }
.hero__spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--licht-amber); animation: sparkFloat 3s ease-in-out infinite; z-index: 1; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--koper) 0%, var(--amber) 100%); padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 24px 24px; }
.cta-banner h2 { color: white; margin-bottom: 1rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }
.cta-banner .btn { position: relative; }

/* Case Cards */
.case-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04); transition: var(--transition); }
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.case-card__header { background: var(--charcoal); padding: 1.5rem 2rem; color: white; }
.case-card__industry { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--koper); font-weight: 600; margin-bottom: 0.25rem; }
.case-card__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; }
.case-card__body { padding: 2rem; }
.case-card__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.case-card__metric-label { font-size: 0.75rem; color: var(--stone-500); text-transform: uppercase; letter-spacing: 0.06em; }
.case-card__metric-value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--koper); }

/* Testimonials */
.testimonial { background: white; border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04); position: relative; }
.testimonial::before { content: '\201C'; font-family: Georgia, serif; font-size: 5rem; color: var(--koper); opacity: 0.15; position: absolute; top: 0.5rem; left: 1.5rem; line-height: 1; }
.testimonial__text { font-style: italic; font-size: 1.05rem; color: var(--stone-600); margin-bottom: 1.5rem; line-height: 1.8; }
.testimonial__author { font-family: var(--font-heading); font-weight: 600; color: var(--charcoal); font-size: 0.95rem; }
.testimonial__role { font-size: 0.85rem; color: var(--stone-500); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.form-input, .form-textarea, .form-select { width: 100%; padding: 0.85rem 1rem; border: 2px solid rgba(0,0,0,0.08); border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal); background: white; transition: var(--transition); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--koper); box-shadow: 0 0 0 3px rgba(180,83,9,0.1); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--stone-400); }

/* Badge */
.badge { display: inline-block; padding: 0.3rem 0.85rem; border-radius: 99px; font-family: var(--font-heading); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.badge--amber { background: rgba(180,83,9,0.1); color: var(--koper); }
.badge--white { background: rgba(255,255,255,0.15); color: white; }

/* Check List */
.check-list { list-style: none; }
.check-list li { padding: 0.65rem 0; padding-left: 2rem; position: relative; font-size: 0.95rem; color: var(--stone-600); border-bottom: 1px solid rgba(0,0,0,0.04); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--koper); font-weight: 700; }

/* Comparison Table */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.comparison-table th { font-family: var(--font-heading); font-weight: 600; padding: 1rem; text-align: left; background: var(--charcoal); color: white; }
.comparison-table th:first-child { border-radius: 12px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 12px 0 0; }
.comparison-table td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--cream); }
.comparison-table .check { color: var(--koper); font-weight: 700; text-align: center; }
.comparison-table .dash { color: var(--stone-400); text-align: center; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.06); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--charcoal); background: none; border: none; width: 100%; text-align: left; transition: var(--transition); }
.faq-question:hover { color: var(--koper); }
.faq-question__icon { font-size: 1.5rem; color: var(--koper); transition: var(--transition); flex-shrink: 0; margin-left: 1rem; }
.faq-item.active .faq-question__icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer__inner { padding-bottom: 1.25rem; color: var(--stone-600); font-size: 0.95rem; line-height: 1.8; }

/* Footer */
.footer { background: var(--charcoal); color: var(--stone-400); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand p { font-size: 0.9rem; margin-top: 1rem; line-height: 1.7; }
.footer__title { font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: white; margin-bottom: 1.25rem; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.75rem; }
.footer__links a { color: var(--stone-400); font-size: 0.9rem; transition: var(--transition); }
.footer__links a:hover { color: var(--koper); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 1rem; }
.footer__family { display: flex; align-items: center; gap: 0.5rem; color: var(--gs-light); font-size: 0.8rem; }
.footer__family-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gs-light); }

/* WP Footer Menu */
.footer__links .menu { list-style: none; margin: 0; padding: 0; }
.footer__links .menu li { margin-bottom: 0.75rem; }
.footer__links .menu li a { color: var(--stone-400); font-size: 0.9rem; }
.footer__links .menu li a:hover { color: var(--koper); }

/* Scroll animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 968px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; }
  .hero__buttons { justify-content: center; }
  .hero__logo { order: -1; }
  .hero__logo svg { max-width: 260px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-py: 4rem; }
  .nav__links { display: none; }
  .nav__links.active { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(28,25,23,0.98); padding: 1.5rem; gap: 0; border-bottom: 1px solid rgba(180,83,9,0.15); }
  .nav__links.active a, .nav__links.active .menu li a { padding: 0.85rem 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav__links.active .nav__cta { margin-top: 0.75rem; text-align: center; justify-content: center; }
  .nav__links.active .menu { flex-direction: column; gap: 0; }
  .nav__toggle { display: flex; }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 4rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero__buttons { flex-direction: column; width: 100%; }
  .hero__buttons .btn { width: 100%; }
  .pricing-card { padding: 2rem 1.5rem; }
}

/* WP Admin bar fix */
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
