﻿/*
Theme Name: Modern AI theme by RM
Theme URI: https://reddermanagement.nl
Author: Bart R
Author URI: https://reddermanagement.nl
Description: A modern, performant WordPress theme built with PHP 8.2, Tailwind CSS, and minimal JavaScript. No jQuery dependency. Full WooCommerce support with block editor integration.
Version: 1.3.55
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modern-theme
Tags: modern, lightweight, tailwind, performance, accessibility-ready, e-commerce, woocommerce, full-site-editing, block-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;700&family=DM+Sans:ital,wght@0,300;0,400;0,500&display=swap');

/* =============================================
   RM Merkkleuren — CSS-variabelen
   Globaal beschikbaar voor alle pagina-inhoud en synced patterns
   ============================================= */
:root {
  --rm-teal:      #1a9ba1;
  --rm-teal-dark: #0f6e74;
  --rm-teal-deep: #0d3d40;
  --rm-amber:     #d4890a;
  --rm-slate:     #3d5a6b;
  --rm-off-white: #f7f5f0;
  --rm-border:    #e2e0da;
}

/* =============================================
   RM Case Cards — Klantverhalen sectie
   ============================================= */
.rm-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.rm-case-card {
  background: #ffffff;
  border: 1px solid #e2e0da;
  border-radius: 6px;
  padding: 1.75rem;
}

.rm-case-client {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a9ba1;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.rm-case-problem {
  font-style: italic;
  color: #3d5a6b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.rm-case-divider {
  border: none;
  border-top: 1px solid #e2e0da;
  margin: 1rem 0;
}

.rm-result-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #d4890a;
  line-height: 1;
}

/* =============================================
   RM Tags — Referenties sectie
   ============================================= */
.rm-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rm-tag {
  background: #ffffff;
  border: 1px solid #e2e0da;
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: #3d5a6b;
  font-weight: 500;
  display: inline-block;
}

.rm-tag-sector {
  background: #f7f5f0;
  border: 1px solid #e2e0da;
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: #3d5a6b;
  display: inline-block;
}

/* =============================================
   RM Section backgrounds
   ============================================= */
.rm-section-light { background: #f7f5f0; }
.rm-section-white { background: #ffffff; }
.rm-section-dark  { background: #0d3d40; color: #ffffff; }

/* Headings in donkere secties: theme.json zet heading op rm-teal-deep (#0d3d40) —
   dat is onzichtbaar op een #0d3d40 achtergrond. Expliciet overschrijven. */
.rm-section-dark .wp-block-heading,
.rm-section-dark h1, .rm-section-dark h2, .rm-section-dark h3,
.rm-section-dark h4, .rm-section-dark h5, .rm-section-dark h6 {
  color: #ffffff;
}

/* =============================================
   RM Grid helpers
   ============================================= */
.rm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.rm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* =============================================
   RM Typografie helpers
   ============================================= */
.rm-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0d3d40;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.rm-intro {
  font-size: 1.05rem;
  color: #4a4a4a;
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* =============================================
   RM Knop helpers
   ============================================= */
.rm-btn-primary {
  background: #1a9ba1;
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.rm-btn-primary:hover { background: #0f6e74; color: #ffffff; }

.rm-btn-ghost {
  border: 1.5px solid #1a9ba1;
  color: #1a9ba1;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.rm-btn-ghost:hover { background: #1a9ba1; color: #ffffff; }

/* =============================================
   RM Footer
   ============================================= */
.rm-footer,
.rm-footer p,
.rm-footer li {
  color: rgba(255,255,255,0.7);
}

.rm-footer .rm-footer-heading {
  color: rgba(255,255,255,0.4) !important;
}

.rm-footer .rm-footer-tagline {
  color: rgba(255,255,255,0.6) !important;
}

.rm-footer .rm-footer-sub {
  color: rgba(255,255,255,0.45) !important;
}

.rm-footer .rm-footer-copy {
  color: rgba(255,255,255,0.35) !important;
}

.rm-footer a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  transition: color 0.2s;
}

.rm-footer a:hover {
  color: #1a9ba1 !important;
}

.rm-footer .wp-block-navigation a {
  color: rgba(255,255,255,0.7) !important;
}

.rm-footer .wp-block-navigation a:hover {
  color: #1a9ba1 !important;
}

.rm-footer .rm-footer-divider {
  border-color: rgba(255,255,255,0.12) !important;
  background-color: rgba(255,255,255,0.12) !important;
}

/* =============================================
   RM Patterns — gedeelde stijlen
   ============================================= */
.rm-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a9ba1;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.rm-result-number {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #d4890a;
  line-height: 1;
}

.rm-problem-card {
  border-left: 2px solid #1a9ba1;
  padding-left: 1rem;
}

.rm-quote {
  font-style: italic;
  color: #3d5a6b;
  font-size: 0.875rem;
  line-height: 1.6;
  border-left: 2px solid #1a9ba1;
  padding-left: 0.75rem;
  margin-top: 0.5rem;
}

/* =============================================
   Layout — template-niveau spacing
   ============================================= */

/* Verwijder de default block-gap tussen header / main / footer */
.wp-site-blocks > * + * {
  margin-block-start: 0;
}

/* Geen ruimte tussen bovenste blokken in post-content (secties regelen eigen padding) */
.wp-block-post-content > * + * {
  margin-block-start: 0;
}

/* Fullwidth-secties worden afgehandeld door WordPress (.has-global-padding > .alignfull).
   De eerder gebruikte width:100vw veroorzaakte een horizontale scrollbalk omdat
   100vw de scrollbar-breedte meetelt. Geen eigen override nodig. */

/* =============================================
   RM Label — donkere variant
   ============================================= */
.rm-label-dark {
  color: rgba(255,255,255,0.7);
}

/* =============================================
   RM Helikopterview — pagina-specifieke stijlen
   ============================================= */

.rm-hv-herken-grid {
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.rm-hv-herken-item {
  border-left: 2px solid #1a9ba1;
  padding-left: 1rem;
}

.rm-hv-herken-titel {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0d3d40;
  margin-bottom: 0.5rem;
}

.rm-hv-fase-cols {
  gap: 1.5rem;
  align-items: stretch;
}

.rm-hv-fase-col {
  display: flex;
  flex-direction: column;
}

.rm-hv-fase {
  background: #ffffff;
  border: 1px solid #e2e0da;
  border-top: 3px solid #1a9ba1;
  border-radius: 6px;
  padding: 1.5rem;
  flex: 1;
}

.rm-hv-fase-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e2e0da;
}

.rm-hv-fase-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #d4890a;
  line-height: 1;
  margin: 0 0 0.25rem;
}

.rm-hv-fase-vraag {
  font-style: italic;
  color: #3d5a6b;
  font-size: 0.8rem;
  margin: 0 0 0.4rem;
}

.rm-hv-fase-label {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0d3d40;
  margin: 0;
}

.rm-hv-fase-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rm-hv-fase-list li {
  padding: 0.35rem 0 0.35rem 1rem;
  position: relative;
  font-size: 0.875rem;
  color: #4a4a4a;
  border-bottom: 1px solid #f0eeea;
}

.rm-hv-fase-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1a9ba1;
  font-size: 0.75rem;
}

.rm-hv-support-titel {
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.rm-hv-support-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  margin: 0;
}

.rm-hv-cta { text-align: center; }

.rm-hv-cta-titel {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.rm-hv-cta-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.rm-hv-cta-contact {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.rm-hv-cta-contact a { color: #1a9ba1 !important; }

.rm-hv-check-list {
  list-style: none;
  padding: 0;
}

.rm-hv-check-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.rm-hv-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1a9ba1;
  font-weight: 700;
}

/* =============================================
   RM Klantreismatrix — pagina-specifieke stijlen
   ============================================= */

.rm-krm-pain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rm-krm-pain li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e0da;
  font-size: 0.95rem;
}

.rm-krm-pain li:last-child { border-bottom: none; }

.rm-krm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a9ba1;
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.rm-krm-prose {
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  max-width: 720px;
}

.rm-krm-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.rm-krm-value {
  background: #f7f5f0;
  border: 1px solid #e2e0da;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #4a4a4a;
  line-height: 1.6;
}

.rm-krm-value strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: #0d3d40;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.rm-krm-matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.rm-krm-matrix {
  border-collapse: collapse;
  min-width: 820px;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.4;
}

.rm-krm-matrix th,
.rm-krm-matrix td {
  border: 1px solid #e2e0da;
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.rm-krm-phase th {
  background: #0d3d40;
  color: #ffffff;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.rm-krm-phase th:first-child { background: transparent; }

.rm-krm-phase-customer { background: #1a6e74 !important; }

.rm-krm-journey th {
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  padding: 0.3rem 0.6rem;
}

.rm-krm-journey th:first-child { background: transparent; border: none; }

.rm-krm-journey-buying {
  background: rgba(26,155,161,0.12);
  color: #0f6e74;
}

.rm-krm-journey-customer {
  background: rgba(26,155,161,0.22);
  color: #0a4a50;
}

.rm-krm-sectionrow td {
  background: #f0eeea;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3d5a6b;
  padding: 0.3rem 0.6rem;
}

.rm-krm-rowlabel {
  font-weight: 600;
  font-size: 0.8rem;
  color: #0d3d40;
  background: #fafaf8;
  white-space: nowrap;
  min-width: 90px;
}

.rm-krm-sub {
  display: block;
  font-weight: 400;
  font-size: 0.68rem;
  color: #7a7a7a;
  margin-top: 0.15rem;
  white-space: normal;
}

.rm-krm-row-doel td { background: rgba(61,90,107,0.04); }
.rm-krm-row-klant td { background: rgba(26,155,161,0.04); }
.rm-krm-row-partner td { background: rgba(212,137,10,0.04); }

.rm-krm-divider td {
  padding: 2px;
  background: #e2e0da;
  border: none;
}

.rm-krm-c-teal   { background: rgba(26,155,161,0.1);  color: #0f6e74; }
.rm-krm-c-amber  { background: rgba(212,137,10,0.1);  color: #7a5000; }
.rm-krm-c-doel   { background: rgba(61,90,107,0.1);   color: #2a4050; }
.rm-krm-c-klant  { background: rgba(26,155,161,0.08); color: #0f6e74; }
.rm-krm-c-partner{ background: rgba(212,137,10,0.08); color: #7a5000; }
.rm-krm-active   { background: rgba(61,90,107,0.1);   color: #2a4050; }

.rm-krm-matrix-mobile { display: none; }

.rm-krm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #4a4a4a;
}

.rm-krm-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rm-krm-legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rm-krm-lg-marketing { background: rgba(26,155,161,0.5); }
.rm-krm-lg-ops       { background: rgba(212,137,10,0.5); }
.rm-krm-lg-doel      { background: rgba(61,90,107,0.5); }
.rm-krm-lg-klant     { background: rgba(26,155,161,0.3); }
.rm-krm-lg-partner   { background: rgba(212,137,10,0.3); }

.rm-krm-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.rm-krm-meta {
  font-size: 0.8rem;
  color: #7a7a7a;
  margin-top: 0.75rem;
}

/* =============================================
   Responsive — 680px breakpoint
   ============================================= */
@media (max-width: 680px) {
  .rm-header .wp-block-site-logo img {
    max-width: 110px !important;
  }

  .rm-result-number {
    font-size: 1.6rem;
  }

  .rm-grid-3,
  .rm-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .rm-cases-grid {
    grid-template-columns: 1fr !important;
  }

  /* Helikopterview */
  .rm-hv-fase-cols { gap: 1rem; }

  /* Klantreismatrix — toon mobiele kaarten, verberg tabel */
  .rm-krm-matrix-wrap { display: none; }
  .rm-krm-matrix-mobile { display: block; }
  .rm-krm-values { grid-template-columns: 1fr; }

  .rm-krm-mp { margin-bottom: 1.25rem; }
  .rm-krm-mp-h {
    background: #0d3d40;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.6rem;
    border-radius: 3px 3px 0 0;
  }
  .rm-krm-mp-h-customer { background: #1a6e74; }
  .rm-krm-mr {
    display: flex;
    border: 1px solid #e2e0da;
    border-top: none;
    font-size: 0.8rem;
  }
  .rm-krm-ml {
    width: 80px;
    min-width: 80px;
    padding: 0.4rem 0.5rem;
    font-weight: 600;
    color: #0d3d40;
    background: #fafaf8;
    border-right: 1px solid #e2e0da;
    font-size: 0.75rem;
  }
  .rm-krm-mc {
    padding: 0.4rem 0.5rem;
    flex: 1;
    color: #1a1a1a;
    font-size: 0.78rem;
  }
}

/* =============================================
   Commercieel IT-Fundament — keten-visual
   Prefix: rm-cif-
   ============================================= */

.rm-cif-chain {
	margin: 2.5rem 0;
}

.rm-cif-phases {
	display: flex;
	margin-bottom: 0.75rem;
}

.rm-cif-phase {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0;
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 4px;
	color: #ffffff;
}

.rm-cif-phase--data {
	flex: 2;
	background: var(--rm-teal);
	margin-right: 3px;
}

.rm-cif-phase--info {
	flex: 2;
	background: var(--rm-teal-dark);
	margin-right: 3px;
}

.rm-cif-phase--insight {
	flex: 1;
	background: var(--rm-teal-deep);
	margin-right: 3px;
}

.rm-cif-phase--action {
	flex: 1;
	background: var(--rm-amber);
}

.rm-cif-flow {
	display: flex;
	align-items: stretch;
	position: relative;
}

.rm-cif-step {
	flex: 1;
	position: relative;
	text-align: center;
	padding: 0 0.25rem;
}

.rm-cif-num {
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	font-size: 0.75rem;
	color: #ffffff;
	background: var(--rm-teal);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.6rem;
}

.rm-cif-step-title {
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--rm-teal-deep);
	margin: 0 0 0.4rem;
	line-height: 1.3;
}

.rm-cif-step-desc {
	font-size: 0.78rem;
	color: var(--rm-slate);
	line-height: 1.45;
	margin: 0;
}

.rm-cif-step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 12px;
	right: -6px;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--rm-teal);
	border-top: 2px solid var(--rm-teal);
	transform: rotate(45deg);
	z-index: 1;
}

.rm-cif-mobile {
	display: none;
}

.rm-cif-group {
	margin-bottom: 1rem;
}

.rm-cif-group-header {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0;
	font-family: 'Syne', sans-serif;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 4px 4px 0 0;
	color: #ffffff;
}

.rm-cif-mobile-step {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-align: left;
	padding: 0.75rem 1rem;
	background: #ffffff;
	border: 1px solid var(--rm-border);
	border-top: none;
}

.rm-cif-mobile-step:last-child {
	border-radius: 0 0 4px 4px;
}

.rm-cif-mobile-step .rm-cif-num {
	margin: 0;
	flex-shrink: 0;
}

.rm-cif-mobile-step .rm-cif-step-title {
	margin-bottom: 0.15rem;
}

.rm-cif-foundation {
	margin-top: 1rem;
	background: var(--rm-off-white);
	border: 1.5px solid var(--rm-teal);
	border-radius: 4px;
	padding: 0.6rem;
	text-align: center;
	font-family: 'Syne', sans-serif;
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--rm-teal-deep);
	letter-spacing: 0.04em;
}

.rm-cif-steplist li {
	margin-bottom: 0.9rem;
	line-height: 1.6;
}

.rm-cif-steplist li strong {
	font-family: 'Syne', sans-serif;
	color: #ffffff;
}

.rm-cif-payoff {
	font-family: 'Syne', sans-serif;
	font-weight: 500;
	font-size: 1.05rem;
	color: var(--rm-amber);
	letter-spacing: 0.02em;
	margin-top: 1.5rem;
}

@media (max-width: 680px) {
	.rm-cif-phases { display: none; }
	.rm-cif-flow { display: none; }
	.rm-cif-mobile { display: block; }
}











