:root {
  --yamato-red: #d71920;
  --yamato-red-dark: #a80f15;
  --yamato-gold: #ffab19;
  --yamato-black: #0b0b0b;
  --yamato-dark: #191919;
  --yamato-light: #f4f4f4;
  --yamato-white: #fff;
  --yamato-text: #252525;
  --yamato-muted: #676767;
  --yamato-radius: 1rem;
  --yamato-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

html { scroll-behavior: smooth; }
body { color: var(--yamato-text); background: var(--yamato-white); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: var(--yamato-red-dark); text-underline-offset: .2em; }
a:hover { color: var(--yamato-red); }
img { max-width: 100%; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 2000; padding: .75rem 1rem; background: #fff; color: #000; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.topbar { padding: .45rem 0; background: #262626; color: #fff; font-size: .9rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yamato-gold); }

.site-header { background: var(--yamato-black); box-shadow: 0 3px 12px rgba(0,0,0,.28); }
.navbar { min-height: 82px; }
.navbar-brand img { width: auto; height: 64px; }
.navbar-nav { gap: .1rem; }
.navbar-dark .navbar-nav .nav-link { padding: .8rem .7rem; color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: var(--yamato-gold); }
.dropdown-menu { padding: .5rem; border: 0; border-radius: .75rem; box-shadow: var(--yamato-shadow); }
.dropdown-item { border-radius: .45rem; }
.dropdown-item:active { background: var(--yamato-red); }

.btn { border-radius: .55rem; font-weight: 700; }
.btn-yamato { border-color: var(--yamato-gold); background: var(--yamato-gold); color: #111; }
.btn-yamato:hover, .btn-yamato:focus { border-color: #e89a00; background: #e89a00; color: #000; }

.hero { position: relative; min-height: 650px; background: url('../img/dojo/IMGL8809.jpg') center 45% / cover no-repeat; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.48), rgba(0,0,0,.65)); }
.hero-content { position: relative; z-index: 1; max-width: 900px; padding-top: 4rem; padding-bottom: 4rem; color: #fff; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 5.7rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; text-transform: uppercase; }
.hero-slogan { margin: 1rem auto 0; color: #fff; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-slogan span { color: var(--yamato-gold); }
.hero-intro { max-width: 760px; margin: .75rem auto 0; font-size: clamp(1.1rem, 2vw, 1.45rem); }
.eyebrow { margin-bottom: .65rem; color: var(--yamato-gold); font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.section-padding { padding: 2rem 0; }
.section-heading { max-width: 760px; margin: 0 auto 2.75rem; }
.section-heading h2, section h2 { font-weight: 850; letter-spacing: -.02em; }

.quick-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 165px; padding: 1.4rem; border: 1px solid #e5e5e5; border-radius: var(--yamato-radius); background: #fff; box-shadow: 0 8px 23px rgba(0,0,0,.06); color: #222; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.quick-card:hover { transform: translateY(-5px); border-color: var(--yamato-gold); box-shadow: var(--yamato-shadow); color: #111; }
.quick-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: .85rem; border-radius: 50%; background: var(--yamato-light); font-size: 2rem; }

.content-card, .cta-card, .audio-card, .price-card { border-radius: var(--yamato-radius); box-shadow: var(--yamato-shadow); }
.content-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #ebebeb; background: #fff; }
.schedule-table thead th { border-bottom: 2px solid var(--yamato-red); color: #222; }
.schedule-table td { padding-top: 1rem; padding-bottom: 1rem; }
.cta-card { overflow: hidden; background: var(--yamato-dark); color: #fff; }
.cta-card img { width: 100%; height: 280px; object-fit: cover; }
.cta-card-body { padding: 2rem; }

.price-card { height: 100%; padding: 2rem; background: #fff; color: #222; }
.price-card h3 { margin-bottom: 1.5rem; font-size: 1.25rem; font-weight: 800; }
.price-list { margin: 0; padding: 0; list-style: none; }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid #e5e5e5; }
.price-list strong { white-space: nowrap; color: var(--yamato-red-dark); }

.quality-logo { width: min(320px, 80%); height: auto; }
.audio-card { height: 100%; padding: 1.8rem; border: 1px solid #e5e5e5; background: #fff; }
.audio-card audio { width: 100%; margin-top: 1rem; }

.site-footer { padding: 4.5rem 0 1.5rem; background: var(--yamato-black); color: #cfcfcf; }
.footer-logo { width: 180px; height: auto; margin-bottom: 1.25rem; }
.footer-heading { margin-bottom: 1rem; color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a { color: var(--yamato-gold); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .45rem; }
.site-footer hr { margin: 2.5rem 0 1.25rem; border-color: rgba(255,255,255,.18); }

.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1020; display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--yamato-red); color: #fff; box-shadow: var(--yamato-shadow); font-size: 1.35rem; font-weight: 900; }
.back-to-top.is-visible { display: block; }
.back-to-top:hover { background: var(--yamato-red-dark); }

@media (min-width: 1200px) {
  .navbar .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
}

@media (max-width: 1199.98px) {
  .navbar-collapse { padding: 1rem 0 1.3rem; }
  .navbar-nav { align-items: stretch !important; }
  .navbar-nav .btn { margin-top: .5rem; text-align: center; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 4rem 0; }
  .hero { min-height: 560px; }
  .hero-content { padding-top: 3rem; padding-bottom: 3rem; }
  .navbar-brand img { height: 54px; }
  .price-list li { flex-direction: column; gap: .15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.team-card { overflow: hidden; border: 1px solid #e5e5e5; border-radius: var(--yamato-radius); background: #fff; box-shadow: 0 8px 23px rgba(0,0,0,.07); transition: transform .2s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--yamato-shadow); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.team-card-body { padding: 1.25rem; }
.team-card h3 { margin-bottom: .35rem; font-size: 1.2rem; font-weight: 850; }
.team-card p { margin: 0; color: var(--yamato-muted); font-size: .94rem; }

/* Downloads */
.downloads-section { background: linear-gradient(135deg, #0b0b0b 0%, #242424 100%); }
.download-card { display: flex; flex-direction: column; height: 100%; min-height: 305px; padding: 2rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--yamato-radius); background: rgba(255,255,255,.07); color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.download-card:hover { transform: translateY(-5px); border-color: var(--yamato-gold); background: rgba(255,255,255,.12); color: #fff; }
.download-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--yamato-gold); color: #111; font-size: 1.7rem; }
.download-card h3 { font-size: 1.25rem; font-weight: 850; }
.download-card p { color: #d6d6d6; }
.download-link { margin-top: auto; color: var(--yamato-gold); font-weight: 800; }

@media (max-width: 1199.98px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { background-position: 58% center; }
}
@media (max-width: 479.98px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { max-width: 340px; margin-inline: auto; }
}


/* Beginnen met karate */
.page-hero { position: relative; min-height: 470px; overflow: hidden; background-position: center; background-size: cover; }
.beginners-hero { background-image: url('../img/homepage/foto-beginnersles.png'); }
.page-hero-content { position: relative; z-index: 1; max-width: 880px; padding: 5rem 1rem; color: #fff; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; text-transform: uppercase; }
.page-hero-intro { max-width: 720px; margin: 1rem auto 0; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.beginner-note { margin-top: 1.5rem; border: 0; border-left: 5px solid var(--yamato-gold); background: #fff8e7; color: #292929; }
.learning-card { position: relative; padding: 2rem; border: 1px solid #e7e7e7; border-radius: var(--yamato-radius); background: #fff; box-shadow: 0 8px 23px rgba(0,0,0,.06); }
.learning-number { display: block; margin-bottom: 1.2rem; color: var(--yamato-gold); font-size: 2.1rem; font-weight: 900; }
.learning-card h3 { font-size: 1.45rem; font-weight: 850; }
.technique-viewer { max-width: 980px; margin: auto; padding: clamp(1rem,3vw,2rem); border: 1px solid #e3e3e3; border-radius: var(--yamato-radius); background: #fff; box-shadow: var(--yamato-shadow); }
.technique-stage { overflow: hidden; border-radius: .75rem; background: #050505; }
.technique-stage video { display: block; width: 100%; max-height: 570px; background: #000; object-fit: contain; }
.technique-caption { padding: .9rem 1rem; background: #151515; color: #fff; font-weight: 800; text-align: center; }
.technique-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.35rem; }
.technique-button { padding: .65rem .85rem; border: 1px solid #d5d5d5; border-radius: 999px; background: #fff; color: #222; font-weight: 700; }
.technique-button:hover, .technique-button.active { border-color: var(--yamato-gold); background: var(--yamato-gold); color: #111; }
.exam-section { background: linear-gradient(135deg,#0b0b0b,#272727); }
.technique-viewer-dark { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
.technique-viewer-dark .technique-button { border-color: rgba(255,255,255,.25); background: #222; color: #fff; }
.technique-viewer-dark .technique-button:hover, .technique-viewer-dark .technique-button.active { background: var(--yamato-gold); color: #111; }
.media-card { height: 100%; overflow: hidden; border: 1px solid #e5e5e5; border-radius: var(--yamato-radius); background: #fff; box-shadow: 0 8px 23px rgba(0,0,0,.07); }
.media-card-video { aspect-ratio: 16/9; background: #000; }
.media-card-video video { width: 100%; height: 100%; object-fit: contain; }
.media-card-body { padding: 1.5rem; }
.media-card-body h3 { font-size: 1.25rem; font-weight: 850; }
.media-label { color: var(--yamato-red-dark); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.beginner-cta { background: linear-gradient(rgba(0,0,0,.76),rgba(0,0,0,.76)), url('../img/dojo/IMGL8809.jpg') center/cover; color: #fff; }
.beginner-cta h2 { color: #fff; }
@media (max-width:767.98px) {
  .page-hero { min-height: 410px; }
  .beginners-hero { background-position: 58% center; }
  .technique-button { flex: 1 1 calc(50% - .65rem); }
}
@media (max-width:479.98px) {
  .technique-button { flex-basis: 100%; }
}
