/*
Theme Name: RMD Onderhoud & Techniek
Theme URI: https://rmd-techniek.nl
Author: RMD Onderhoud & Techniek
Description: Zakelijke WordPress-website voor RMD Onderhoud & Techniek uit Rijswijk. Uitvoerende partner voor vastgoedonderhoud, techniek, storingen, renovatie en projectondersteuning. Voorheen RMD Klussen.
Version: 2.1.0
Text Domain: rmd-klussen
*/

:root {
  --rmd-navy: #071A2D;
  --rmd-navy-2: #0A2238;
  --rmd-blue: #2F80C1;
  --rmd-blue-soft: #5C9ED0;
  --rmd-accent: #2F80C1;
  --rmd-steel: #2B2F33;
  --rmd-grey: #68737D;
  --rmd-light: #F4F6F8;
  --rmd-white: #ffffff;
  --rmd-ink: #101820;
  --rmd-muted: #5d6872;
  --rmd-bg: #F4F6F8;
  --shadow: 0 18px 45px rgba(11, 25, 40, .15);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--rmd-ink);
  background: var(--rmd-bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { color: var(--rmd-navy); }

.rmd-container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.rmd-topbar {
  background: #071A2D;
  color: rgba(255,255,255,.88);
  font-size: 14px;
}
.rmd-topbar .rmd-container { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 9px 0; flex-wrap: wrap; }
.rmd-topbar a { color: white; font-weight: 700; }
.rmd-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7,26,45,.10);
  box-shadow: 0 10px 26px rgba(7,26,45,.08);
}
.rmd-header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rmd-brand { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.rmd-brand-logo { width: 260px; max-width: 100%; height: auto; object-fit: contain; border-radius: 0; }
.rmd-brand img { width: 260px; max-width: 100%; height: auto; object-fit: contain; }

.rmd-brand-text { display:flex; flex-direction:column; line-height:1.08; color:var(--rmd-navy); min-width: 250px; }
.rmd-brand-title { font-weight:950; font-size:22px; letter-spacing:-.03em; }
.rmd-brand-sub { font-size:12px; color:var(--rmd-muted); font-weight:750; margin-top:4px; }
.rmd-business-strip { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 0; }
.rmd-business-strip span { background:#eef4f8; color:var(--rmd-navy); border:1px solid rgba(15,30,45,.08); border-radius:999px; padding:8px 11px; font-weight:850; font-size:13px; }
.rmd-sector-card { background:#fff; border:1px solid rgba(15,30,45,.08); border-radius:var(--radius); padding:26px; box-shadow:0 12px 35px rgba(20,36,54,.08); }
.rmd-sector-card h3 { color:var(--rmd-navy); margin:0 0 8px; }
.rmd-sector-card p { color:var(--rmd-muted); margin:0 0 16px; }
.rmd-sector-card ul { margin:0; padding-left:18px; color:var(--rmd-muted); }
.rmd-stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.rmd-stat { background:#fff; border:1px solid rgba(15,30,45,.08); border-radius:18px; padding:20px; box-shadow:0 10px 26px rgba(20,36,54,.06); }
.rmd-stat strong { display:block; font-size:28px; color:var(--rmd-navy); line-height:1; }
.rmd-stat span { display:block; color:var(--rmd-muted); font-weight:750; margin-top:8px; font-size:14px; }
.rmd-note-box { background:#f7fafc; border:1px solid #dfe9ef; border-radius:22px; padding:24px; }
.rmd-page-meta { display:grid; grid-template-columns:1fr 1fr; gap:18px; }

.rmd-nav { display: flex; align-items: center; gap: 6px; }
.rmd-nav a, .rmd-nav .menu-item a {
  color: rgba(7,26,45,.88);
  font-size: 15px;
  font-weight: 750;
  padding: 12px 10px;
  border-radius: 12px;
}
.rmd-nav a:hover, .rmd-nav .current-menu-item a { color: var(--rmd-blue); background: rgba(47,128,193,.08); }
.rmd-header-actions { display: flex; align-items: center; gap: 10px; }
.rmd-menu-toggle { display:none; border:0; background: var(--rmd-navy); color:white; padding:10px 12px; border-radius:12px; font-weight:800; }

.rmd-btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 850;
  border: 0;
  cursor: pointer;
  transition: .2s ease;
  min-height: 48px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}
.rmd-btn:hover { transform: translateY(-1px); }
.rmd-btn-primary { background: var(--rmd-accent); color: white; }
.rmd-btn-secondary { background: var(--rmd-blue); color: white; }
.rmd-btn-dark { background: var(--rmd-navy); color: white; }
.rmd-btn-light { background: white; color: var(--rmd-navy); }
.rmd-btn-outline { border: 1px solid rgba(255,255,255,.35); color: white; background: transparent; box-shadow: none; }
.rmd-btn-small { min-height: 40px; padding: 10px 14px; font-size: 14px; }

.rmd-hero {
  color: white;
  background:
    radial-gradient(circle at 22% 18%, rgba(47,128,193,.28), transparent 34%),
    linear-gradient(135deg, rgba(7,26,45,.96), rgba(43,47,51,.94)),
    var(--rmd-navy);
  overflow: hidden;
  position: relative;
}
.rmd-hero::after {
  content:""; position:absolute; right:-180px; top:-120px; width:520px; height:520px;
  background: radial-gradient(circle, rgba(47,128,193,.22), transparent 65%);
}
.rmd-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; min-height: 680px; padding: 72px 0; position: relative; z-index: 2; }
.rmd-kicker { display:inline-flex; align-items:center; gap:8px; color:#d7eaff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); padding:8px 12px; border-radius:999px; font-weight:800; font-size:14px; margin-bottom:18px; }
.rmd-hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: .98; margin: 0 0 22px; letter-spacing: -0.05em; }
.rmd-hero p { font-size: 19px; color: rgba(255,255,255,.82); max-width: 690px; margin: 0 0 28px; }
.rmd-hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
.rmd-trust-row { display:flex; gap:12px; flex-wrap:wrap; }
.rmd-trust-row span { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.11); padding:9px 12px; border-radius:999px; color:rgba(255,255,255,.85); font-weight:700; font-size:14px; }
.rmd-hero-media { position: relative; }
.rmd-hero-card { background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); border-radius: 30px; padding: 12px; box-shadow: var(--shadow); transform: rotate(1deg); }
.rmd-hero-card img { width:100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; }
.rmd-float-card { position:absolute; left:-20px; bottom:24px; background:white; color:var(--rmd-navy); border-radius:18px; padding:16px; width:250px; box-shadow: var(--shadow); }
.rmd-float-card strong { display:block; font-size:18px; }
.rmd-float-card small { color:var(--rmd-muted); font-weight:700; }

.rmd-section { padding: 84px 0; }
.rmd-section-dark { background: var(--rmd-navy); color: white; }
.rmd-section-white { background: white; }
.rmd-section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:34px; }
.rmd-section-head h2, .rmd-page-title h1 { margin:0; color: var(--rmd-navy); font-size: clamp(30px, 4vw, 48px); line-height:1.05; letter-spacing:-.04em; }
.rmd-section-dark .rmd-section-head h2 { color:white; }
.rmd-section-head p { margin: 12px 0 0; color: var(--rmd-muted); max-width: 720px; }
.rmd-section-dark .rmd-section-head p { color: rgba(255,255,255,.75); }

.rmd-grid { display:grid; gap:22px; }
.rmd-grid-3 { grid-template-columns: repeat(3, 1fr); }
.rmd-grid-4 { grid-template-columns: repeat(4, 1fr); }
.rmd-card { background:white; border:1px solid rgba(15,30,45,.08); border-radius: var(--radius); padding:24px; box-shadow: 0 12px 35px rgba(20,36,54,.08); }
.rmd-card h3 { margin: 0 0 8px; color: var(--rmd-navy); font-size:22px; line-height:1.15; }
.rmd-card p { margin:0; color: var(--rmd-muted); }
.rmd-card-icon { width:52px; height:52px; border-radius:16px; background: linear-gradient(135deg, var(--rmd-blue), var(--rmd-blue-soft)); color:white; display:flex; align-items:center; justify-content:center; font-size:25px; margin-bottom:16px; }
.rmd-card:nth-child(3n) .rmd-card-icon { background: linear-gradient(135deg, var(--rmd-accent), #5C9ED0); }

.rmd-photo-card { background: white; border-radius: var(--radius); overflow:hidden; border:1px solid rgba(15,30,45,.08); box-shadow: 0 12px 35px rgba(20,36,54,.08); }
.rmd-photo-card img { width:100%; aspect-ratio: 4/3; object-fit: cover; }
.rmd-photo-card-body { padding:22px; }
.rmd-photo-card h3 { margin:0 0 8px; color:var(--rmd-navy); }
.rmd-photo-card p { color:var(--rmd-muted); margin:0 0 14px; }
.rmd-tags { display:flex; flex-wrap:wrap; gap:8px; }
.rmd-tags span { background:#eef4f8; color:var(--rmd-navy); border-radius:999px; padding:6px 9px; font-size:12px; font-weight:800; }

.rmd-process { counter-reset: step; }
.rmd-step { position:relative; padding-left:72px; }
.rmd-step::before { counter-increment: step; content: counter(step); position:absolute; left:0; top:0; width:50px; height:50px; border-radius:16px; background:var(--rmd-accent); color:white; font-size:22px; font-weight:900; display:flex; align-items:center; justify-content:center; }

.rmd-cta { background: linear-gradient(135deg, var(--rmd-navy), var(--rmd-blue)); color:white; border-radius: 34px; padding:44px; display:grid; grid-template-columns: 1fr auto; align-items:center; gap:24px; overflow:hidden; position:relative; }
.rmd-cta::after { content:""; position:absolute; right:-80px; top:-80px; width:260px; height:260px; border-radius:50%; background: rgba(47,128,193,.20); }
.rmd-cta h2 { margin:0 0 8px; font-size: clamp(28px, 4vw, 44px); line-height:1.05; }
.rmd-cta p { margin:0; color:rgba(255,255,255,.78); max-width:720px; }
.rmd-cta-actions { display:flex; gap:12px; flex-wrap:wrap; position:relative; z-index:2; }

.rmd-page-hero { padding: 74px 0; color:white; background:linear-gradient(135deg, rgba(14,30,49,.96), rgba(18,43,67,.92)); }
.rmd-page-title h1 { color:white; }
.rmd-page-title p { max-width: 760px; color: rgba(255,255,255,.76); font-size:18px; }
.rmd-content { background:white; padding: 64px 0; }
.rmd-content .entry-content { max-width: var(--max); margin:auto; }
.rmd-content h2 { color: var(--rmd-navy); margin-top: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing:-.03em; }

.rmd-form-wrap { max-width: 920px; margin: 0 auto; background:white; border-radius:28px; padding:28px; box-shadow: var(--shadow); border:1px solid rgba(15,30,45,.08); }
.rmd-form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.rmd-field { display:flex; flex-direction:column; gap:7px; }
.rmd-field-full { grid-column: 1 / -1; }
.rmd-field label { font-weight:850; color: var(--rmd-navy); }
.rmd-field input, .rmd-field select, .rmd-field textarea {
  width:100%; border:1px solid #d9e2e8; border-radius:14px; padding:13px 14px; font:inherit; background:#fbfdff; color:var(--rmd-ink);
}
.rmd-field input:focus, .rmd-field select:focus, .rmd-field textarea:focus { outline:3px solid rgba(37,105,168,.16); border-color: var(--rmd-blue); }

.rmd-address-lookup { background:#f7fafc; border:1px solid #dfe9ef; border-radius:20px; padding:18px; display:grid; gap:14px; }
.rmd-address-title { display:flex; flex-direction:column; gap:3px; }
.rmd-address-title strong { color:var(--rmd-navy); font-size:17px; }
.rmd-address-title span { color:var(--rmd-muted); font-size:14px; }
.rmd-address-grid { display:grid; grid-template-columns: 1fr 1fr 1fr; gap:14px; }
.rmd-address-result { background:white; border:1px solid #e3edf3; border-radius:14px; padding:12px 14px; color:var(--rmd-muted); font-size:14px; font-weight:750; }
.rmd-address-result.is-success { border-color:#bfe6cb; background:#ecfaf1; color:#145a2d; }
.rmd-address-result.is-error { border-color:#ffd2c9; background:#fff4f0; color:#912d19; }
.rmd-address-result.is-loading { border-color:#d9e8f8; background:#f2f8ff; color:var(--rmd-blue); }
.rmd-help { font-size:13px; color:var(--rmd-muted); }
.rmd-form-actions { margin-top: 18px; display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.rmd-notice { max-width:920px; margin: 0 auto 20px; border-radius:16px; padding:14px 16px; font-weight:800; }
.rmd-notice-success { background:#e9f8ef; color:#145a2d; }
.rmd-notice-error { background:#fff0ed; color:#912d19; }

.rmd-contact-cards { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-bottom: 28px; }
.rmd-contact-card { background:#f7fafc; border:1px solid #e2edf3; border-radius:20px; padding:20px; }
.rmd-contact-card strong { display:block; }
.rmd-map-placeholder { background:linear-gradient(135deg, #dfe8ee, #f8fbfc); border:1px dashed #aebdca; border-radius:24px; padding:30px; color:var(--rmd-muted); }

.rmd-site-footer { background:#081422; color:rgba(255,255,255,.76); padding:54px 0 24px; }
.rmd-footer-grid { display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:34px; }
.rmd-footer-logo { width:290px; max-width:100%; margin-bottom:16px; border-radius:12px; }
.rmd-site-footer h3 { color:white; margin: 0 0 14px; }
.rmd-footer-links { display:flex; flex-direction:column; gap:8px; }
.rmd-footer-links a { color:rgba(255,255,255,.76); }
.rmd-footer-links a:hover { color:white; }
.rmd-footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:34px; padding-top:18px; display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:14px; }

@media (max-width: 1020px) {
  .rmd-hero-grid, .rmd-cta { grid-template-columns: 1fr; }
  .rmd-grid-4, .rmd-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rmd-footer-grid { grid-template-columns: 1fr 1fr; }
  .rmd-header-actions .rmd-btn-secondary { display:none; }
}
@media (max-width: 820px) {
  .rmd-menu-toggle { display:block; }
  .rmd-nav { position:absolute; left:18px; right:18px; top:92px; background:#ffffff; border:1px solid rgba(7,26,45,.12); border-radius:20px; flex-direction:column; align-items:stretch; padding:12px; display:none; box-shadow: 0 20px 50px rgba(7,26,45,.14); }
  .rmd-nav.is-open { display:flex; }
  .rmd-nav a, .rmd-nav .menu-item a { display:block; }
  .rmd-brand img, .rmd-brand-logo { width:210px; }
  .rmd-hero-grid { min-height: unset; padding: 52px 0; }
  .rmd-float-card { position:static; width:auto; margin-top:14px; }
  .rmd-section { padding:62px 0; }
  .rmd-section-head { display:block; }
  .rmd-form-grid, .rmd-contact-cards, .rmd-address-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .rmd-grid-4, .rmd-grid-3 { grid-template-columns: 1fr; }
  .rmd-footer-grid { grid-template-columns: 1fr; }
  .rmd-cta { padding:28px; border-radius:24px; }
  .rmd-btn { width:100%; }
  .rmd-header-actions .rmd-btn-primary { display:none; }
}

.rmd-area-card {
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: center;
  background: white;
  border: 1px solid rgba(15,30,45,.08);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(11,25,40,.08);
}
.rmd-area-card-compact { margin-bottom: 24px; }
.rmd-area-copy h3 { margin: 12px 0 12px; color: var(--rmd-navy); font-size: clamp(26px, 3vw, 38px); line-height:1.08; }
.rmd-area-copy p { margin: 0 0 16px; color: var(--rmd-muted); }
.rmd-chip {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(47,128,193,.12);
  color: var(--rmd-accent);
  border: 1px solid rgba(47,128,193,.20);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.rmd-area-list { list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.rmd-area-list li {
  position:relative; padding-left:30px; color: var(--rmd-ink); font-weight:700;
}
.rmd-area-list li::before {
  content:""; position:absolute; left:0; top:10px; width:14px; height:14px; border-radius:50%; background: var(--rmd-accent); box-shadow: 0 0 0 6px rgba(47,128,193,.12);
}
.rmd-area-map img {
  width:100%;
  border-radius: 24px;
  border:1px solid #dde7ee;
  background: linear-gradient(135deg, #f7fafc, #e9eef3);
}
@media (max-width: 1020px) {
  .rmd-area-card { grid-template-columns: 1fr; }
}


/* V5: echte interactieve kaart + transparant logo */
.rmd-netherlands-map {
  width: 100%;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #dde7ee;
  background: linear-gradient(135deg, #f7fafc, #e9eef3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.rmd-area-map .leaflet-container {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.rmd-map-fallback {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 420px;
  padding: 24px;
  color: var(--rmd-muted);
  font-weight: 800;
  text-align: center;
}
@media (max-width: 620px) {
  .rmd-netherlands-map { min-height: 360px; }
}


/* V6: conversie, AI kluscheck, juridische pagina's en mobiele CTA */
.rmd-quick-actions { margin-top: -34px; position: relative; z-index: 4; }
.rmd-quick-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rmd-quick-card { background:white; border:1px solid rgba(15,30,45,.08); border-radius:22px; padding:22px; box-shadow: 0 16px 38px rgba(11,25,40,.12); display:flex; flex-direction:column; gap:6px; }
.rmd-quick-card strong { font-size:20px; color:var(--rmd-navy); }
.rmd-quick-card span { color:var(--rmd-muted); font-weight:700; }
.rmd-quick-card:hover { transform: translateY(-2px); }

.rmd-service-card { display:flex; flex-direction:column; }
.rmd-card-link { margin-top:auto; padding-top:16px; font-weight:900; color:var(--rmd-blue); }
.rmd-split { display:grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items:center; }
.rmd-split h2 { color:var(--rmd-navy); font-size: clamp(32px, 4vw, 52px); line-height:1.05; letter-spacing:-.045em; margin:14px 0 16px; }
.rmd-split p { color:var(--rmd-muted); font-size:18px; }
.rmd-check-list { list-style:none; padding:0; margin:20px 0 0; display:grid; gap:12px; }
.rmd-check-list li { position:relative; padding-left:34px; font-weight:750; color:var(--rmd-ink); }
.rmd-check-list li::before { content:'✓'; position:absolute; left:0; top:0; width:24px; height:24px; border-radius:50%; background:var(--rmd-accent); color:white; display:flex; align-items:center; justify-content:center; font-weight:900; }
.rmd-proof-card { background:white; border:1px solid rgba(15,30,45,.08); border-radius:30px; padding:28px; box-shadow: var(--shadow); }
.rmd-proof-card h3 { margin:0 0 18px; color:var(--rmd-navy); font-size:28px; }
.rmd-proof-row { display:grid; grid-template-columns: 48px 1fr; gap:14px; align-items:start; padding:14px 0; border-top:1px solid #e7eef3; }
.rmd-proof-row:first-of-type { border-top:0; }
.rmd-proof-row strong { width:42px; height:42px; border-radius:14px; background:linear-gradient(135deg, var(--rmd-blue), var(--rmd-blue-soft)); color:white; display:flex; align-items:center; justify-content:center; }
.rmd-proof-row span { color:var(--rmd-muted); font-weight:700; }

.rmd-ai-box { display:grid; grid-template-columns: .9fr 1.1fr; gap:26px; align-items:center; background:linear-gradient(135deg, #0e1e31, #173b5b); color:white; border-radius:34px; padding:34px; box-shadow: var(--shadow); overflow:hidden; position:relative; }
.rmd-ai-box::after { content:''; position:absolute; right:-110px; top:-110px; width:280px; height:280px; border-radius:50%; background:rgba(47,128,193,.18); }
.rmd-ai-copy, .rmd-ai-form { position:relative; z-index:2; }
.rmd-ai-copy h3 { margin:14px 0 12px; font-size: clamp(28px, 4vw, 44px); line-height:1.05; letter-spacing:-.04em; color:white; }
.rmd-ai-copy p { color:rgba(255,255,255,.78); margin:0; }
.rmd-ai-form { background:white; color:var(--rmd-ink); border-radius:26px; padding:24px; display:grid; gap:12px; }
.rmd-ai-form label { color:var(--rmd-navy); font-weight:900; }
.rmd-ai-form input, .rmd-ai-form select { width:100%; border:1px solid #d9e2e8; border-radius:14px; padding:13px 14px; font:inherit; background:#fbfdff; color:var(--rmd-ink); }
.rmd-ai-result { margin-top:4px; background:#f2f7fa; border:1px solid #dfe9ef; border-radius:18px; padding:16px; color:var(--rmd-ink); display:none; }
.rmd-ai-result:not(:empty) { display:block; }
.rmd-ai-result .rmd-btn { margin-top:10px; margin-right:8px; box-shadow:none; }

.rmd-faq { display:grid; gap:12px; }
.rmd-faq-item { background:#f7fafc; border:1px solid #dfe9ef; border-radius:18px; padding:18px 20px; }
.rmd-faq-item summary { cursor:pointer; color:var(--rmd-navy); font-weight:900; font-size:18px; }
.rmd-faq-item p { margin:12px 0 0; color:var(--rmd-muted); }
.rmd-check label { display:flex; flex-direction:row; align-items:flex-start; gap:10px; font-weight:750; color:var(--rmd-ink); }
.rmd-check input { width:auto; margin-top:6px; }
.rmd-hp { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.rmd-content .entry-content p, .rmd-content .entry-content li { color:var(--rmd-muted); font-size:17px; }
.rmd-content .entry-content h3 { color:var(--rmd-navy); font-size:24px; margin-top:28px; }
.rmd-content .entry-content ul { padding-left:22px; }
.rmd-mobile-cta { display:none; }

.rmd-section-dark .rmd-card { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.12); box-shadow:none; }
.rmd-section-dark .rmd-card h3 { color:white; }
.rmd-section-dark .rmd-card p { color:rgba(255,255,255,.74); }

@media (max-width: 1020px) {
  .rmd-quick-grid, .rmd-split, .rmd-ai-box { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .rmd-quick-actions { margin-top: 0; padding: 18px 0 0; background:white; }
  .rmd-quick-grid { grid-template-columns: 1fr; }
  .rmd-ai-box { padding:24px; border-radius:26px; }
}
@media (max-width: 620px) {
  body { padding-bottom: 66px; }
  .rmd-mobile-cta { position:fixed; left:0; right:0; bottom:0; z-index:80; display:grid; grid-template-columns: repeat(3,1fr); background:#081422; border-top:1px solid rgba(255,255,255,.12); }
  .rmd-mobile-cta a { color:white; text-align:center; padding:14px 8px; font-weight:900; border-right:1px solid rgba(255,255,255,.1); }
  .rmd-mobile-cta a:last-child { border-right:0; background:var(--rmd-accent); }
  .rmd-proof-row { grid-template-columns: 40px 1fr; }
  .rmd-ai-result .rmd-btn { width:100%; margin-right:0; }
}


/* V6.1: taalkeuze / meertalige vertaling */
.rmd-language {
  display:inline-flex;
  align-items:center;
  gap:7px;
  background: rgba(7,26,45,.06);
  border: 1px solid rgba(7,26,45,.12);
  border-radius: 999px;
  padding: 7px 9px;
  color: white;
  min-height: 40px;
}
.rmd-language select {
  appearance: none;
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 850;
  max-width: 150px;
  outline: none;
  cursor: pointer;
}
.rmd-language select option { color: var(--rmd-ink); background: white; }
.rmd-footer-language { margin-top: 14px; }
.rmd-footer-language .rmd-language { background: rgba(255,255,255,.07); }
#rmd-google-translate-element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-gadget-icon,
.goog-te-menu-frame { display:none !important; }
body { top: 0 !important; }
.skiptranslate { display:none !important; }
html.translated-ltr body,
html.translated-rtl body { top:0 !important; }

@media (max-width: 1020px) {
  .rmd-header-inner { flex-wrap: wrap; padding: 10px 0; }
  .rmd-language { order: 4; }
}
@media (max-width: 820px) {
  .rmd-language { margin-left: auto; }
  .rmd-nav { top: 98px; }
}
@media (max-width: 620px) {
  .rmd-language select { max-width: 126px; }
  .rmd-header-inner { gap: 10px; }
}


/* V6.3: 24/7 spoedreparaties */
.rmd-topbar { background: linear-gradient(90deg, #081422, #122b43); }
.rmd-btn-alert { background:#d92d20; color:white; }
.rmd-quick-card-urgent { border-color: rgba(217,45,32,.22); box-shadow: 0 18px 48px rgba(217,45,32,.14); }
.rmd-quick-card-urgent strong { color:#b42318; }
.rmd-section-spoed {
  background:
    radial-gradient(circle at 14% 18%, rgba(47,128,193,.14), transparent 32%),
    linear-gradient(135deg, #fff7f1, #ffffff 55%, #eef6fb);
}
.rmd-spoed-grid { margin-top: 8px; }
.rmd-spoed-card {
  background:white;
  border:1px solid rgba(15,30,45,.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(11,25,40,.09);
}
.rmd-spoed-icon {
  width:54px;
  height:54px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(47,128,193,.12);
  font-size: 28px;
  margin-bottom: 14px;
}
.rmd-spoed-card h3 { margin:0 0 8px; color: var(--rmd-navy); font-size: 21px; line-height: 1.16; }
.rmd-spoed-card p { margin:0; color: var(--rmd-muted); font-weight: 650; }
.rmd-spoed-note {
  margin-top: 22px;
  background: #081422;
  color: rgba(255,255,255,.84);
  border-radius: 20px;
  padding: 18px 20px;
  font-weight: 750;
}
.rmd-spoed-note strong { color:white; }
@media (max-width: 620px) {
  .rmd-topbar .rmd-container { gap: 6px; }
  .rmd-mobile-cta { grid-template-columns: 1.2fr .9fr .9fr; }
}


/* V6.6: betere formulierfeedback en verzendknoppen */
.rmd-form-client-notice {
  grid-column: 1 / -1;
  background:#fff0ed;
  color:#912d19;
  border:1px solid #ffd2c9;
  border-radius:16px;
  padding:14px 16px;
  font-weight:850;
  margin-bottom:16px;
}
.rmd-form-client-notice[hidden] { display:none !important; }
.rmd-field-error input,
.rmd-field-error select,
.rmd-field-error textarea {
  border-color:#d92d20 !important;
  background:#fffafa !important;
}
.rmd-btn.is-disabled,
.rmd-btn:disabled {
  opacity:.72;
  cursor: progress;
  transform:none;
}


/* V6.7: handleiding, vraagteken-uitleg en slimmere kluswizard */
.rmd-help-tip {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  margin-left:6px;
  border-radius:999px;
  background:rgba(37,105,168,.12);
  color:var(--rmd-blue);
  border:1px solid rgba(37,105,168,.22);
  font-size:12px;
  font-weight:950;
  cursor:help;
  vertical-align:middle;
  flex:0 0 auto;
}
.rmd-help-bubble {
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  transform:translateX(-50%) translateY(6px);
  width:260px;
  max-width:min(260px, 80vw);
  background:#081422;
  color:white;
  border-radius:14px;
  padding:12px 13px;
  font-size:13px;
  line-height:1.35;
  font-weight:750;
  box-shadow:0 16px 38px rgba(0,0,0,.25);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:60;
}
.rmd-help-bubble::after {
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  transform:translateX(-50%);
  border:8px solid transparent;
  border-top-color:#081422;
}
.rmd-help-tip:hover .rmd-help-bubble,
.rmd-help-tip:focus .rmd-help-bubble,
.rmd-help-tip.is-open .rmd-help-bubble {
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}
.rmd-wizard-box { grid-template-columns:.85fr 1.15fr; align-items:start; }
.rmd-wizard-benefits { list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px; }
.rmd-wizard-benefits li { position:relative; padding-left:28px; color:rgba(255,255,255,.86); font-weight:750; }
.rmd-wizard-benefits li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--rmd-accent); font-weight:950; }
.rmd-wizard-progress { display:grid; gap:8px; margin-bottom:18px; color:var(--rmd-navy); font-weight:900; }
.rmd-wizard-progress > div { height:9px; background:#e7eff5; border-radius:999px; overflow:hidden; }
.rmd-wizard-progress i { display:block; height:100%; width:33.333%; background:linear-gradient(90deg,var(--rmd-blue),var(--rmd-accent)); border-radius:999px; transition:width .25s ease; }
.rmd-wizard-step { display:none; gap:10px; }
.rmd-wizard-step.is-active { display:grid; }
.rmd-wizard-form textarea { width:100%; border:1px solid #d9e2e8; border-radius:14px; padding:13px 14px; font:inherit; background:#fbfdff; color:var(--rmd-ink); resize:vertical; }
.rmd-wizard-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.rmd-wizard-checks { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:8px 0; }
.rmd-wizard-checks label { display:flex; align-items:flex-start; gap:8px; background:#f7fafc; border:1px solid #e1ebf2; border-radius:14px; padding:11px; color:var(--rmd-ink); font-weight:750; }
.rmd-wizard-result-card { background:white; border:1px solid #dfe8ef; border-radius:22px; padding:20px; margin-top:18px; box-shadow:0 14px 34px rgba(11,25,40,.08); }
.rmd-wizard-result-card h4 { margin:12px 0 8px; color:var(--rmd-navy); font-size:22px; }
.rmd-wizard-result-card p { color:var(--rmd-muted); margin:0 0 14px; }
.rmd-wizard-result-card ul { margin:8px 0 14px; color:var(--rmd-ink); font-weight:700; }
.rmd-wizard-summary { background:#f7fafc; border:1px solid #e1ebf2; border-radius:16px; padding:13px; color:var(--rmd-muted); font-size:14px; font-weight:750; }
@media (max-width: 1020px) { .rmd-wizard-box { grid-template-columns:1fr; } }
@media (max-width: 620px) {
  .rmd-wizard-checks { grid-template-columns:1fr; }
  .rmd-help-bubble { left:auto; right:-8px; transform:translateY(6px); }
  .rmd-help-tip:hover .rmd-help-bubble,
  .rmd-help-tip:focus .rmd-help-bubble,
  .rmd-help-tip.is-open .rmd-help-bubble { transform:translateY(0); }
  .rmd-help-bubble::after { left:auto; right:10px; transform:none; }
}

/* Juridische pagina's */
.rmd-legal-notice { background:#eef6fc; border:1px solid rgba(47,128,193,.22); border-left:5px solid var(--rmd-accent); border-radius:16px; padding:18px 20px; margin:0 0 24px; color:#071A2D; }
.rmd-legal-company { background:#f8fafc; border:1px solid rgba(15,30,45,.08); border-radius:18px; padding:22px; margin:0 0 28px; }
.rmd-page-content .rmd-legal-company h2, .rmd-page-content .rmd-legal-notice + .rmd-legal-company h2 { margin-top:0; }
.rmd-page-content p { max-width: 980px; }
.rmd-page-content h2 { margin-top:34px; }
.rmd-page-content h3 { margin-top:24px; }


@media (max-width: 900px) {
  .rmd-stat-grid, .rmd-page-meta { grid-template-columns:1fr 1fr; }
  .rmd-brand-title { font-size:18px; }
  .rmd-brand-sub { font-size:11px; }
  .rmd-brand img, .rmd-brand-logo { width:190px; }
}
@media (max-width: 620px) {
  .rmd-stat-grid, .rmd-page-meta { grid-template-columns:1fr; }
  .rmd-brand-text { min-width: 0; }
  .rmd-brand { min-width: 170px; }
}


/* V2.0: nieuwe huisstijl op basis van RMD Onderhoud & Techniek brandboard */
.rmd-hero-card img[src*="rmd-ot-van-branding"] { aspect-ratio: 16/10; object-position: center; }
.rmd-site-header .rmd-btn-primary { background: var(--rmd-navy); }
.rmd-site-header .rmd-btn-secondary { background: var(--rmd-blue); }
.rmd-btn-primary { background: var(--rmd-blue); }
.rmd-btn-primary:hover, .rmd-btn-secondary:hover { filter: brightness(.96); }
.rmd-quick-card:hover { border-color: rgba(47,128,193,.34); }
.rmd-topbar strong { color:#fff; }
@media (max-width: 620px) {
  .rmd-topbar .rmd-container { font-size:12px; }
  .rmd-header-inner { min-height:78px; gap:10px; }
  .rmd-brand-logo { width:172px !important; }
}
