/* assets/css/home.css */
/* Homepage (index.php, body.mj-home). Kleuren uit de :root-variabelen van seo.php; alles onder .mj-home. */

.mj-home {
  --mjh-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --mjh-licht-bg: #f4f1ec;
  --mjh-licht-tekst: #0a0a0b;
  --mjh-licht-muted: #4a4741;
  --mjh-lijn: rgba(255,255,255,0.12);
  --mjh-label: #ff5a5a;
}
.mj-home.theme-light { --mjh-lijn: rgba(0,0,0,0.12); --mjh-label: var(--accent); }

.mj-home main { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.mj-home main section { padding: 0; }
.mj-home main a:hover { opacity: 1; }

.mjh-wrap { max-width: 1360px; margin: 0 auto; padding: 0 40px; }

.mj-home main h1,
.mj-home main section h2 {
  font-family: var(--mjh-display); font-weight: 400; text-transform: uppercase;
  line-height: 1; letter-spacing: 0.01em; margin: 0;
}
.mj-home main section h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }

.mjh-label {
  display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--mjh-label); margin-bottom: 14px;
}
.mjh-kop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.mjh-meer {
  color: inherit; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}
.mjh-meer:hover { color: var(--accent); }

/* Knoppen */
.mjh-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 16px 32px; border: 2px solid transparent; border-radius: 2px;
  font-weight: 700; font-size: 0.94rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mjh-btn-red   { background: var(--accent); border-color: var(--accent); color: #fff; }
.mjh-btn-red:hover { background: #fff; border-color: #fff; color: #0a0a0b; }
.mjh-btn-line  { border-color: currentColor; color: var(--text); }
.mjh-btn-line:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.mjh-btn-zwart { background: #0a0a0b; border-color: #0a0a0b; color: #fff; }
.mjh-btn-zwart:hover { background: #fff; border-color: #fff; color: #0a0a0b; }
.mjh-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero (altijd donker: foto) */
.mjh-hero { position: relative; overflow: hidden; min-height: min(760px, 92vh); display: flex; align-items: flex-end; background: #0a0a0b; color: #f4f1ec; }
.mjh-hero-bg { position: absolute; inset: 0; }
.mjh-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 20%; opacity: 0.9; }
.mjh-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,0) 30%, rgba(10,10,11,0.92) 62%); }
.mjh-kanji {
  position: absolute; right: 40px; top: 48px; writing-mode: vertical-rl;
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Noto Sans JP', 'Noto Sans CJK JP', sans-serif;
  font-weight: 900; font-size: 3.5rem; letter-spacing: 0.2em; color: var(--accent); line-height: 1;
}
.mjh-hero-inner { position: relative; width: 100%; display: flex; justify-content: flex-end; padding-top: 120px; padding-bottom: 72px; }
.mjh-hero-text { max-width: 720px; display: flex; flex-direction: column; gap: 24px; padding-right: 72px; }
.mj-home main .mjh-hero h1 { font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.95; color: #f4f1ec; }
.mjh-hero-sub { font-size: 1.2rem; color: #d8d4cc; max-width: 520px; }
.mjh-hero .mjh-btn-line { color: #f4f1ec; }

/* Cijfers */
.mjh-stats { background: var(--accent); color: #fff; }
.mjh-stats-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-top: 22px; padding-bottom: 22px;
  font-family: var(--mjh-display); font-size: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2;
}

/* Over ons */
.mj-home main .mjh-about { padding: 120px 0; }
.mjh-about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mjh-about-img { position: relative; }
.mjh-about-img img { width: 100%; height: 560px; object-fit: cover; object-position: center 20%; }
.mjh-about-img::after { content: ''; position: absolute; left: -16px; bottom: -16px; width: 120px; height: 120px; border-left: 6px solid var(--accent); border-bottom: 6px solid var(--accent); }
.mjh-about-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mjh-about-text .mjh-label { margin-bottom: 0; }
.mjh-about-text p { font-size: 1.125rem; color: var(--muted); max-width: 560px; }
.mjh-about-text p.mjh-lead { font-size: 1.375rem; font-weight: 600; color: var(--text); }

/* Lichte secties */
.mjh-licht { background: var(--mjh-licht-bg); color: var(--mjh-licht-tekst); --mjh-label: #a30000; }

/* Lessen */
.mj-home main .mjh-lessen { padding: 112px 0; }
.mjh-tegels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: #0a0a0b; border: 2px solid #0a0a0b; }
.mjh-tegel {
  min-height: 380px; background: var(--mjh-licht-bg); color: var(--mjh-licht-tekst); padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background 0.15s, color 0.15s;
}
.mjh-tegel-nr { font-family: var(--mjh-display); font-size: 3.5rem; line-height: 1; color: var(--accent); }
.mjh-tegel-body { display: flex; flex-direction: column; gap: 10px; }
.mjh-tegel h3 { font-family: var(--mjh-display); font-weight: 400; font-size: 1.75rem; line-height: 1.05; text-transform: uppercase; }
.mjh-tegel p { font-size: 0.94rem; color: var(--mjh-licht-muted); }
.mjh-tegel-prijs { font-weight: 700; font-size: 0.94rem; }
.mjh-tegel-cta { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
a.mjh-tegel:hover, a.mjh-tegel:focus-visible { background: #0a0a0b; color: #f4f1ec; }
a.mjh-tegel:hover p, a.mjh-tegel:focus-visible p { color: #b9b4ac; }
a.mjh-tegel:hover .mjh-tegel-nr, a.mjh-tegel:focus-visible .mjh-tegel-nr { color: #ff5a5a; }

/* Rooster en agenda */
.mj-home main .mjh-rooster, .mj-home main .mjh-agenda { padding: 112px 0; }
.mj-home main .mjh-agenda { padding-top: 112px; }
.mjh-rooster-lijst { columns: 2; column-gap: 64px; }
.mjh-rooster-rij { break-inside: avoid; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--mjh-lijn); color: var(--text); }
.mjh-rooster-dag { font-family: var(--mjh-display); font-size: 1.375rem; text-transform: uppercase; width: 150px; }
.mjh-rooster-tijd { font-weight: 700; width: 130px; }
.mjh-rooster-les { color: var(--muted); flex: 1 1 180px; }
a.mjh-rooster-rij:hover .mjh-rooster-les { color: var(--text); }

/* Proefles */
.mj-home main .mjh-cta { position: relative; overflow: hidden; background: var(--accent); color: #fff; }
.mjh-cta-img { position: absolute; right: 0; top: 0; width: 55%; height: 100%; object-fit: cover; object-position: center 15%; mix-blend-mode: multiply; opacity: 0.85; }
.mjh-cta-inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 104px; padding-bottom: 104px; }
.mj-home main .mjh-cta h2 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.95; max-width: 760px; }
.mjh-cta p { font-size: 1.2rem; max-width: 480px; }

/* Reviews */
.mj-home main .mjh-reviews { padding: 112px 0; }
.mjh-score { display: flex; align-items: baseline; gap: 12px; }
.mjh-score-nr { font-family: var(--mjh-display); font-size: 3.5rem; line-height: 1; }
.mjh-score-sub { font-size: 0.875rem; color: var(--muted); }
.mjh-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.mjh-review { padding: 32px; border: 1px solid var(--mjh-lijn); display: flex; flex-direction: column; gap: 16px; color: var(--text); transition: border-color 0.15s; }
a.mjh-review:hover { border-color: var(--accent); }
.mjh-sterren { color: var(--mjh-lijn); font-size: 1rem; letter-spacing: 0.1em; }
.mjh-sterren .aan { color: #f5a623; }
.mjh-review-tekst { font-size: 1.06rem; }
.mjh-review-naam { margin-top: auto; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mjh-review-actie { margin-top: 40px; }

/* Tips */
.mj-home main .mjh-tips { padding: 112px 0; }
.mjh-tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.mjh-tip { background: #fff; color: var(--mjh-licht-tekst); padding: 32px; border-top: 6px solid var(--accent); display: flex; flex-direction: column; gap: 14px; transition: transform 0.15s; }
.mjh-tip:hover { transform: translateY(-4px); }
.mjh-tip-soort { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #a30000; }
.mjh-tip h3 { font-family: var(--mjh-display); font-weight: 400; font-size: 1.75rem; line-height: 1.05; text-transform: uppercase; }
.mjh-tip p { font-size: 0.94rem; color: var(--mjh-licht-muted); }

/* Contact */
.mj-home main .mjh-contact { padding: 112px 0; }
.mjh-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: end; }
.mjh-contact-grid > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mjh-contact-grid .mjh-label { margin-bottom: 0; }
.mjh-contact-grid p { font-size: 1.125rem; color: var(--muted); max-width: 520px; }
.mjh-contact-details { border-top: 1px solid var(--mjh-lijn); }
.mjh-contact-rij { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--mjh-lijn); }
.mjh-contact-soort { width: 110px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.mjh-contact-rij a { color: var(--text); }
.mjh-contact-rij a:hover { color: var(--accent); }

.mj-home .site-footer { margin-top: 0; }

@media (max-width: 900px) {
  .mjh-wrap { padding: 0 20px; }
  .mjh-hero { min-height: 0; background: #0a0a0b; }
  .mjh-hero-bg img { object-position: 12% 10%; opacity: 0.75; }
  .mjh-hero-bg::after { background: linear-gradient(180deg, rgba(10,10,11,0.2) 0%, rgba(10,10,11,0.95) 70%); }
  .mjh-kanji { right: 16px; top: 24px; font-size: 1.9rem; }
  .mjh-hero-inner { justify-content: flex-start; padding-top: 300px; padding-bottom: 40px; }
  .mjh-hero-text { padding-right: 0; gap: 18px; }
  .mjh-actions .mjh-btn { flex: 1 1 100%; }
  .mjh-stats-row { font-size: 1.05rem; padding-top: 16px; padding-bottom: 16px; }
  .mj-home main .mjh-about, .mj-home main .mjh-lessen, .mj-home main .mjh-rooster, .mj-home main .mjh-agenda,
  .mj-home main .mjh-reviews, .mj-home main .mjh-tips, .mj-home main .mjh-contact { padding: 72px 0; }
  .mjh-about-grid, .mjh-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mjh-about-img img { height: 360px; }
  .mjh-about-img::after { left: -8px; bottom: -8px; width: 80px; height: 80px; }
  .mjh-kop { margin-bottom: 32px; }
  .mjh-tegel { min-height: 0; }
  .mjh-rooster-lijst { columns: 1; }
  .mjh-rooster-dag { width: 110px; font-size: 1.2rem; }
  .mjh-cta-img { width: 100%; opacity: 0.35; }
  .mjh-cta-inner { padding-top: 72px; padding-bottom: 72px; }
}
