/*
Theme Name: HillegersMX
Theme URI: https://hillegersmx.nl
Author: HillegersMX
Description: Eigen thema voor HillegersMX - aan- en verkoop van motocross motoren. Bevat een eigen berichttype "Motoren", filters, contactformulier en instellingen via Weergave > Customizer.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: hillegersmx
*/

/* Kopteksten: Aeromove. De cijfers (0-9) zijn in de demoversie vervangen door
   logo's, daarom laten we die weg uit het bereik: cijfers worden dan in Poppins getoond. */
@font-face {
  font-family: 'Aeromove';
  src: url('assets/fonts/Aeromove-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-002F, U+003A-007E, U+00A0-00FF, U+2010-2027, U+20AC;
}

:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --panel-2: #1c1c1c;
  --line: #2b2b2b;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --accent: #bf9b2a;
  --accent-dark: #9c7d1f;
  --ok: #2fbf71;
  --warn: #f5b301;
  --bad: #e5484d;
  --radius: 14px;
  --wrap: 1180px;
  --header-h: 100px;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Aeromove', 'Poppins', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--panel); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.eyebrow { color: var(--accent); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .18em; font-weight: 600; font-size: 1rem; margin-bottom: .6em; display: block; }
.muted { color: var(--muted); }
.screen-reader-text { position: absolute; left: -9999px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--panel-2); border-color: var(--text); }
.btn--whatsapp { background: #25d366; border-color: #25d366; color: #06210f; }
.btn--whatsapp:hover { background: #1fb558; border-color: #1fb558; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,14,16,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.brand span { color: var(--accent); }
.brand img { max-height: 52px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 16px; border-radius: 999px; font-family: var(--font-head); text-transform: uppercase; font-weight: 600; letter-spacing: .08em; font-size: 1.1rem; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { color: var(--text); background: var(--panel-2); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; color: var(--text); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; margin: 0 auto; content: ''; }
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after { position: absolute; top: 7px; left: 0; }

/* Hero */
.hero { position: relative; padding: 130px 0 110px; background: radial-gradient(1200px 500px at 80% -10%, rgba(191,155,42,.28), transparent 60%), var(--bg) center / cover no-repeat; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero--img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,16,.95) 20%, rgba(14,14,16,.55)); }
.hero .wrap { position: relative; }
.hero h1 { max-width: 14ch; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead { max-width: 52ch; font-size: 1.25rem; color: #d3d3d9; margin-bottom: 1.6em; }

/* USP's */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; }
.usp h3 { color: var(--accent); margin-bottom: .3em; }
.usp p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card__img { position: relative; aspect-ratio: 4 / 3; background: var(--panel-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { height: 100%; display: grid; place-items: center; color: var(--muted); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.card__body { padding: 20px 22px 24px; }
.card__brand { color: var(--accent); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; font-weight: 600; }
.card__body h3 { margin: .1em 0 .2em; }
.card__meta { color: var(--muted); font-size: .95rem; margin: 0 0 .6em; }
.card__price { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; margin: 0; }
.badge { position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: 999px; font-family: var(--font-head); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: .95rem; color: #111; }
.badge--gereserveerd { background: var(--warn); }
.badge--verkocht { background: var(--bad); color: #fff; }
.badge--beschikbaar { background: var(--ok); }
.empty { text-align: center; padding: 60px 20px; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about__list li { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em; display: flex; justify-content: space-between; }
.about__list li::after { content: '\2192'; color: var(--accent); }

/* Social */
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social a { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; transition: border-color .15s, color .15s; }
.social a:hover { border-color: var(--accent); color: var(--accent); }

/* Page header + content */
.page-head { padding: 70px 0 40px; border-bottom: 1px solid var(--line); background: radial-gradient(900px 300px at 85% -20%, rgba(191,155,42,.2), transparent 60%); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0; }
.content { padding: 56px 0 90px; }
.content .entry { max-width: 780px; }
.entry img { border-radius: var(--radius); }
.entry a { color: var(--accent); text-decoration: underline; }
.entry ul, .entry ol { padding-left: 1.2em; }

/* Filters */
.filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 36px; }
.field, .filters input, .filters select { width: 100%; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; }
.field:focus, .filters input:focus, .filters select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.filters .btn { padding: 12px 24px; }
.result-count { color: var(--muted); margin-bottom: 18px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font-head); font-size: 1.1rem; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--accent); border-color: var(--accent); }

/* Single motor */
.single-motor { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 50px 0 90px; align-items: start; }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); aspect-ratio: 4 / 3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--panel); aspect-ratio: 4/3; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--accent); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel--sticky { position: sticky; top: 100px; }
.price { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; margin: .2em 0 .5em; }
.specs { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.specs th { color: var(--muted); }
.specs td { text-align: right; font-weight: 600; }
.single-motor__desc { grid-column: 1 / -1; max-width: 820px; }
.back-link { display: inline-block; color: var(--muted); margin-bottom: 14px; }
.back-link:hover { color: var(--accent); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact__list { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: 14px; }
.contact__list strong { display: block; color: var(--muted); font-weight: 500; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.contact__list a { font-size: 1.2rem; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 10px; margin-bottom: 20px; }
.notice--ok { background: rgba(47,191,113,.12); border: 1px solid var(--ok); }
.notice--err { background: rgba(229,72,77,.12); border: 1px solid var(--bad); }

/* Footer */
.site-footer { background: #09090b; border-top: 1px solid var(--line); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: var(--accent); font-size: 1.2rem; letter-spacing: .12em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--accent); }
.copyright { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Responsive */
@media (max-width: 980px) {
  .usps { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact, .single-motor, .footer-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .panel--sticky { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .section { padding: 56px 0; }
  .hero { padding: 80px 0 70px; }
}
@media (max-width: 560px) {
  .usps, .grid, .filters { grid-template-columns: 1fr; }
}

/* ==========================================================
   Layout-update: zwarte header en grote foto-hero
   (zoals de huidige site)
   ========================================================== */
body { font-size: 16px; line-height: 1.7; }
/* Kopteksten (h1-h4): Aeromove. Al het andere: Poppins. */
h1, h2, h3, h4, .site-footer h4 {
  font-family: var(--font-head); font-style: normal; font-weight: 400; letter-spacing: .04em;
}
.brand, .nav a, .btn, .eyebrow, .social a, .about__list li, .badge, .card__brand, .card__price, .price, .pagination .page-numbers {
  font-family: var(--font-body); font-style: normal; font-weight: 600; letter-spacing: .06em;
}
h1 { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.05rem; line-height: 1.35; }
.eyebrow { font-size: .8rem; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.card__brand { font-size: .8rem; }
.card__price { font-size: 1.3rem; font-weight: 700; letter-spacing: 0; }
.price { font-size: 2.2rem; font-weight: 700; letter-spacing: 0; line-height: 1.1; }
.badge { font-size: .75rem; }
.pagination .page-numbers { font-size: 1rem; letter-spacing: 0; }
.about__list li { font-size: 1.05rem; padding: 20px 24px; }
.usp h3 { font-size: 1rem; }
.social a { font-size: .8rem; }
.btn { font-size: .9rem; padding: 18px 34px; letter-spacing: .06em; }
.btn--ghost { color: var(--text); }

/* Header */
.site-header { background: #000; backdrop-filter: none; border-bottom: 0; }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; max-width: 1560px; min-height: 100px; }
.brand { font-size: 1.3rem; justify-self: start; }
.brand img { max-height: 64px; }
.nav { justify-self: center; }
.nav ul { gap: 14px; }
.nav a { color: #fff; background: none; font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; letter-spacing: .05em; padding: 10px 14px; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { color: var(--accent); background: none; }
.header-cta { justify-self: end; white-space: nowrap; padding: 12px 26px; font-size: .8rem; }

/* Lichte gouden streep onder het menu-item van de pagina waar je bent */
.nav a { position: relative; --nav-pad: 14px; }
.nav a::after {
  content: ''; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: 2px;
  height: 3px; border-radius: 3px; background: var(--accent);
  opacity: 0; transform: scaleX(.4); transition: opacity .2s, transform .2s;
}
.nav a:hover::after { opacity: .3; transform: scaleX(1); }
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav .current-menu-ancestor > a::after { opacity: .55; transform: scaleX(1); }

@media (max-width: 1200px) {
  .header-cta { padding: 10px 20px; font-size: .75rem; }
  .nav a { font-size: 1.05rem; padding: 10px 10px; --nav-pad: 10px; }
}

/* Hero */
.hero {
  display: flex; align-items: flex-end; padding: 110px 0 90px; border: 0;
  /* Vult de hele ruimte onder de header, op elk schermformaat */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  /* Losse eigenschappen, zodat de foto altijd de ruimte vult, nooit herhaalt */
  background-color: #0b0b0b;
  background-image: radial-gradient(900px 420px at 75% 15%, rgba(191,155,42,.25), transparent 60%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 25%;
}
.hero::before, .hero--img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); }
.hero .wrap { max-width: 1360px; }
.hero h1 { max-width: 9em; margin-bottom: .6em; }
.hero p.lead { font-size: .95rem; font-weight: 600; color: #fff; max-width: 700px; margin-bottom: 1.8em; }

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .site-header__inner { grid-template-columns: 1fr auto; min-height: 72px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header__inner { position: relative; }
  .nav { display: none; position: absolute; right: 20px; left: auto; top: calc(50% + 31px); min-width: 230px; background: #000; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.55); padding: 8px; z-index: 60; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 4px; }
}
@media (max-width: 760px) {
  .hero { padding: 80px 0 60px; }
}

/* Vier kolommen over de volle breedte met foto als achtergrond */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; background: #000; }
.tile { position: relative; display: flex; align-items: flex-end; width: 100%; min-width: 0; aspect-ratio: 4 / 5; min-height: 440px; overflow: hidden; background-color: #111; isolation: isolate; }
.tile__img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-repeat: no-repeat; transition: transform .6s ease; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.08) 30%, rgba(0,0,0,.88) 100%); transition: background .3s; }
.tile:hover .tile__img { transform: scale(1.05); }
.tile:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.2) 20%, rgba(0,0,0,.92) 100%); }
.tile__body { width: 100%; padding: 32px 28px 36px; }
.tile__body h3 { font-size: clamp(1.2rem, 1.8vw, 1.8rem); margin-bottom: .4em; }
.tile__body p { color: #e8e8e8; font-size: .92rem; margin: 0 0 1em; max-width: 30ch; }
.tile__more { color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.tile__more::after { content: '\2192'; display: inline-block; margin-left: 8px; transition: transform .2s; }
.tile:hover .tile__more::after { transform: translateX(6px); }
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { aspect-ratio: 3 / 4; min-height: 0; }
  .tile__body { padding: 14px 14px 18px; }
  .tile__body h3 { font-size: 1.05rem; margin-bottom: .3em; }
  .tile__body p { font-size: .72rem; line-height: 1.45; margin: 0 0 .7em; }
  .tile__more { font-size: .72rem; }
  .tile__more::after { margin-left: 5px; }
}

/* Smalle lichtgrijze balk met merklogo's (in zwart), tussen de hero en de vier kolommen */
.brands { background: #e8e8ea; padding: 56px 0; }
/* Alle logo's altijd naast elkaar op één rij; op kleinere schermen worden ze samen kleiner */
.brands__row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: clamp(10px, 2.6vw, 64px); }
.brands__logo { flex: 0 1 calc(var(--w, 80) * 1px); width: calc(var(--w, 80) * 1px); min-width: 0; height: auto; filter: brightness(0); opacity: 1; transition: opacity .2s, transform .2s; }
.brands__logo:hover { transform: scale(1.06); }
/* Lichtgrijze sectie (zelfde grijs als de merkenbalk), bijv. "Onze motoren" op de homepage */
.section--light { background: #e8e8ea; color: #111; }
.section--light h2 { color: #111; }
.section--light .eyebrow { color: var(--accent-dark); }
.section--light .btn--ghost { color: #111; border-color: rgba(0,0,0,.3); }
.section--light .btn--ghost:hover { background: #111; border-color: #111; color: #fff; }
.section--light .card { color: var(--text); }
.section--light .card__body h3, .section--light .card__price { color: var(--text); }
.section--light .card__meta { color: var(--muted); }
.section--light .card { border-color: transparent; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.section--light .card:hover { border-color: var(--accent); }
.section--light .empty { background: #fff; border-color: rgba(0,0,0,.18); color: #555; }

/* Computer: de logo's staan verder uit elkaar */
@media (min-width: 1025px) {
  .brands .wrap { max-width: 1500px; }
  .brands__row { gap: clamp(56px, 5vw, 120px); }
}
@media (max-width: 760px) {
  .brands { padding: 38px 0; }
  .brands .wrap { padding: 0 10px; }
}

/* Qonnex-koppeling op de pagina Motoren: lichte achtergrond zodat het overzicht van Qonnex goed leesbaar is */
.qonnex-embed { background: #fff; color: #111; border-radius: 12px; padding: clamp(14px, 2.5vw, 32px); min-height: 300px; overflow-x: auto; }
.qonnex-embed a { color: inherit; }

/* Dunne zwart-wit fotostrook boven de footer, op elke pagina */
.footer-strip { height: 135px; background-color: #000; background-repeat: no-repeat; background-size: cover; background-position: center; }
@media (max-width: 760px) { .footer-strip { height: 90px; } }
@media (min-width: 1600px) { .footer-strip { height: 160px; } }

/* Social-knoppen op de lichtgrijze sectie */
.section--light .social a { color: #111; border-color: rgba(0,0,0,.3); }
.section--light .social a:hover { border-color: var(--accent-dark); color: var(--accent-dark); }

/* Social media: logo-knoppen i.p.v. tekst */
.social a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; }
.social a .social__icon { display: block; width: 22px; height: 22px; }

/* "Over ons"-blok op de homepage: alles gecentreerd, zonder de lijst rechts */
.about--center { display: block; max-width: 860px; text-align: center; }
.about--center .btn-row { justify-content: center; }
.about--center .muted { margin-left: auto; margin-right: auto; }

/* Footer: logo, tekst en social links links; menu en contact rechts */
@media (min-width: 981px) {
	.footer-grid { grid-template-columns: 1fr auto auto; column-gap: clamp(48px, 7vw, 120px); align-items: start; }
}

/* Vaste WhatsApp-knop rechtsonder, op elke pagina */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s, box-shadow .15s; }
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.45); }
.wa-float .social__icon { width: 34px; height: 34px; }
@media (max-width: 760px) { .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; } .wa-float .social__icon { width: 30px; height: 30px; } }

/* Contactpagina: lichtgrijze achtergrond (zelfde grijs als de merkenstrook) met een donker formulierpaneel */
.content--light { background: #e8e8ea; color: #111; }
.content--light h2, .content--light h3 { color: #111; }
.content--light .muted { color: #4a4a50; }
.content--light .contact__list strong { color: #55555b; }
.content--light .contact__list a:hover { color: var(--accent-dark); }
.content--light .social a { color: #111; border-color: rgba(0,0,0,.3); }
.content--light .social a:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.content--light .panel { box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.content--light .panel h2, .content--light .panel h3, .content--light .panel .form label { color: var(--text); }

/* Onze motoren: 3 kolommen met 5 foto's; de camera "loopt" van de ene plek naar de andere */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reel { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; background: #111; isolation: isolate; box-shadow: 0 8px 24px rgba(0,0,0,.18); touch-action: pan-y; }
.reel__link { position: absolute; inset: 0; z-index: 3; }
.reel__slide { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; visibility: hidden;
	transform: translateX(calc(100% - 1px)); /* 1px overlap: tijdens het schuiven zit er nooit een gat tussen twee foto's */
	transition: transform 1.05s cubic-bezier(.65, 0, .3, 1), visibility 0s linear 1.05s; will-change: transform; }
.reel__slide img { display: block; width: 116%; max-width: none; height: 100%; margin-left: -8%; object-fit: cover; transform: translateX(-5%); transition: transform 1.05s cubic-bezier(.65, 0, .3, 1); will-change: transform; }
.reel__slide.is-before { transform: translateX(calc(-100% + 1px)); }
.reel__slide.is-before img { transform: translateX(5%); }
.reel__slide.is-active { transform: none; z-index: 2; visibility: visible; transition-delay: 0s, 0s; }
.reel__slide.is-active img { transform: none; }
.reel__slide.no-anim, .reel__slide.no-anim img { transition: none !important; }
.reel::after { content: ''; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,.4)); pointer-events: none; }
.reel__nav { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, transform .15s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.reel__nav:hover, .reel__nav:focus-visible { background: var(--accent); transform: scale(1.08); }
.reel__nav svg { width: 20px; height: 20px; }
.reel__nav--prev { left: 12px; }
.reel__nav--next { right: 12px; }
.reel__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.reel__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; pointer-events: auto; transition: background .2s, transform .2s; }
.reel__dot.is-active { background: #fff; transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) { .reel__slide, .reel__slide img { transition-duration: .01s; } }
@media (max-width: 760px) { .reels { grid-template-columns: 1fr; } .reel { aspect-ratio: 1 / 1; } }

/* Pagina Motoren: witte achtergrond, met de Qonnex-koppeling direct op het witte vlak */
.content--white { background: #fff; color: #111; }
.content--white .qonnex-embed { background: transparent; padding: 0; border-radius: 0; box-shadow: none; min-height: 400px; }
.qonnex-fallback { padding: 18px 20px; border: 1px dashed rgba(0,0,0,.3); border-radius: 10px; color: #333; background: #f6f6f7; }
.qonnex-fallback p { margin: 0; }
.qonnex-fallback a { color: var(--accent-dark); text-decoration: underline; }

/* Telefoon: logo/tekst/social bovenaan; Menu en Contact naast elkaar eronder */
@media (max-width: 980px) {
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* Logo (afbeelding) in header en footer */
.brand__logo { display: block; width: auto; height: auto; max-height: 68px; }
.site-footer .brand__logo { max-height: 96px; }
@media (max-width: 980px) { .brand__logo { max-height: 54px; } .site-footer .brand__logo { max-height: 80px; } }

/* Header: zwart met lichte schaduw bovenaan; wit met schaduw zodra je scrolt */
.site-header { box-shadow: 0 3px 10px rgba(0,0,0,.45); transition: background-color .25s ease, box-shadow .25s ease; }
.site-header .brand__logo, .site-header .nav a, .site-header .nav-toggle { transition: color .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.site-header.is-scrolled .nav a { color: #111; }
.site-header.is-scrolled .nav a:hover, .site-header.is-scrolled .nav .current-menu-item > a, .site-header.is-scrolled .nav .current_page_item > a { color: var(--accent-dark); }
.site-header.is-scrolled .nav-toggle { color: #111; border-color: rgba(0,0,0,.3); }
@media (max-width: 980px) {
	.site-header.is-scrolled .nav { background: #fff; border-color: rgba(0,0,0,.12); box-shadow: 0 14px 34px rgba(0,0,0,.2); }
}

/* Logo in de header: lichte (gouden) versie op zwart, donkere versie (donkerder goud + zwart) op wit */
.brand__logo--dark { display: none; }
.site-header.is-scrolled .brand__logo--light { display: none; }
.site-header.is-scrolled .brand__logo--dark { display: block; }

/* Laadindicator voor de Qonnex-koppeling */
.qonnex-loader { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 80px 0; color: #555; font-size: 1rem; }
.qonnex-loader[hidden] { display: none; }
.qonnex-loader__spin { width: 26px; height: 26px; border: 3px solid rgba(0,0,0,.12); border-top-color: var(--accent); border-radius: 50%; animation: hmx-spin .8s linear infinite; }
@keyframes hmx-spin { to { transform: rotate(360deg); } }

/* Contactpagina: opgeschoonde pagina-inhoud en FAQ */
.entry--info { max-width: none; color: #222; }
.entry--info h2, .entry--info h3 { color: #111; }
.faq__head { text-align: center; margin-bottom: 30px; }
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 12px; padding: 0 22px; color: #222; }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--accent-dark); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { margin: 0 0 18px; color: #444; }

/* Onze motoren: ronde 3D-galerij */
.ring { position: relative; margin-top: 34px; outline: none; user-select: none; -webkit-user-select: none; }
.ring__stage { position: relative; overflow: hidden; height: 520px; touch-action: pan-y; cursor: grab; perspective-origin: 50% 50%; }
.ring__stage.is-dragging { cursor: grabbing; }
.ring__card { position: absolute; left: 50%; top: 50%; width: 200px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #1a1a1a; box-shadow: 0 18px 40px rgba(0,0,0,.28); backface-visibility: hidden; will-change: transform; visibility: hidden; -webkit-tap-highlight-color: transparent; }
.ring__card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ring__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.25)); pointer-events: none; }
.ring__bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; padding: 0 16px; }
.ring__hint { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,.07); color: #444; font-size: .85rem; }
.ring__hint svg { width: 18px; height: 18px; }
.ring__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #0a0a0a; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.ring__nav:hover { background: var(--accent); }
.ring__nav svg { width: 20px; height: 20px; }
.ring:focus-visible .ring__stage { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Homepage: Google Reviews */
.reviews { background: #fff; color: #111; }
.reviews h2 { color: #111; }
.reviews__head { text-align: center; margin-bottom: 30px; }
.reviews__widget { min-height: 120px; }
.reviews__more { text-align: center; margin-top: 26px; }
.reviews .btn--ghost { color: #111; border-color: rgba(0,0,0,.35); }
.reviews .btn--ghost:hover { border-color: var(--accent-dark); color: var(--accent-dark); }
.reviews__setup { max-width: 720px; margin: 0 auto; padding: 18px 22px; border: 2px dashed var(--accent); border-radius: 12px; background: #faf7ee; color: #333; text-align: center; }

/* Gewone pagina's (zoals Over ons): opmaak voor alles wat je in de WordPress-editor maakt */
.page-head--img { position: relative; background-size: cover; background-position: center; padding: 120px 0 60px; }
.page-head--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.75)); }
.page-head--img .wrap { position: relative; }
.content--page .entry { max-width: 860px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 1.6em 0 .5em; }
.entry h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 1.4em 0 .4em; }
.entry h2:first-child, .entry h3:first-child { margin-top: 0; }
.entry figure { margin: 1.8em 0; }
.entry figure img, .entry .wp-block-image img { width: 100%; height: auto; display: block; }
.entry figcaption { font-size: .85rem; color: var(--muted, #9a9a9a); margin-top: .5em; text-align: center; }
.entry .alignwide { width: min(1160px, calc(100vw - 32px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.entry .alignfull img { border-radius: 0; }
.entry .wp-block-columns { display: flex; gap: 32px; flex-wrap: wrap; margin: 2em 0; }
.entry .wp-block-column { flex: 1 1 260px; min-width: 0; }
.entry .wp-block-column > *:first-child { margin-top: 0; }
.entry .wp-block-media-text { gap: 32px; margin: 2em 0; }
.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.entry .wp-block-button__link { display: inline-block; background: var(--accent); color: #0a0a0a; text-decoration: none; font-weight: 600; padding: 13px 26px; border-radius: 999px; transition: background .2s; }
.entry .wp-block-button__link:hover { background: var(--accent-dark); color: #fff; }
.entry .is-style-outline .wp-block-button__link { background: transparent; color: inherit; border: 2px solid currentColor; }
.entry blockquote, .entry .wp-block-quote { border-left: 3px solid var(--accent); padding: .3em 0 .3em 1.2em; margin: 1.8em 0; font-size: 1.15rem; font-style: italic; }
.entry .wp-block-separator { border: 0; border-top: 1px solid var(--line, rgba(255,255,255,.15)); margin: 2.4em 0; }
.entry .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.entry .wp-block-gallery figure { margin: 0; flex: 1 1 200px; }
.entry .wp-block-cover { border-radius: var(--radius); overflow: hidden; }
.entry .has-goud-color { color: #bf9b2a; } .entry .has-goud-background-color { background-color: #bf9b2a; }
.entry .has-donkergoud-color { color: #9c7d1f; } .entry .has-donkergoud-background-color { background-color: #9c7d1f; }
.entry .has-zwart-color { color: #0a0a0a; } .entry .has-zwart-background-color { background-color: #0a0a0a; }
.entry .has-lichtgrijs-color { color: #e8e8ea; } .entry .has-lichtgrijs-background-color { background-color: #e8e8ea; }
.entry .has-wit-color { color: #fff; } .entry .has-wit-background-color { background-color: #fff; }
.entry .has-background { padding: 1.2em 1.4em; border-radius: var(--radius); }
.edit-link { max-width: 860px; margin: 40px auto 0; }
@media (max-width: 780px) { .entry .wp-block-columns { gap: 20px; } }

/* Pagina Over ons */
.ou-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.ou-split--reverse .ou-split__img { order: -1; }
.ou-split h2 { margin: .2em 0 .5em; }
.ou-text p { margin: 0 0 1em; line-height: 1.75; }
.section--light .ou-text { color: #333; }
.ou-split__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.ou-values__title { text-align: center; margin-bottom: 36px; }
.ou-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ou-value { background: #fff; border-radius: 14px; padding: 30px 26px; color: #222; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.ou-value h3 { color: #111; margin: 14px 0 8px; font-size: 1.25rem; }
.ou-value p { margin: 0; color: #444; line-height: 1.65; }
.ou-value__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #0a0a0a; font-weight: 700; font-family: Poppins, sans-serif; }
.ou-cta { text-align: center; }
.ou-cta .muted { max-width: 600px; margin: 0 auto 26px; }
.ou-cta .btn-row { justify-content: center; }
@media (max-width: 900px) {
  .ou-split { grid-template-columns: 1fr; gap: 30px; }
  .ou-split--reverse .ou-split__img { order: 0; }
  .ou-values { grid-template-columns: 1fr; }
}

.content--info { padding-top: 0; }
.content--light + .content--info { margin-top: -40px; }
